joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ad50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b268c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CZipStorage.0
lea ebp, [esi + 0xc]
call fcn.0045f338
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44ada0
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x20], ebx
call fcn.00449f60
mov byte [esp + 0x20], 1
lea edi, [esi + 0x4c]
call fcn.0045f338
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44addd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x20], 2
call fcn.004452a0
push 3
push 0x5054b8
mov ecx, ebp
mov byte [esp + 0x28], 3
mov dword [esi + 0x48], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x34], 0x10000
mov dword [esi + 4], ebx
call fcn.004017c0
mov ecx, edi
mov dword [esi + 0x38], 0x8000
mov dword [esi + 0x30], ebx
mov word [esi + 0x2a], 0xffff
call fcn.004014e0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x44c480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b29e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.00401d30
movzx ecx, byte [0x5053c8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.0044bb80
mov edx, dword [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00440980
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00442000
mov ecx, dword [esp + 0xc]
xor edx, edx
test ecx, ecx
setne dl
mov byte [esp + 0x38], 2
mov dword [esp + 0x10], 1
test edx, edx
jne 0x44c51b
push 0x80004005
call fcn.00401090
mov eax, dword [eax]
push ecx
push eax
call fcn.004760c1
add esp, 8
or edi, 0xffffffff
test eax, eax
je 0x44c543
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004454c0
add esp, 4
cmp eax, edi
je 0x44c543
xor bl, bl
jmp 0x44c545
mov bl, 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x38], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c56c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x44c655
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00442000
mov eax, dword [eax]
push eax
mov byte [esp + 0x3c], 3
call fcn.0044c480
add esp, 4
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44c5bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44c602
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.0044bad0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x44c5ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00445680
add esp, 4
test al, al
jne 0x44c655
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], al
call fcn.0044bad0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x44c5ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.0044bad0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x44c684
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x454ac0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xb04
push esi
mov esi, dword [esp + 0xb0c]
mov al, byte [esi + 0xa3]
test al, al
je 0x454c65
mov eax, dword [esi + 0x84]
test eax, eax
je 0x454c65
mov ecx, dword [esp + 0xb10]
lea eax, [esp + 0xb14]
push eax
lea edx, [esp + 0x60c]
push ecx
push edx
call fcn.00474e6d
mov al, byte [esi + 0xa1]
add esp, 0xc
test al, al
je 0x454b30
lea eax, [esp + 8]
push eax
call fcn.004780a6
lea ecx, [esp + 0x8c]
push ecx
call fcn.00477fe4
add esp, 8
jmp 0x454b3d
mov byte [esp + 8], 0
mov byte [esp + 0x88], 0
mov al, byte [esi + 0xa0]
test al, al
mov al, byte [esi + 0xa1]
je 0x454bb8
test al, al
mov eax, dword [esi + 0x80]
je 0x454b8e
lea edx, [eax + 1]
lea ecx, [esp + 0x608]
mov dword [esi + 0x80], edx
push ecx
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xc]
push edx
push ecx
push eax
lea edx, [esp + 0x118]
push str._d__s__s_:__s_r_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x454c07
lea edx, [esp + 0x608]
lea ecx, [eax + 1]
push edx
push eax
lea eax, [esp + 0x110]
push str._s_:__s_r_n
push eax
mov dword [esi + 0x80], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x454c07
test al, al
je 0x454be9
lea ecx, [esp + 0x608]
lea edx, [esp + 0x88]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x114]
push str._s__s__s_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x454c07
lea edx, [esp + 0x608]
lea eax, [esp + 0x108]
push edx
push str._s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x454c65
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 8]
push 0
push ecx
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x114]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0xb04
ret

Function at 0x456950
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
sub eax, edx
mov edx, dword [ecx]
sub eax, esi
add eax, edx
mov edx, dword [0x554d5c]
imul edx, eax
mov eax, 0x570ee4
sub ecx, eax
mov esi, dword [ecx + eax]
add eax, 4
xor esi, edx
cmp eax, 0x570ef4
mov dword [eax - 4], esi
jl 0x456976
mov eax, 0x570ee4
pop esi
ret
Function at 0x456990
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4b2e01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea eax, [esi + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov byte [esi + 0x12c], 1
mov byte [esi + 0x8c], bl
mov dword [esi + 0x10c], ebx
mov byte [esi + 0x12f], bl
mov dword [esi + 0x110], ebx
mov byte [esi + 0x12d], bl
mov byte [esi + 0x12e], bl
push fcn.004540a0
push 0x452aa0
lea edi, [esi + 0x130]
push 4
push 0x10d08
push edi
mov dword [esp + 0x1bc], ebx
call fcn.00476b1f
lea eax, [esp + 0x10]
mov dword [esi], 0x508c94
push eax
push 2
mov dword [esi + 0x88], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x456a35
push ebx
call fcn.0047a468
mov ax, word [esp + 0x10]
cmp al, 2
jne 0x456a7b
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x456a7b
lea eax, [esi + 0x43550]
mov ecx, edi
mov edx, 4
mov dword [eax], ecx
add eax, 4
add ecx, 0x10d08
dec edx
jne 0x456a53
mov ecx, dword [esp + 0x1a0]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a0
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push ebx
call fcn.0047a468
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
mov esi, ecx
call fcn.00456ab0
test byte [esp + 8], 1
je 0x456aa8
push esi
call fcn.0045818d
add esp, 4
mov eax, esi
pop esi
ret 4
Function at 0x456b60
Capabilities:
Create directory
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x80
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x98]
push edi
mov dword [ebp + 0x88], eax
lea eax, [ebp + 8]
push ecx
push 0x554eec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esp + 0xac]
add esp, 0xc
test edi, edi
lea ebx, [ebp + 0x43560]
je 0x456bbb
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x456bd8
mov edi, str..NetLog
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.00458090
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp + 8]
lea ecx, [esp + 0x14]
push eax
push ebx
push str._s_s_Sys_d.log
push ecx
call edi
mov al, byte [esp + 0x24]
add esp, 0x14
test al, al
lea esi, [ebp + 0x8c]
je 0x456c2d
lea ecx, [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x2f
je 0x456c22
cmp al, 0x3a
jne 0x456c25
mov byte [ecx], 0x5f
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x456c18
lea edx, [esp + 0x10]
mov byte [esi], 0
push edx
push 0x554eec
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x80], 0
mov byte [esi + 0xa3], 1
mov dword [esi + 0x84], 1
mov byte [esi + 0xa0], 1
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], 1
mov eax, dword [ebp + 0x88]
xor esi, esi
test eax, eax
jbe 0x456cb5
mov edi, dword [esp + 0x98]
lea ebx, [ebp + 0x130]
push ebp
push edi
push esi
mov ecx, ebx
call fcn.00452e00
test al, al
je 0x456cc4
mov eax, dword [ebp + 0x88]
inc esi
add edi, 0xe4
add ebx, 0x10d08
cmp esi, eax
jb 0x456c90
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x80
ret 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret 0x10
Function at 0x457a30
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
lea esi, [ebx + ebx*8]
shl esi, 4
mov eax, dword [edi + 0x10]
mov cl, byte [eax + esi + 0x30]
test cl, cl
je 0x457a53
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov al, byte [edi + 0x18]
test al, al
jne 0x457a73
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [edi + 0x10]
mov dword [ecx + esi], eax
mov eax, 0x10
jmp 0x457a97
cmp al, 1
jne 0x457a93
push 0x4e8
push 5
push 6
call dword [sym.imp.WS2_32.dll_socket]
mov edx, dword [edi + 0x10]
mov dword [edx + esi], eax
mov eax, 0xe
jmp 0x457a97
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x10]
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + esi]
push eax
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x457ac8
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + esi]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
ret 8
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
push 0x31
mov eax, dword [edx + ebx*4]
mov edx, dword [ecx + esi]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 3
pop ebx
add eax, 0xfffffffd
ret 8

Function at 0x457af0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, ecx
lea edi, [ebx + ebx*8]
shl edi, 4
mov eax, dword [esi + 0x10]
mov cl, byte [eax + edi + 0x30]
test cl, cl
je 0x457b1c
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor al, al
mov dword [ecx], 0xffffffff
pop ebx
ret 0xc
mov al, byte [esi + 0x18]
test al, al
jne 0x457b3c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edx, dword [esi + 0x10]
mov dword [edx + edi], eax
mov eax, 0x10
jmp 0x457b60
cmp al, 1
jne 0x457b5c
push 0x4e8
push 5
push 6
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 0x10]
mov dword [ecx + edi], eax
mov eax, 0xe
jmp 0x457b60
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x10]
push edx
mov ecx, dword [eax + edi]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x457b99
mov edx, dword [esi + 0x10]
mov eax, dword [edx + edi]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
xor al, al
ret 0xc
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push 0x31
mov eax, dword [edx + ebx*4]
mov edx, dword [ecx + edi]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x457bc6
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0xfffffffd
xor al, al
ret 0xc
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
Function at 0x457bd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push edi
push 0
push eax
mov eax, dword [esp + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x10]
push ecx
shl edx, 4
mov ecx, dword [edx + eax]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, dword [esp + 0x18]
cmp eax, 0xffffffff
mov dword [edi], eax
jne 0x457c1b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [edi], eax
je 0x457c14
inc dword [esi + 0x48]
pop edi
xor al, al
pop esi
ret 0x10
pop edi
mov al, 1
pop esi
ret 0x10

Function at 0x457c30
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, ecx
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x10]
push 0
shl esi, 4
push eax
push ecx
mov eax, dword [edx + esi]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x457c9c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [ebx], eax
jne 0x457c8d
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x50]
inc edx
lea eax, [ecx + esi + 0x54]
mov dword [edi + 0x50], edx
pop edi
pop esi
mov ecx, dword [eax]
pop ebx
inc ecx
mov dword [eax], ecx
xor al, al
ret 0x10
mov eax, dword [edi + 0x4c]
inc eax
mov dword [edi + 0x4c], eax
pop edi
pop esi
xor al, al
pop ebx
ret 0x10
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10

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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x80
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push esi
lea esi, [eax + eax*8]
push edi
mov edi, ecx
shl esi, 4
mov ecx, dword [edi + 0x10]
push 0
lea eax, [esp + 0x10]
push 0x80
mov edx, dword [ecx + esi]
push eax
push edx
call ebx
test eax, eax
je 0x457ce9
cmp eax, 0xffffffff
jne 0x457ccb
pop edi
pop esi
pop ebx
add esp, 0x80
ret 4
Function at 0x457dd0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov al, byte [esi + 0x18]
test al, al
jne 0x457de5
push 0
push 1
push 2
jmp 0x457df2
cmp al, 1
jne 0x457dfb
push 0x4e8
push 5
push 6
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xffffffff
jne 0x457e12
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.socket___Failure____d
jmp 0x457efa
mov al, byte [esi + 0x18]
push edi
test al, al
jne 0x457e21
mov edi, 0x10
jmp 0x457e2e
cmp al, 1
mov edi, 0xe
je 0x457e2e
mov edi, dword [esp + 0x1c]
mov dx, word [esi + 0x20]
xor ecx, ecx
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
mov word [esp + 0xc], 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xe], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push edi
push eax
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x457e9c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esp + 0x18]
push eax
push str.bind___Failure____d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
add esp, 0x10
ret 4
mov eax, dword [esi + 8]
push bind
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x457ed3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x18]
push eax
push str.listen___Failure____d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
add esp, 0x10
ret 4
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov edx, dword [esi + 8]
push 8
push eax
push edx
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x457f11
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAEventSelect___Failure____d
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
add esp, 0x10
ret 4
mov al, 1
pop esi
add esp, 0x10
ret 4

Function at 0x458050
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x100
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [esp]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov edx, dword [esp + 0x104]
mov ecx, dword [eax]
mov eax, 1
mov dword [edx], ecx
add esp, 0x100
ret
Function at 0x459c25
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4b2fd1
call fcn.0047c1b2
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004675ea
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x459c70
call fcn.004675ea
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x459c81
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x459c8e
or eax, 0xffffffff
jmp 0x459dea
mov ecx, esi
call fcn.00459777
mov dword [ebp - 0x14], eax
call fcn.0045c66b
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x459d0c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x459d0c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x459d0c
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00459606
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x459d0c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
test eax, eax
je 0x459d0c
mov ecx, ebx
call fcn.00458b09
test eax, eax
je 0x459d0c
push 0
mov ecx, ebx
call fcn.00458b24
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0045e051
push dword [ebp - 0x14]
call fcn.0045c5c3
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00459a2d
xor edi, edi
cmp eax, edi
je 0x459d69
test byte [esi + 0x3c], 0x10
je 0x459d53
push 4
pop edi
mov ecx, esi
call fcn.004589f0
test ax, 0x100
je 0x459d49
push 5
pop edi
push edi
mov ecx, esi
call fcn.0045c159
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x459d69
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00458cf3
or dword [ebp - 4], 0xffffffff
jmp 0x459d94
cmp dword [ebp - 0x28], edi
je 0x459da2
push 1
mov ecx, ebx
call fcn.00458b24
cmp dword [ebp - 0x2c], edi
je 0x459db2
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x459dcb
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x459dcb
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004597b1
cmp dword [esi + 0x58], edi
je 0x459de7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0047c257
ret
Function at 0x45d61c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45d655
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00459477
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040cbe0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x45f271
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 0x45f2b4
call fcn.004675ea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45f2b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45f2cf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0045ee28
test ebx, ebx
mov esi, eax
je 0x45f2cd
test edi, edi
je 0x45f2cd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x46890b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x468951
call fcn.004675ea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x468951
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x468994
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x46897d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x46897d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x468991
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc