joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471930
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.004714b8
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.00404c14
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47198e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f0504]
mov dl, 1
mov eax, dword [0x4713b0]
call fcn.0040cc7c
call fcn.00404124
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x471998
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.00404c14
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4719f0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f0840]
mov dl, 1
mov eax, dword [0x4713b0]
call fcn.0040cc7c
call fcn.00404124
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004714e8
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 0x47620c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4762e4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f1cd0], 0
jne 0x4762c8
lea eax, [ebp - 4]
mov edx, 0x4762fc
call fcn.004047fc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c14
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4762c8
mov eax, ebx
call fcn.00402808
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4762c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4762ab
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47630c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4762ab
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4f1cd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4762c8
mov eax, dword [ebp - 0xc]
call fcn.00402828
ret
mov ebx, dword [0x4f1cd0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4762eb
lea eax, [ebp - 4]
call fcn.00404764
ret

Function at 0x480858
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4f1cf4], 0
jne 0x48087b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4807cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f1cf4], eax
ret
Function at 0x489e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x489ec4
push 0
mov eax, ebx
call fcn.00404c14
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x489e9f
mov eax, esi
call fcn.00404a1c
inc eax
push eax
mov eax, esi
call fcn.00404c14
push eax
push 1
push 0
mov eax, edi
call fcn.00404c14
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x489eba
mov ecx, dword [0x4f0324]
mov dl, 1
mov eax, dword [0x489944]
call fcn.0040cc40
call fcn.00404124
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x489ee0
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 dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404764
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404c14
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x489f87
xor eax, eax
push ebp
push 0x489f80
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404da0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404c14
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c14
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x489f62
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00404da0
jmp 0x489f69
mov eax, ebx
call fcn.00404764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489f87
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4afe80
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4afeae
mov eax, ebx
call fcn.004b0938
cmp dword [ebx + 0x3c], 0
je 0x4afea7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4aff1f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4aff11
cmp dword [ebx + 8], 0
je 0x4afed0
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 0x4afee2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4aff11
cmp dword [ebx + 8], 0
je 0x4afec3
cmp eax, 3
je 0x4afef5
dec eax
jne 0x4afec3
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 0x4afec3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4afec3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4aff3d
cmp dword [ebx + 0x10], 0xcc
je 0x4aff3d
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.004aff48
pop ebx
ret
Function at 0x4c4024
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c41a5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4efd34], 0
jne 0x4c4182
push 0x4f1d70
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4c417b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4efd34], 0
jne 0x4c4163
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404da0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c14
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408c00
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4c41bc
call fcn.00409cc4
mov eax, dword [ebp - 0xc]
call fcn.00404c14
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x4c40e4
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404da0
jmp 0x4c411b
lea eax, [ebp - 8]
mov edx, 0x4c41dc
call fcn.004047fc
xor eax, eax
push ebp
push 0x4c4111
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00489fc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c411b
mov eax, dword [ebp - 8]
call fcn.00404c14
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4efd34], eax
cmp dword [0x4efd34], 0
jne 0x4c414e
mov ecx, dword [0x4f04ac]
mov dl, 1
mov eax, dword [0x407fa8]
call fcn.0040cc40
call fcn.00404124
push 0x4c41e8
mov eax, dword [0x4efd34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f1d88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4182
push 0x4f1d70
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c41ac
lea eax, [ebp - 0x18]
call fcn.00404764
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404788
ret
Function at 0x4d08b8
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4d08f3
cmp dword [ebx + 0x5c], 0
je 0x4d08f3
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.004c90d8
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4d0a3e
cmp dword [ebx + 0x7c], 0
jne 0x4d0919
mov dl, 1
mov eax, dword [0x4161dc]
call fcn.00403864
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4d0a17
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4d0a44]
push eax
mov al, byte [0x4d0a48]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4f04d4]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4bff5c]
call fcn.004c1eec
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4d0a10
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004c90d8
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.004c90d8
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4c6b1c]
call fcn.00405f8c
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4d09e3
mov edx, dword [0x4f0724]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4d09f4
cmp eax, 0x1007
jne 0x4d09f0
mov byte [ebx + 0x74], 0x18
jmp 0x4d09f4
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0a3e
mov eax, dword [ebp - 4]
call fcn.00403894
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.004c90d8
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4d2e14
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 0x4d2e9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f1dac
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4d2e87
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c330
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, 0x4d2eb4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4f06a8]
mov dl, 1
mov eax, dword [0x4d26c8]
call fcn.0040cc7c
call fcn.00404124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2ea4
lea eax, [ebp - 0x1c]
call fcn.00404764
ret

Function at 0x4d3550
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004d3474
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a90
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4d35b4
call fcn.004d2d5c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4d35a6
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.00403a90
pop esi
pop ebx
ret

Function at 0x4d35d8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404c14
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004030ac
test ebx, ebx
je 0x4d3623
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 0x4d3700
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 0x4d3731
mov ecx, dword [0x4f0574]
mov dl, 1
mov eax, dword [0x4d26c8]
call fcn.0040cc40
call fcn.00404124
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 0x4d375e
mov ecx, dword [0x4f04e0]
mov dl, 1
mov eax, dword [0x4d26c8]
call fcn.0040cc40
call fcn.00404124
xor eax, eax
push ebp
push 0x4d37da
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.00403a90
cmp byte [ebp + 8], 0
je 0x4d37b6
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.004d3668
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.004d3550
jmp 0x4d37d0
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.004d3048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d37f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d39bc
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.004d3310
xor eax, eax
push ebp
push 0x4d3b2e
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 0x4d3b18
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4d3a07
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4d3a11
call fcn.004041d0
jmp 0x4d3b35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b1cc
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 0x4d3b0d
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 0x4d3abf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4d3aac
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a90
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.004d3974
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4d3b40]
cmp dl, byte [eax + 0x28]
je 0x4d3b14
call fcn.0040cb28
jmp 0x4d3b14
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b1ec
jmp 0x4d3b14
cmp ecx, ebx
jge 0x4d3adb
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.0041b1ec
jmp 0x4d3a11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b1cc
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b200
cmp edx, dword [esp + 4]
jne 0x4d3afc
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4d3a11
push ebp
call fcn.004d3974
pop ecx
jmp 0x4d3b14
push ebp
call fcn.004d3974
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3b35
mov eax, dword [ebp - 4]
call fcn.004d331c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d3b44
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 0x4d3c66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d3310
xor eax, eax
push ebp
push 0x4d3c49
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 0x4d3b94
call fcn.004041d0
jmp 0x4d3c50
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 0x4d3c33
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4d3c33
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a90
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 0x4d3c33
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c330
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, 0x4d3c80
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f06a8]
mov dl, 1
mov eax, dword [0x4d26c8]
call fcn.0040cc7c
call fcn.00404124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3c50
mov eax, dword [ebp - 4]
call fcn.004d331c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3c6d
lea eax, [ebp - 0x28]
call fcn.00404764
ret
Function at 0x4d3ccc
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 0x4d3e16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d3310
xor eax, eax
push ebp
push 0x4d3df9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4d3d31
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4d3d31
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 0x4d3de3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4d3d44
call fcn.004041d0
jmp 0x4d3e00
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 0x4d3de3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4d3de3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a90
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 0x4d3de3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c330
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, 0x4d3e30
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4f06a8]
mov dl, 1
mov eax, dword [0x4d26c8]
call fcn.0040cc7c
call fcn.00404124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3e00
mov eax, dword [ebp - 4]
call fcn.004d331c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3e1d
lea eax, [ebp - 0x28]
call fcn.00404764
ret
Function at 0x4d507c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d5289
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.00406764
push eax
push 0x4d5298
push 1
push 0
mov eax, dword [0x4f01a0]
push eax
call sub.ole32.dll_CoCreateInstance
mov esi, eax
mov eax, esi
call fcn.00415a98
test al, al
je 0x4d5147
lea eax, [ebp - 4]
call fcn.00406764
push eax
push 0
push 0
mov eax, dword [0x4f02e0]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00489d08
jmp 0x4d512b
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.00489e04
mov edx, dword [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4d5110
jmp 0x4d5248
lea eax, [ebp - 0x10]
push eax
push 0x4d52a8
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x4d5248
xor eax, eax
push ebp
push 0x4d5241
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
jmp 0x4d520c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x13c]
mov eax, dword [0x4f02e0]
call fcn.00489d7c
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
lea edx, [ebp - 0x138]
mov ecx, 1
mov eax, 0x4d52b8
call fcn.00409cc4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x124]
mov ecx, pe_nt_image_headers32
call fcn.004049cc
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x138]
call fcn.00489d20
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x140]
call fcn.00489e04
mov edx, dword [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x4d5177
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5248
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5290
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404788
lea eax, [ebp - 0x128]
call fcn.00404764
lea eax, [ebp - 0x14]
call fcn.00404764
lea eax, [ebp - 0xc]
call fcn.00406764
lea eax, [ebp - 4]
call fcn.00406764
ret