joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddff0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0xc], 0
jne 0x4de01a
mov dword [ebp + 0xc], str.0.0.0.0
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
cmp edx, 0x30
jl 0x4de084
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x39
jg 0x4de084
push str.0123456789.
mov edx, dword [ebp + 0xc]
push edx
call fcn.00529560
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00523ac0
add esp, 4
cmp esi, eax
jne 0x4de084
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ecx
jmp 0x4de0db
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4de0db
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4de0bc
mov dword [ebp - 0x4c], 0
jmp 0x4de0d3
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
jmp 0x4de19a
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
cmp dword [ecx + edx*4], 0
je 0x4de198
push 0x38
push 0
push 0x38
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00497ff0
push eax
call fcn.00523be0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x2c], ecx
mov ax, word [ebp + 0x14]
push eax
push 2
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004ddb30
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4de16f
cmp dword [ebp - 0x44], 0
je 0x4de165
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0x1c]
push eax
call fcn.004991e0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
jmp 0x4de184
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x4de0e9
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4de1bc]
call fcn.0052356f
pop eax
pop edx
pop edi
pop esi
add esp, 0x4c
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret
Function at 0x4df6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push 0x1c
mov eax, dword [ebp + 0x18]
push eax
call fcn.00497ff0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x4df723
mov eax, 0xc
jmp 0x4df80c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 4], 0
push 0
push 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00498440
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4df773
mov eax, dword [ebp - 4]
jmp 0x4df80c
cmp dword [ebp + 0xc], 0
je 0x4df784
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
jmp 0x4df78b
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0x4df850
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call fcn.005298f4
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4df7db
call fcn.0052695a
cmp dword [eax], 0
jne 0x4df7c6
mov dword [ebp - 0x1c], 0
jmp 0x4df7d6
call fcn.0052695a
mov edx, dword [eax]
add edx, 0xafc80
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
jmp 0x4df80c
cmp dword [ebp + 0xc], 0
je 0x4df7ff
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x4df7ff
mov esi, esp
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0052354c
jmp 0x4df80a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4df830]
call fcn.0052356f
pop eax
pop edx
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4e2370
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
push edi
lea edi, [ebp - 0x140]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x5a2184]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x130], 0x100
push 0x2f
mov eax, dword [ebp + 0x10]
push eax
call fcn.00525b20
add esp, 8
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4e23f3
mov ecx, dword [ebp - 0x13c]
sub ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00499250
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x13c]
add ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x4e2445
push 0x5c
mov edx, dword [ebp + 0x10]
push edx
call fcn.00525b20
add esp, 8
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4e243b
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00499250
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x13c]
add eax, 1
mov dword [ebp + 0x10], eax
jmp 0x4e2445
mov dword [ebp - 0x11c], 0
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x124], 0
je 0x4e24ec
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00497ff0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x130], 0x100
mov esi, esp
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x124], 0
je 0x4e24fe
cmp dword [ebp - 0x138], 0
jne 0x4e253f
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4e251d
mov dword [ebp - 0x140], 0
jmp 0x4e2537
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
jmp 0x4e254a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4e257c]
call fcn.0052356f
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00522672
add esp, 0x140
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f4690
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x8004667e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp esi, esp
call fcn.0052354c
cmp eax, 0xffffffff
jne 0x4f4708
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4f46ec
mov dword [ebp - 0x10], 0
jmp 0x4f4703
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
jmp 0x4f470a
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4f472c]
call fcn.0052356f
pop eax
pop edx
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret

Function at 0x4f4750
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x8004667e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp esi, esp
call fcn.0052354c
cmp eax, 0xffffffff
jne 0x4f47c8
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4f47ac
mov dword [ebp - 0x10], 0
jmp 0x4f47c3
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
jmp 0x4f47ca
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4f47ec]
call fcn.0052356f
pop eax
pop edx
pop esi
add esp, 0x10
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret
Function at 0x4f5220
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov esi, esp
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4f52c2
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4f5297
mov dword [ebp - 0x28], 0
jmp 0x4f52ae
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x18]
jmp 0x4f52cc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4f52f0]
call fcn.0052356f
pop eax
pop edx
pop edi
pop esi
add esp, 0x28
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f56d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x28
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4f5761
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4f5745
mov dword [ebp - 8], 0
jmp 0x4f575c
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4f576b
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
xor eax, eax
pop esi
add esp, 8
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4f5780
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x14
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp esi, esp
call fcn.0052354c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4f581b
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
test eax, eax
jne 0x4f57ff
mov dword [ebp - 8], 0
jmp 0x4f5816
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.0052354c
add eax, 0xafc80
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4f5867
mov esi, esp
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x2a]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp esi, esp
call fcn.0052354c
push eax
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004ddb30
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x4f5865
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 1
jne 0x4f5865
mov eax, 0x1117e
jmp 0x4f5867
xor eax, eax
pop esi
add esp, 8
cmp ebp, esp
call fcn.0052354c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5155e9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x515622
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00511bd6
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00416b10
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x517017
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x51705a
call fcn.0051cc18
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x51705a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x517075
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00516bd1
test ebx, ebx
mov esi, eax
je 0x517073
test edi, edi
je 0x517073
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x51ce35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
mov dword [esp + 4], ecx
call fcn.0051cc18
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x51ce4b
xor eax, eax
jmp 0x51ce95
push ebx
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x51ce94
push ebp
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
push eax
push ebp
call fcn.0051cdd7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop ebp
pop ebx
pop esi
pop ecx
ret 4
Function at 0x522672
Capabilities:
Encode data using xor

Disassembly:
add al, 0x28
mov ah, 0x83
mov esi, edi
imul ecx, edx, 0xf1db3d1c
mov dh, 0xa7
jmp 0x522687
ja 0x52268b
mov bl, 0x2c
cmp eax, ebx
test edx, ebx
test cl, bh
imul ebp, esi, 0x6cd380d3
test dl, 0x62
inc eax
sub ah, cl
call 0x522742
xor bl, 0x46
xchg bh, cl
mov edi, 0x61c00bf6
mov edx, 0x8dffcb08
test bh, 0x6e
dec ebp
xchg edi, edi
mov edx, 0x4b32
imul esi, edx, 0x9f29880
xor edx, 0x6bdb
lea ebp, [0xf9cd4591]
or cl, ah
sub edx, 0x9b9
or ebp, ebp
xchg edx, eax
sub eax, 0x83d
inc cl
movsx esi, al
test dh, ah
inc bl
mov ebx, 0x12db2721
mov edx, 0x8184d9f8
mov edx, 0xbdeb9777
mov ch, al
lea edx, [0xb1477519]
push 0xfffffc3c
test edi, ebp
inc ebx
pop ebp
test edi, 0xbcbedd7e
cmp edx, edi
xor ebp, 0x34e
test eax, edi
mov ch, dh
sbb bh, ah
sub eax, ebp
mov ch, dl
sub eax, 0x8f
mov ebx, edi
mov bl, al
sub ebx, ebx
test ah, dl
imul ebx, ecx
inc bh
cmp eax, 0x265
ja 0x5226e2
lea edi, [0x8be71055]
test ch, 0xf
mov bh, bh
test ch, cl
lea ecx, [0x3251f756]
xor eax, 0x421
mov ebx, 0xee397d5b
pop edx
test edx, ebp
je 0x52276c
mov ch, ch
sub al, 0x69
imul eax, esi
push 0x8eac64
sbb al, 0xfc
lea eax, [0xc1ca8081]
adc al, 0x21
jno 0x522787
mov bh, 0x1e
add eax, 0xd14acf6c
xchg ah, ch
dec eax
add ecx, 0x9e4c7cdd
lea ebx, [0x6f5b0a60]
and esi, 0
invalid
invalid
Function at 0x539b36
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0052d4d9
xor ebx, ebx
cmp dword [0x5a85a4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x539c0b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x539b76
xor eax, eax
jmp 0x539ccf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x539b6f
push eax
call fcn.0052d476
mov dword [esp], 0x56e01c
push edi
mov dword [0x5a85a4], eax
call esi
push eax
call fcn.0052d476
mov dword [esp], 0x56e008
push edi
mov dword [0x5a85a8], eax
call esi
push eax
call fcn.0052d476
mov dword [0x5a85ac], eax
lea eax, [ebp - 8]
push eax
call fcn.00527441
test eax, eax
pop ecx
pop ecx
je 0x539bd9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00523364
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x539c0b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0052d476
cmp eax, ebx
pop ecx
mov dword [0x5a85b4], eax
je 0x539c0b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0052d476
pop ecx
mov dword [0x5a85b0], eax
mov eax, dword [0x5a85b0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x539c84
cmp dword [0x5a85b4], esi
je 0x539c84
push eax
call fcn.0052d4e2
pop ecx
call eax
cmp eax, ebx
je 0x539c51
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x5a85b4]
call fcn.0052d4e2
pop ecx
call eax
test eax, eax
je 0x539c51
test byte [ebp - 0x18], 1
jne 0x539c84
lea eax, [ebp - 0xc]
push eax
call fcn.00527478
test eax, eax
pop ecx
je 0x539c6c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00523364
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x539c7b
or dword [ebp + 0x10], 0x200000
jmp 0x539cb5
or dword [ebp + 0x10], 0x40000
jmp 0x539cb5
mov eax, dword [0x5a85a8]
cmp eax, esi
je 0x539cb5
push eax
call fcn.0052d4e2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x539cb5
mov eax, dword [0x5a85ac]
cmp eax, esi
je 0x539cb5
push dword [ebp - 4]
push eax
call fcn.0052d4e2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x5a85a4]
call fcn.0052d4e2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x542f0f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5a2184]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00542ea4
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00523be0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x542f5e
cmp dword [ebp - 0x1c], 5
jb 0x542f76
jmp 0x542f72
cmp dword [ebp - 0x10], 1
jne 0x542f76
cmp dword [ebp - 0x1c], 4
ja 0x542f72
jne 0x542f76
cmp dword [ebp - 0x18], 0
jbe 0x542f76
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x56f8bc
call fcn.00542d78
test eax, eax
jge 0x542f97
mov byte [0x5a8a08], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00522672
add ebp, 0x78
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
mov ecx, 0x2c4326c7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x41890af8
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40102b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
and dword [ebp - 4], 0
xor edx, edx
push ebx
push esi
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x40108f
lea esi, [ecx + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [edi + 0x3c]
lea ebx, [eax + ecx]
cmp dword [ebp + 0xc], ebx
jb 0x401097
mov ebx, dword [esi - 8]
lea ebx, [ebx + edx - 1]
dec edx
not edx
and ebx, edx
cmp ecx, ebx
ja 0x401097
add eax, dword [ebp + 8]
push ecx
push eax
mov eax, dword [esi - 4]
add eax, dword [edi + 4]
push eax
call fcn.0042a1e0
mov eax, dword [edi]
movzx eax, word [eax + 6]
add esp, 0xc
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jl 0x40104a
xor eax, eax
pop esi
pop ebx
leave
ret 8
mov eax, 0xc1
jmp 0x401091