joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448890
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4488a7
add esp, 0xfffffff0
call fcn.00403130
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041502c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e268]
call fcn.00402e00
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40e268]
call fcn.00402e00
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x416e84]
call fcn.0041e6f0
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x448a1c
mov eax, dword [0x477dd4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041eac0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a3ac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x477dd4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bcc8
test eax, eax
je 0x44899a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408664
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bcf0
test eax, eax
je 0x4489ae
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d6c
mov eax, dword [0x477ca4]
cmp byte [eax], 0
jne 0x4489df
mov eax, ebx
call fcn.00448b08
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448a11
call fcn.00403188
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448d78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4797d4]
cmp dword [eax + 0x24], 0
je 0x448e1b
cmp dword [ebx + 0x84], 0
jne 0x448e15
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x448d08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x448e15
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x448dde
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x448e15
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040fb04
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x448ded
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x449828
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44985d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c24
jmp 0x449867
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b90
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44a720
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44a758
mov eax, esi
call fcn.004324d4
test al, al
je 0x44a758
mov eax, dword [ebx + 0x74]
call fcn.004321d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a758
push 0
mov eax, dword [ebx + 0x74]
call fcn.004321d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x451c00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451e5f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x451c62
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004516c8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040b900
cmp al, 1
jne 0x451c62
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004519e0
test al, al
je 0x451dee
cmp dword [ebp - 8], 0
jge 0x451c80
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004516c8
mov eax, dword [ebp - 0x210]
call fcn.00403dbc
cmp ebx, eax
jge 0x451cca
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004516c8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x478080]
and eax, 0xff
bt dword [edx], eax
jae 0x451cca
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x451cde
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00451bdc
cmp ebx, dword [ebp - 8]
je 0x451de0
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x451d0a
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040300c
and eax, 0x7f
movzx eax, word [eax*2 + 0x477bac]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x451dcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040300c
and eax, 0x7f
movzx eax, word [eax*2 + 0x477bac]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004321d8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040300c
and eax, 0x7f
movzx eax, word [eax*2 + 0x477bac]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004321d8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451dd4
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x451e41
cmp dword [ebp - 8], 0
jge 0x451df9
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004516c8
mov eax, dword [ebp - 0x218]
call fcn.00403dbc
cmp eax, dword [ebp - 8]
jg 0x451e33
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004516c8
mov eax, dword [ebp - 0x21c]
call fcn.00403dbc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00451bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451e66
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403b60
ret
Function at 0x45ef84
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45f00d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47987c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x45eff7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040a7fc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x45f024
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x477fb4]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b134
call fcn.00403588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f014
lea eax, [ebp - 0x1c]
call fcn.00403b3c
ret

Function at 0x45f6a0
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0045f5c4
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.0040300c
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45f704
call fcn.0045eecc
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x45f6f6
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.0040300c
pop esi
pop ebx
ret

Function at 0x45f728
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045f444
xor eax, eax
push ebp
push 0x45f7a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403b3c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x45f764
call fcn.00403628
jmp 0x45f7a8
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x45f78b
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00403d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f7a8
mov eax, dword [ebp - 4]
call fcn.0045f450
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45f864
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00403f80
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402b30
test ebx, ebx
je 0x45f8af
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x45f98c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45f9bd
mov ecx, dword [0x47807c]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b0f8
call fcn.00403588
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x45f9ea
mov ecx, dword [0x477eac]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b0f8
call fcn.00403588
xor eax, eax
push ebp
push 0x45fa6e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.0040300c
cmp byte [ebp + 8], 0
je 0x45fa48
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0045f8f4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045f620
jmp 0x45fa64
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0045f1b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45fa8b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45fa94
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45fac5
mov ecx, dword [0x477f00]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b0f8
call fcn.00403588
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x45faf2
mov ecx, dword [0x477eac]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b0f8
call fcn.00403588
xor eax, eax
push ebp
push 0x45fb71
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.0040300c
cmp byte [ebp + 8], 0
je 0x45fb4d
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0045f8f4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0045f6a0
jmp 0x45fb67
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0045f1b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45fb8e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45fd70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045f444
xor edx, edx
push ebp
push 0x45fed0
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x45feba
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45fdba
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45fdc4
call fcn.00403628
jmp 0x45fed7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00411ce8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov ebx, eax
test ebx, ebx
jle 0x45feaf
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
jne 0x45fe6d
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45fe5d
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.0040300c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0045fd28
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45fee0]
cmp dl, byte [eax + 0x28]
je 0x45feb6
call fcn.0040afe0
jmp 0x45feb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00411cf8
jmp 0x45feb6
cmp eax, ebx
jge 0x45fe86
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00411cf8
jmp 0x45fdc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00411ce8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00411d04
cmp ebx, eax
jne 0x45fdc4
push ebp
call fcn.0045fd28
pop ecx
jmp 0x45feb6
push ebp
call fcn.0045fd28
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fed7
mov eax, dword [ebp - 4]
call fcn.0045f450
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fee4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460006
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045f444
xor eax, eax
push ebp
push 0x45ffe9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45ff34
call fcn.00403628
jmp 0x45fff0
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45ffd3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45ffd3
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.0040300c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45ffd3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040a7fc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x460020
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x477fb4]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b134
call fcn.00403588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fff0
mov eax, dword [ebp - 4]
call fcn.0045f450
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46000d
lea eax, [ebp - 0x28]
call fcn.00403b3c
ret
Function at 0x46006c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4601b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045f444
xor eax, eax
push ebp
push 0x460199
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4600d1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4600d1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x460183
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4600e4
call fcn.00403628
jmp 0x4601a0
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x460183
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x460183
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.0040300c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x460183
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040a7fc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4601d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x477fb4]
mov dl, 1
mov eax, dword [0x45e0f8]
call fcn.0040b134
call fcn.00403588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4601a0
mov eax, dword [ebp - 4]
call fcn.0045f450
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4601bd
lea eax, [ebp - 0x28]
call fcn.00403b3c
ret

Function at 0x465864
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004655e0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403f80
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4658c2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x477ec8]
mov dl, 1
mov eax, dword [0x465504]
call fcn.0040b134
call fcn.00403588
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47447c
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 4], eax
mov ecx, 4
lea eax, [ebp - 0x188]
mov edx, dword [0x401094]
call fcn.00404318
xor eax, eax
push ebp
push 0x474785
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x178], 0x6b70
lea eax, [ebp - 0x188]
mov edx, 0x47479c
call fcn.00403bd4
mov dword [ebp - 0x174], 0x363c
lea eax, [ebp - 0x184]
mov edx, 0x4747ac
call fcn.00403bd4
mov dword [ebp - 0x170], 0x4fdf
lea eax, [ebp - 0x180]
mov edx, 0x4747bc
call fcn.00403bd4
mov dword [ebp - 0x16c], 0x66a1
lea eax, [ebp - 0x17c]
mov edx, 0x4747cc
call fcn.00403bd4
mov eax, 0x32
call fcn.00407ed0
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4746c5
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x47d32c
lea eax, [ebp - 0x178]
mov dword [ebp - 0x1c], eax
push 0x4747d4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00403f80
push eax
mov eax, dword [0x4794d8]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
jne 0x474591
mov eax, 0x4747e4
call fcn.004503d0
call fcn.00403628
jmp 0x47474b
push eax
mov eax, dword [0x4794d8]
push eax
call sub.kernel32.dll_LoadResource
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4745c0
mov eax, 0x4747e4
call fcn.004503d0
call fcn.00403628
jmp 0x47474b
mov eax, dword [ebp - 0x10]
push eax
push 0x32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x18c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x194], eax
mov byte [ebp - 0x190], 0
lea edx, [ebp - 0x194]
xor ecx, ecx
mov eax, 0x4747f8
call fcn.00408d2c
mov eax, dword [ebp - 0x18c]
push eax
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 0x10]
call fcn.00403cf4
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.00403e08
xor eax, eax
push ebp
push 0x47468c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
lea eax, [ebp - 0x168]
call fcn.0040574e
mov edx, 1
lea eax, [ebp - 0x168]
call fcn.004059e0
call fcn.004027c4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x474672
inc ebx
xor esi, esi
mov eax, dword [ebp - 0xc]
lea edx, [eax + esi]
lea eax, [ebp - 0x168]
call fcn.00405a00
call fcn.004027c4
inc esi
dec ebx
jne 0x474658
lea eax, [ebp - 0x168]
call fcn.004057f0
call fcn.004027c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474696
inc dword [ebp - 8]
add dword [ebp - 0x1c], 4
add dword [ebp - 0x18], 4
add dword [ebp - 0x14], 4
cmp dword [ebp - 8], 4
jne 0x47455e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4746cc
mov eax, dword [ebp - 0x10]
call fcn.0040270c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47478c
lea eax, [ebp - 0x198]
call fcn.00403b3c
lea eax, [ebp - 0x18c]
call fcn.00403b3c
lea eax, [ebp - 0x188]
mov ecx, 4
mov edx, dword [0x401094]
call fcn.004043e4
ret