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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457bdb
add esp, 0xfffffff0
call fcn.00403d00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420700
mov eax, dword [0x4bfe3c]
cmp word [eax + 2], 0
jne 0x457c03
mov eax, dword [0x4bfe3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004592ac
mov eax, dword [0x4bff68]
cmp word [eax + 2], 0
jne 0x457c1d
mov eax, dword [0x4bff68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004594a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41605c]
call fcn.0040396c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41605c]
call fcn.0040396c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x422c50]
call fcn.0042a880
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457da4
mov eax, dword [0x4bfc8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ac50
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459a14
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4bfc8c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d6f0
test eax, eax
je 0x457d12
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409300
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d718
test eax, eax
je 0x457d26
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404970
mov eax, dword [0x4bfa68]
cmp byte [eax], 0
jne 0x457d5a
mov eax, ebx
call fcn.00457ecc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00459bf0
mov eax, ebx
call fcn.0045a530
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457d9a
call fcn.00403d58
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458140
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c1c00]
cmp dword [eax + 0x30], 0
je 0x4581ea
cmp dword [ebx + 0x94], 0
jne 0x4581e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4580d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4581e4
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 0x4581aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4581e4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418870
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4581b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458cc8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458cfd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047f8
jmp 0x458d0a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040475c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459dcc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459e0d
mov eax, esi
call fcn.00440214
test al, al
je 0x459e0d
mov eax, dword [ebx + 0x84]
call fcn.0043ff10
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459e0d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ff10
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45acc8
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ad9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xa50]
test eax, eax
je 0x45acf7
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
lea eax, [ebx + 0x874]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x45ad63
xor eax, eax
push ebp
push 0x45ad4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0xa50], esi
inc esi
jne 0x45ad43
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.0045b14c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ad71
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0045b14c
mov eax, dword [ebp - 4]
mov dword [ebx + 0x840], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ada3
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040472c
ret
Function at 0x45afac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x45afc4
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x45afbd
mov edx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor esi, esi
cmp dword [ebp + 8], 0
jne 0x45b05f
test esi, esi
jle 0x45aff6
mov ecx, 0x45b108
mov dl, 1
mov eax, dword [0x407d9c]
call fcn.0040c958
call fcn.00404168
jmp 0x45b055
cmp word [ebx + 0xa4a], 0
jne 0x45b018
mov ecx, 0x45b108
mov dl, 1
mov eax, dword [0x407d9c]
call fcn.0040c958
call fcn.00404168
jmp 0x45b055
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0xa4c]
call dword [ebx + 0xa48]
cmp byte [ebp - 9], 0
jne 0x45b054
mov ecx, 0x45b108
mov dl, 1
mov eax, dword [0x407d9c]
call fcn.0040c958
call fcn.00404168
jmp 0x45b055
inc esi
cmp dword [ebp + 8], 0
je 0x45afda
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.0045ae38
cmp dword [ebx + 0x848], 0
jne 0x45b08c
mov ecx, 0x45b120
mov dl, 1
mov eax, dword [0x45a740]
call fcn.0040c958
call fcn.00404168
mov ecx, 0x45b13c
mov dl, 2
mov eax, ebx
call fcn.0045b310
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0xa32], 0
je 0x45b0f2
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45b4a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x45b48e
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x45b4b8
call fcn.00409a54
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b4ab
lea eax, [ebp - 8]
call fcn.00404708
ret
Function at 0x45e3c4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45e3f2
mov eax, ebx
call fcn.0045ee7c
cmp dword [ebx + 0x3c], 0
je 0x45e3eb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45e463
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x45e455
cmp dword [ebx + 8], 0
je 0x45e414
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x45e426
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45e455
cmp dword [ebx + 8], 0
je 0x45e407
cmp eax, 3
je 0x45e439
dec eax
jne 0x45e407
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45e407
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x45e407
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45e481
cmp dword [ebx + 0x10], 0xcc
je 0x45e481
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045e48c
pop ebx
ret

Function at 0x46e99c
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.0046e5c0
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.00404bb8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46e9fa
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4bfe60]
mov dl, 1
mov eax, dword [0x46e44c]
call fcn.0040ca50
call fcn.00404168
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46ea04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404bb8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46ea5c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c01cc]
mov dl, 1
mov eax, dword [0x46e44c]
call fcn.0040ca50
call fcn.00404168
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046e5f0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46f168
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4156e0]
call fcn.00405118
xor eax, eax
push ebp
push 0x46f2ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4be5a0], 0
jne 0x46f1bb
mov ecx, dword [0x4bfaa8]
mov dl, 1
mov eax, dword [0x407d9c]
call fcn.0040ca14
call fcn.00404168
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fe0
mov eax, ebx
call fcn.00404f88
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46f2bc
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004065b8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f98
test eax, eax
jle 0x46f253
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46f24c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404988
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404970
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c48
test eax, eax
jne 0x46f24c
mov ebx, 0x15
jmp 0x46f258
mov ebx, 0x10
jmp 0x46f258
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4be5a0]
call fcn.0046f0c0
mov eax, dword [ebp - 8]
call fcn.0046f0c0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004065d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f2b3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040472c
lea eax, [ebp - 0x10]
mov edx, dword [0x4156e0]
call fcn.004051e8
ret

Function at 0x47644c
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 0x4764d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c1ca0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4764bf
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c0f8
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, 0x4764ec
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4c0008]
mov dl, 1
mov eax, dword [0x475c84]
call fcn.0040ca50
call fcn.00404168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764dc
lea eax, [ebp - 0x1c]
call fcn.00404708
ret
Function at 0x476b7c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00476aa0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403b98
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x476be0
call fcn.00476394
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x476bd2
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403b98
pop esi
pop ebx
ret

Function at 0x476c04
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404bb8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402fe0
test ebx, ebx
je 0x476c4f
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 0x476d2c
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 edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x476d5d
mov ecx, dword [0x4bfebc]
mov dl, 1
mov eax, dword [0x475c84]
call fcn.0040ca14
call fcn.00404168
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 0x476d8a
mov ecx, dword [0x4bfe24]
mov dl, 1
mov eax, dword [0x475c84]
call fcn.0040ca14
call fcn.00404168
xor eax, eax
push ebp
push 0x476e06
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403b98
cmp byte [ebp + 8], 0
je 0x476de2
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, edi
mov eax, dword [ebp - 4]
call fcn.00476c94
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00476b7c
jmp 0x476dfc
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, edi
mov eax, dword [ebp - 4]
call fcn.00476680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476e23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x476fe8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047693c
xor eax, eax
push ebp
push 0x47715a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x477144
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x477033
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47703d
call fcn.00404214
jmp 0x477161
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ae30
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 + 8]
mov ebx, eax
test ebx, ebx
jle 0x477139
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
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4770eb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4770d8
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b98
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.00476fa0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x47716c]
cmp dl, byte [eax + 0x28]
je 0x477140
call fcn.0040c8f0
jmp 0x477140
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ae50
jmp 0x477140
cmp ecx, ebx
jge 0x477107
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ae50
jmp 0x47703d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ae30
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041ae64
cmp edx, dword [esp + 4]
jne 0x477128
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47703d
push ebp
call fcn.00476fa0
pop ecx
jmp 0x477140
push ebp
call fcn.00476fa0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477161
mov eax, dword [ebp - 4]
call fcn.00476948
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477170
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 0x477292
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047693c
xor eax, eax
push ebp
push 0x477275
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 0x4771c0
call fcn.00404214
jmp 0x47727c
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 0x47725f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47725f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403b98
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 0x47725f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c0f8
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, 0x4772ac
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4c0008]
mov dl, 1
mov eax, dword [0x475c84]
call fcn.0040ca50
call fcn.00404168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47727c
mov eax, dword [ebp - 4]
call fcn.00476948
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477299
lea eax, [ebp - 0x28]
call fcn.00404708
ret

Function at 0x477938
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ecx, edx
mov ebx, eax
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.0045a610
lea edx, [esp + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
call fcn.0045a600
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
setg al
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x4a399b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4bf886
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a39f3
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4bf8a7
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a39e9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4a39f7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8