joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e810
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x64c], ebx
mov esi, ecx
mov dword [ebp - 0x650], esi
push 0
push 0x5fcef3
lea ecx, [ebp - 0x648]
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x634], 0xf
mov dword [ebp - 0x638], 0
mov byte [ebp - 0x648], 0
call fcn.00404c00
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x220], ax
test ebx, ebx
je 0x43e9f0
lea eax, [ebp - 0x220]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x43e9f0
mov eax, dword [0x5fe98c]
lea edi, [ebp - 0x220]
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov ax, word [0x5fe990]
mov word [ebp - 0x14], ax
mov ax, word [edi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x428]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x43e9d2
lea esi, [ebp - 0x428]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43e900
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x43e9d2
push esi
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x64c]
call fcn.00574200
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x43e9d2
mov eax, dword [ebp - 0x64c]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x630]
push 0x5fe980
push eax
call fcn.0043f8a0
add esp, 0x10
lea edx, [ebp - 0x630]
lea ecx, [ebp - 0x66c]
call fcn.004218d0
mov esi, eax
lea eax, [ebp - 0x648]
cmp eax, esi
je 0x43e9bb
cmp dword [ebp - 0x634], 0x10
jb 0x43e994
push dword [ebp - 0x648]
call fcn.00448ca8
add esp, 4
push esi
lea ecx, [ebp - 0x648]
mov dword [ebp - 0x634], 0xf
mov dword [ebp - 0x638], 0
mov byte [ebp - 0x648], 0
call fcn.004045c0
cmp dword [ebp - 0x658], 0x10
jb 0x43e9d2
push dword [ebp - 0x66c]
call fcn.00448ca8
add esp, 4
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x43e9d2
test ebx, ebx
jne 0x43e9ea
cmp word [edi], bx
jne 0x43e8d1
mov esi, dword [ebp - 0x650]
lea eax, [ebp - 0x648]
mov ecx, esi
push eax
call fcn.004044f0
cmp dword [ebp - 0x634], 0x10
jb 0x43ea15
push dword [ebp - 0x648]
call fcn.00448ca8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x43ea40
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0e72
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
push 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push 0x5fcefa
mov dword [ebp - 0x228], edi
mov byte [edi], 0
call fcn.00404c00
push esi
push 0
mov dword [ebp - 4], 0
push 0x410
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x43eb9e
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00574ea0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x43eb97
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x240]
call fcn.0043e810
mov esi, eax
cmp edi, esi
je 0x43eb80
cmp dword [edi + 0x14], 0x10
jb 0x43eb2f
push dword [edi]
call fcn.00448ca8
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x43eb59
mov eax, dword [esi + 0x10]
inc eax
je 0x43eb63
push eax
push esi
push edi
call fcn.00570d90
add esp, 0xc
jmp 0x43eb63
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x22c], 0x10
jb 0x43eb97
push dword [ebp - 0x240]
call fcn.00448ca8
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x43eee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5accb0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
lea ecx, [ebp - 0x1c]
call fcn.0043ebc0
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x43efa5
lea esp, [esp]
push dword [ebx + edi*4]
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]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x43ef80
test ebx, ebx
je 0x43efb2
push ebx
call fcn.00448ca8
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x43efc3
push dword [ebp + 8]
call fcn.00448ca8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x43efe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
call fcn.0042bfd0
add esp, 0x18
test al, al
je 0x43f1ba
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f058
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub ecx, edx
push 0
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f080
push edx
sub eax, ebx
lea ecx, [ebp - 0x218]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
lea ecx, [ebp - 0x438]
call fcn.0042d0c0
add esp, 0x18
lea esi, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
cmovae esi, dword [ebp - 0x438]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f0e4
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f103
push edx
sub eax, ebx
lea ecx, [ebp - 0x420]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
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], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x424], 0x10
jb 0x43f19f
push dword [ebp - 0x438]
call fcn.00448ca8
add esp, 4
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x43f1cb
push dword [ebp + 8]
call fcn.00448ca8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x43f1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f38
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x6298dc], 0x10
mov ecx, 0x6298c8
push 0
cmovae ecx, dword [0x6298c8]
mov edx, 0x5fcf51
mov dword [ebp - 0x5c], 0
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x43f253
cmp dword [0x6298d8], eax
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x43f285
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x6298c8
mov byte [esi], 0
call fcn.004047d0
jmp 0x43f3e3
cmp dword [0x638258], 1
jne 0x43f30c
xorps xmm0, xmm0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x68], xmm0
call fcn.0043f5f0
mov edx, 0x5fcf17
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00415d90
test al, al
je 0x43f2f4
mov edx, 0x5fe9a0
lea ecx, [ebp - 0x58]
call fcn.00415d90
test al, al
je 0x43f2f4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov ecx, 0x6298c8
push eax
call fcn.004047d0
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004044f0
lea ecx, [ebp - 0x58]
call fcn.00404560
jmp 0x43f3e3
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
jb 0x43f30c
push dword [ebp - 0x58]
call fcn.00448ca8
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0043e590
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x5fcf52
push 0
cmovae ecx, dword [ebp - 0x28]
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x43f341
cmp dword [ebp - 0x18], eax
setne al
test eax, eax
sete al
test al, al
je 0x43f351
push 2
push 0x5fe9a8
jmp 0x43f373
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43f36c
test al, 0x10
jne 0x43f37b
push 2
push 0x5fe9a4
lea ecx, [ebp - 0x28]
call fcn.00404c00
push 0x5fe9ac
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004098c0
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x6298c8
call fcn.004047d0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004044f0
cmp dword [ebp - 0x2c], 0x10
jb 0x43f3c0
push dword [ebp - 0x40]
call fcn.00448ca8
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x43f3e3
push dword [ebp - 0x28]
call fcn.00448ca8
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x43f400
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], edx
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1bc]
push 0
push 0x5fcf53
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x1bc], 0
call fcn.00404c00
push esi
push 1
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0
call fcn.00424f70
push 2
push 0x5fe9b0
lea ecx, [ebp - 0x1bc]
call fcn.004046e0
cmp dword [ebp - 0x1a8], 0x10
lea esi, [ebp - 0x1bc]
cmovae esi, dword [ebp - 0x1bc]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f4b0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub eax, edx
push 0
push 0
inc eax
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f4d3
push edx
sub eax, ebx
lea ecx, [ebp - 0x1a4]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
cmp dword [ebp - 0x1a8], 0x10
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edi, dword [ebp - 0x1c0]
mov ebx, eax
mov eax, dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x1c8]
push 0
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1d0]
mov dword [eax + 4], 0
push dword [eax + 4]
mov dword [eax], esi
push esi
call fcn.00578f60
mov ecx, dword [ebp - 0x1d0]
push edx
push eax
push 0
push dword [ebp - 0x1cc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
call fcn.00578f60
mov ecx, dword [ebp - 0x1d0]
push 0
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ecx + 4], edx
mov dword [eax], esi
mov esi, eax
mov dword [esi + 4], 0
push dword [esi + 4]
push dword [esi]
call fcn.00578f60
push edx
push eax
push 0
push dword [ebp - 0x1c4]
call fcn.00578f60
cmp dword [ebp - 0x1a8], 0x10
mov dword [esi], eax
mov dword [esi + 4], edx
jb 0x43f5ce
push dword [ebp - 0x1bc]
call fcn.00448ca8
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x443640
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x61], 0
jne 0x443655
cmp byte [ecx + 0x60], 0
je 0x443655
mov byte [ecx + 0x60], 0
jmp fcn.00443660
ret
Function at 0x444320
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b02d9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040a140
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x4e], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x5fcfe5
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404c00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret 4
Function at 0x448640
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x448655
cmp byte [ecx + 0x2c], 0
je 0x448655
mov byte [ecx + 0x2c], 0
jmp fcn.00448660
ret
Function at 0x448660
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b1a16
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x628490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x628490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x4488a5
cmp byte [esi + 0x2c], 0
jne 0x4488a5
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x1c], 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
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x14], eax
test edi, edi
js 0x44872b
push eax
mov eax, dword [esi + 4]
push ebx
push edi
push dword [esi + 0x80]
push esi
call eax
add esp, 0x14
jmp 0x44889b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x4487df
lea ecx, [esp + 0x60]
call fcn.00405f40
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
mov edx, edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 0
call fcn.004057e0
push eax
mov edx, 0x5ff1b0
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
call fcn.00405a70
add esp, 4
lea ecx, [esp + 0x6c]
push eax
call fcn.00409830
lea ecx, [esp + 0x1c]
call fcn.00404560
lea ecx, [esp + 0x34]
mov byte [esp + 0xb8], 0
call fcn.00404560
cmp byte [esi + 0x2d], 0
jne 0x4487d6
cmp dword [esi + 8], 0
je 0x4487d6
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push ebx
sub esp, 0x24
mov ecx, esp
push eax
call fcn.004066e0
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x30
lea ecx, [esp + 0x60]
jmp 0x448896
cmp edi, 0x2733
je 0x44889b
lea ecx, [esp + 0x84]
call fcn.00405f40
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 1
call fcn.004057e0
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.00405a70
add esp, 4
lea ecx, [esp + 0x90]
push eax
call fcn.00409830
lea ecx, [esp + 0x34]
call fcn.00404560
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 2
call fcn.00404560
cmp byte [esi + 0x2d], 0
jne 0x44888f
cmp dword [esi + 0xc], 0
je 0x44888f
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.004066e0
mov eax, dword [esi + 0xc]
push esi
call eax
add esp, 0x28
lea ecx, [esp + 0x84]
call fcn.004066b0
push dword [esp + 0x18]
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.00570b94
mov esp, ebp
pop ebp
ret
Function at 0x4488d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1a60
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x628490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
jne 0x448ac3
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x42], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x448aba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x4489b2
xor esi, esi
jmp 0x448970
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x48]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x448aba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x4489b2
inc esi
cmp esi, 0xa
jl 0x448970
jmp 0x448aba
push 0
push 0x5fa695
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404c00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.004057e0
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00405a70
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x448a4e
cmp dword [ebp - 0x14], 0x10
jb 0x448a33
push dword [ebp - 0x28]
call fcn.00448ca8
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004045c0
cmp dword [ebp - 0x50], 0x10
jb 0x448a5f
push dword [ebp - 0x64]
call fcn.00448ca8
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x448a86
push dword [ebp - 0x7c]
call fcn.00448ca8
add esp, 4
cmp byte [edi + 0x2d], 0
jne 0x448aa9
cmp dword [edi + 0xc], 0
je 0x448aa9
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004066e0
mov eax, dword [edi + 0xc]
push edi
call eax
add esp, 0x28
cmp dword [ebp - 0x14], 0x10
jb 0x448aba
push dword [ebp - 0x28]
call fcn.00448ca8
add esp, 4
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570b94
mov esp, ebp
pop ebp
ret 0x10
Function at 0x458109
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 0x45814e
call fcn.00462a60
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45814e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45816a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00462bf9
mov ebx, eax
test edi, edi
je 0x458168
test esi, esi
je 0x458168
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 0x45e4b1
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.00462a60
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 0x45e4e8
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.0045e509
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 0x4d9402
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.00461eb4
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 0x4d943e
call fcn.004d9621
mov dword [esi + 0xc], 1
jmp 0x4d9443
call fcn.004d9621
cmp dword [esi], 0
je 0x4d948c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4d9466
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004581c1
jmp 0x4d9477
push 0xff
mov ecx, esi
call fcn.0040cc90
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004560b1
jmp 0x4d94b0
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 0x4d94b0
push dword [esi]
push dword [ebp - 4]
call fcn.004655bb
pop esi
mov esp, ebp
pop ebp
ret 0xc