joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b0f8
Capabilities:
Enumerate processes

Disassembly:
push 0x27c
mov eax, 0x59a0e3
call fcn.0055d8e8
mov edi, ecx
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov eax, dword [edi]
mov edx, 0x5e264d
mov dword [edi + 4], eax
call fcn.004057ed
test al, al
jne 0x42b1df
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00417d2a
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x288], 0x22c
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42b1cc
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x28]
call fcn.00417cc3
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00417d2a
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.004076e9
test al, al
je 0x42b19c
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
call fcn.0040a701
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
push 1
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0040412f
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040412f
test esi, esi
jne 0x42b15e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040412f
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040412f
call fcn.0055d897
ret

Function at 0x42b2b3
Capabilities:
Terminate process

Disassembly:
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x42b39e
Capabilities:
Create process on windows

Disassembly:
push 0x46c
mov eax, 0x59a150
call fcn.0055d8e8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.00403e6e
call fcn.0041e388
add esp, 0x18
test al, al
je 0x42b486
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp + 8]
call fcn.00417c71
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e6e
lea ecx, [ebp - 0x438]
call fcn.0041ed6f
add esp, 0x18
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
lea edx, [ebp - 0x420]
cmovae ecx, dword [ebp - 0x438]
call fcn.00417c71
lea eax, [ebp - 0x218]
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
push 1
lea ecx, [ebp - 0x438]
call fcn.0040412f
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0040412f
call fcn.0055d897
ret
Function at 0x42b497
Capabilities:
Create process on windows

Disassembly:
push 0xc6c
mov eax, 0x59a188
call fcn.0055d8e8
sub esp, 0x18
lea eax, [ebp + 8]
xor esi, esi
mov ecx, esp
inc esi
mov dword [ebp - 4], esi
push eax
call fcn.00403e6e
call fcn.0041e388
add esp, 0x18
xor edi, edi
test al, al
je 0x42b59d
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp + 8]
call fcn.00417c71
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
lea edx, [ebp - 0xc20]
cmovae ecx, dword [ebp + 0x20]
call fcn.00417c71
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00403e6e
lea ecx, [ebp - 0xc38]
call fcn.0041ed6f
add esp, 0x18
lea ecx, [ebp - 0xc38]
cmp dword [ebp - 0xc24], 0x10
lea edx, [ebp - 0x420]
cmovae ecx, dword [ebp - 0xc38]
call fcn.00417c71
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc74], 0x3c
mov dword [ebp - 0xc64], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc60], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc74]
push eax
mov dword [ebp - 0xc70], edi
mov dword [ebp - 0xc6c], edi
mov dword [ebp - 0xc68], edi
mov dword [ebp - 0xc58], 5
mov dword [ebp - 0xc54], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push edi
push esi
lea ecx, [ebp - 0xc38]
call fcn.0040412f
push edi
push esi
lea ecx, [ebp + 8]
call fcn.0040412f
push edi
push esi
lea ecx, [ebp + 0x20]
call fcn.0040412f
call fcn.0055d897
ret
Function at 0x42d8ab
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x610490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x218], eax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x42d8e5
xor eax, eax
jmp 0x42da54
lea eax, [ebp - 0x210]
push eax
push 0x5deda4
push 1
xor eax, eax
push eax
push 0x5df094
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42d8de
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5df0f4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42d92e
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42d8de
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test esi, esi
jne 0x42d942
push dword [0x61d01c]
jmp 0x42d943
push esi
push eax
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x42d95e
mov eax, dword [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
xor edx, edx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x42d986
mov eax, dword [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test edi, edi
je 0x42d9a2
push edi
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0055cfa0
add esp, 0x10
jmp 0x42da1e
push 0x5c
test esi, esi
je 0x42d9ab
push esi
jmp 0x42d9b1
push dword [0x61d01c]
call fcn.0055cd2c
pop ecx
pop ecx
test eax, eax
jne 0x42d9cd
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42d920
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0055cfa0
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42d9ee
push 0x6c
sub ecx, edx
sar ecx, 1
pop eax
push 0x6e
mov word [ebp + ecx*2 - 0x212], ax
pop eax
push 0x6b
mov word [ebp + ecx*2 - 0x210], ax
pop eax
mov word [ebp + ecx*2 - 0x20e], ax
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005599c5
mov esp, ebp
pop ebp
ret
Function at 0x42db74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x610490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x230], ebx
mov ecx, ebx
movzx eax, word [ecx + 0x5e65b8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x42db95
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x42dbcd
push 0x5e264d
mov ecx, esi
call fcn.00403e94
jmp 0x42dc42
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42dbfd
mov ecx, ebx
movzx eax, word [ecx + 0x5e65b8]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x42dbe6
push dword [ebp - 0x22c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x210]
lea ecx, [ebp - 0x228]
call fcn.00417cc3
lea eax, [ebp - 0x228]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.00403f05
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.0040412f
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005599c5
mov esp, ebp
pop ebp
ret

Function at 0x42e164
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jl method.AgentAppLink.virtual_0
ret
cmp byte [ecx + 0x61], 0
jne 0x42e179
cmp byte [ecx + 0x60], 0
je 0x42e179
mov byte [ecx + 0x60], 0
jmp fcn.0042e17a
ret
Function at 0x42ebb7
Capabilities:
Connect socket

Disassembly:
push 0xdc
mov eax, 0x59a80b
call fcn.0055d8e8
mov esi, ecx
mov ebx, dword [ebp + 8]
and dword [ebp - 0x6c], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00407888
mov byte [ebp - 4], 1
cmp byte [esi + 0x61], 0
je 0x42ebee
mov byte [ebp - 0x68], 0
jmp 0x42ecac
lea ecx, [esi + 0x34]
lea eax, [ebp + 0x10]
cmp ecx, eax
je 0x42ec02
push 0xffffffffffffffff
push 0
push eax
call fcn.0040409b
mov ecx, dword [ebp + 0xc]
lea edi, [ebp - 0x1e]
xor eax, eax
mov word [esi + 0x4c], cx
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
push ecx
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x24], 0x10
mov word [ebp - 0x1e], ax
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
mov ecx, esi
lea eax, [ebp - 0xe8]
push eax
call fcn.0042e9e7
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004086ea
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.00405438
cmp byte [ebp - 0x68], 0
je 0x42ed16
lea eax, [ebp - 0xe8]
mov ecx, esi
push eax
call fcn.0042eb4e
lea ecx, [ebp - 0xe8]
call fcn.00405438
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x42ecc4
mov byte [ebp - 0x68], 1
mov esi, 0x5e264d
push esi
call fcn.004035ea
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.004042b9
jmp 0x42ed16
mov edx, eax
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x9c]
call fcn.00404abc
push eax
mov edx, str.connect_err._lastErr:
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00407163
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.0040412f
push 0
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0040412f
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.0040d01d
lea ecx, [ebp - 0x68]
call fcn.00405438
push 0
push 1
lea ecx, [ebp + 0x10]
call fcn.0040412f
mov eax, ebx
call fcn.0055d897
ret 0x20
Function at 0x42fde3
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push 0xa8
mov eax, 0x59a880
call fcn.0055d8e8
mov edi, edx
mov esi, ecx
push dword [ebp + 8]
xor ebx, ebx
push ebx
push edi
call fcn.0055dd80
add esp, 0xc
lea ecx, [ebp - 0x2c]
push esi
call fcn.00403e94
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], ebx
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 0xc
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x42fe4f
or esi, 0xffffffff
jmp 0x42ffb2
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fe5d
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x2c]
push ebx
sub ecx, edx
cmp dword [ebp - 0x18], 0x10
push ebx
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push ebx
push 0xfde9
call esi
test eax, eax
jg 0x42fe8f
push 0xfffffffffffffffe
pop esi
jmp 0x42ffb2
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push ebx
add eax, 0xa
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
call fcn.004309da
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42febe
push dword [ebp - 0x38]
sub edx, ecx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push edx
push eax
push ebx
push 0xfde9
call esi
test eax, eax
jg 0x42fef6
push 0xfffffffffffffffd
jmp 0x42ff88
push 0x40
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb4], ebx
xorps xmm0, xmm0
push ebx
push eax
movdqu xmmword [ebp - 0x6c], xmm0
call fcn.0055dd80
add esp, 0xc
mov dword [ebp - 0x88], 0x101
lea ecx, [ebp - 0x6c]
xor eax, eax
cmp dword [ebp - 0x34], 8
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x74], eax
push ecx
push ebx
push ebx
push ebx
push 1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42ff5f
push 0xfffffffffffffffc
jmp 0x42ff88
push 0xfa0
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
push eax
push dword [ebp + 8]
push edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42ff8b
push 0xfffffffffffffffb
pop esi
jmp 0x42ffa7
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x68]
call esi
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00430a08
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040412f
mov eax, esi
call fcn.0055d897
ret
Function at 0x4316ad
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x4316c2
cmp byte [ecx + 0x2c], 0
je 0x4316c2
mov byte [ecx + 0x2c], 0
jmp fcn.004316c3
ret
Function at 0x4316c3
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59aaef
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x610490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x610490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x43190d
cmp byte [esi + 0x2c], 0
jne 0x43190d
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x4c], 0x10
mov word [esp + 0x52], ax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esi + 0x7c]
push dword [esi + 0x80]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
push dword [esp + 0x54]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x52]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x18], eax
test edi, edi
js 0x431790
push eax
push ebx
push edi
push dword [esi + 0x80]
push esi
call dword [esi + 4]
add esp, 0x14
jmp 0x431903
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x431844
lea ecx, [esp + 0x60]
call fcn.00404ee2
and dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
xor ebx, ebx
mov byte [esp + 0x68], 0
mov edx, edi
inc ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
call fcn.00404abc
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], bl
lea ecx, [esp + 0x20]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00407163
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.0040412f
push 0
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 0
call fcn.0040412f
cmp byte [esi + 0x2d], 0
jne 0x43183b
cmp dword [esi + 8], 0
je 0x43183b
push dword [esp + 0x18]
lea eax, [esp + 0x64]
push dword [esp + 0x14]
sub esp, 0x24
mov ecx, esp
push eax
call fcn.0040540c
push esi
call dword [esi + 8]
add esp, 0x30
lea ecx, [esp + 0x6c]
jmp 0x4318fb
cmp edi, 0x2733
je 0x431903
lea ecx, [esp + 0x84]
call fcn.00404ee2
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x88], edi
inc ebx
mov edx, edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x8c], bl
call fcn.00404abc
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00407163
push 0
push ebx
lea ecx, [esp + 0x3c]
call fcn.0040412f
push 0
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0xc0], 2
call fcn.0040412f
cmp byte [esi + 0x2d], 0
jne 0x4318f4
cmp dword [esi + 0xc], 0
je 0x4318f4
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.0040540c
push esi
call dword [esi + 0xc]
add esp, 0x28
lea ecx, [esp + 0x90]
push 0
push ebx
call fcn.0040412f
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005599c5
mov esp, ebp
pop ebp
ret
Function at 0x431931
Capabilities:
Send data
Send data on socket

Disassembly:
push 0x74
mov eax, 0x59ab2d
call fcn.0055d8e8
mov esi, ecx
cmp byte [esi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
jne 0x431a7a
lea eax, [esi + 0x4c]
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 2
pop eax
push dword [ebp + 0x14]
mov word [ebp - 0x24], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x22], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x431a71
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x4319ed
xor ebx, ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x4c]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x431a71
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x4319ed
inc ebx
cmp ebx, 0xa
jl 0x4319ab
jmp 0x431a71
lea ecx, [ebp - 0x48]
call fcn.00404ee2
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
mov edx, edi
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x40], 1
call fcn.00404abc
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00404c2b
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00407163
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040412f
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.0040412f
cmp byte [esi + 0x2d], bl
jne 0x431a66
cmp dword [esi + 0xc], ebx
je 0x431a66
sub esp, 0x24
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0040540c
push esi
call dword [esi + 0xc]
add esp, 0x28
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040412f
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0055d897
ret 0x10

Function at 0x441052
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x441097
call fcn.0044ba6d
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x441097
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4410b3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044bc06
mov ebx, eax
test edi, edi
je 0x4410b1
test esi, esi
je 0x4410b1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447417
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0044ba6d
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44744e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0044746f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c2288
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0044aec5
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c22c4
call fcn.004c24a7
mov dword [esi + 0xc], 1
jmp 0x4c22c9
call fcn.004c24a7
cmp dword [esi], 0
je 0x4c2312
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4c22ec
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0044110a
jmp 0x4c22fd
push 0xff
mov ecx, esi
call fcn.00409600
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043eff2
jmp 0x4c2336
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c2336
push dword [esi]
push dword [ebp - 4]
call fcn.0044e5d9
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4c23fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004c24a7
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c2444
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044110a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0043eff2
jmp 0x4c244f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0044e5d9
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x524ae3
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00555729
call fcn.0044bac1
cmp dword [eax + 0x14], 0
jne 0x524afe
mov ecx, esi
pop esi
jmp fcn.00523ee9
pop esi
ret

Function at 0x5312ac
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00404abb
call fcn.0044bac1
cmp dword [eax + 0x14], 0
jne 0x5312c7
mov ecx, esi
pop esi
jmp fcn.00530b94
pop esi
ret