joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4328a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468e48
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4328d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4329ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4328ed
mov eax, 0xffffffc7
jmp 0x4329ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4328fe
cmp dword [esi + 8], eax
jne 0x4328ed
cmp dword [esi + 8], eax
jne 0x432917
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432917
mov eax, 0xffffffc7
jmp 0x4329ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43292b
push eax
mov ecx, ebx
call fcn.004320d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004025c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43295c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004025e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431840
test eax, eax
mov dword [esp + 0x38], eax
je 0x43298f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d4e0
call fcn.004027c0
mov eax, dword [esp + 0x38]
jmp 0x4329ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432700
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4329d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432720
mov esi, eax
test esi, esi
jne 0x432a03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432700
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4329a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d4e0
call fcn.004027c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d4e0
call fcn.004027c0
mov eax, esi
jmp 0x4329ee

Function at 0x435b30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435b90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435b90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435b90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435b90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43bd00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00462201
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b6a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046212f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e9f3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e9f3
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e99b
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e99b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462273
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43be80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00462201
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b6a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046212f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43bf44
cmp dword [esp + 0x40], 1
jne 0x43bf42
cmp ecx, eax
jge 0x43bf44
mov eax, ecx
cmp eax, 0xc8
jge 0x43bf50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043bd00
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00462273
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c6c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469503
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ce11
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004624a9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004639c5
test eax, eax
je 0x43c7dc
mov ecx, dword [esp + 0x3c]
call fcn.004624d6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c7a0
push edi
mov ecx, esi
call fcn.0045fb3e
mov ecx, esi
call fcn.0043c940
cmp dword [esp + 0x38], 1
jne 0x43c7d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045fc79
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f1f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f223
push esi
call fcn.004422e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f21c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f2a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f292
mov eax, dword [esi + 8]
test eax, eax
je 0x43f247
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f28e
cmp eax, 2
je 0x43f292
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f23a
cmp eax, 3
je 0x43f26d
cmp eax, 1
jne 0x43f23a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f23a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f23a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f2d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f2b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f2d0
add esp, 4
pop esi
ret

Function at 0x45dc06
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45dc3e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045bcbd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045bc95
jmp 0x45dc4a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f2fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45f33d
call fcn.00464dab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45f33d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f334
xor eax, eax
jmp 0x45f345
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f34b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4652db
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x465309
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465327
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465241
jmp 0x465327
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465327
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465241
test edi, edi
mov eax, edi
jne 0x465311
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404670
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x47c094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x22c], 0
jmp 0x4046aa
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x110]
jae 0x4046ce
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp + edx*4 - 0x10c]
cmp eax, dword [ebp + 8]
jne 0x4046cc
jmp 0x4046ce
jmp 0x40469b
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x110]
jne 0x404704
cmp dword [ebp - 0x110], 0x40
jae 0x404704
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x10c], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
xor edx, edx
jne 0x40468f
mov ecx, 0x41
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0
push 0
call dword [0x467494]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x404764
or eax, 0xffffffff
jmp 0x404792
cmp dword [ebp - 0x11c], 0
jne 0x404773
xor eax, eax
jmp 0x404792
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x467490]
test eax, eax
je 0x40478d
or eax, 0xffffffff
jmp 0x404792
mov eax, 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e346
mov esp, ebp
pop ebp
ret

Function at 0x4047b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x47c094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x22c], 0
jmp 0x4047ea
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x110]
jae 0x40480e
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp + edx*4 - 0x10c]
cmp eax, dword [ebp + 8]
jne 0x40480c
jmp 0x40480e
jmp 0x4047db
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x110]
jne 0x404844
cmp dword [ebp - 0x110], 0x40
jae 0x404844
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x10c], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
xor edx, edx
jne 0x4047cf
mov ecx, 0x41
lea esi, [ebp - 0x110]
lea edi, [ebp - 0x228]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0
lea edx, [ebp - 0x110]
push edx
push 0
call dword [0x467494]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x4048a4
or eax, 0xffffffff
jmp 0x4048d2
cmp dword [ebp - 0x11c], 0
jne 0x4048b3
xor eax, eax
jmp 0x4048d2
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x467490]
test eax, eax
je 0x4048cd
or eax, 0xffffffff
jmp 0x4048d2
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e346
mov esp, ebp
pop ebp
ret
Function at 0x4048f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
je 0x404905
cmp dword [ebp + 8], 0x46e1d4
jne 0x404909
xor eax, eax
jmp 0x404947
mov eax, dword [ebp + 8]
push eax
call dword [0x467480]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404945
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 8]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
je 0x40492e
jmp 0x404945
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x404945
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
jmp 0x404947
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404f80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x47c094]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
movzx edx, word [ebp + 0xc]
push edx
call dword [0x467474]
mov ecx, dword [ebp - 0x20]
mov word [ecx + 0xc], ax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 4], 0xffffffff
je 0x404fc4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
call dword [0x46746c]
push 0
push 1
push 2
call dword [0x46747c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0xffffffff
jne 0x404ff1
mov dword [0x47fe58], 0x80030000
or eax, 0xffffffff
jmp 0x40509e
mov dword [ebp - 8], 1
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call dword [0x467464]
cmp eax, 0xffffffff
jne 0x405039
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 0xffffffff
mov dword [0x47fe58], 0x80050000
or eax, 0xffffffff
jmp 0x40509e
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, 2
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x20]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x1a], dx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
push 0x10
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
call dword [0x467470]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40509c
call dword [0x467468]
cmp eax, 0x2733
je 0x40509c
mov dword [0x47fe58], 0x80040000
or eax, 0xffffffff
jmp 0x40509e
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043e346
mov esp, ebp
pop ebp
ret 8
Function at 0x4050b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xffffffff
je 0x4050ce
cmp dword [ebp + 8], 0
je 0x4050ce
cmp dword [ebp + 0xc], 0
jne 0x4050dd
mov dword [0x47fe58], 0x80060000
or eax, 0xffffffff
jmp 0x405151
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.00404670
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4050fb
xor eax, eax
jmp 0x405151
cmp dword [ebp - 8], 0xffffffff
jne 0x405110
mov dword [0x47fe58], 0x80080000
or eax, 0xffffffff
jmp 0x405151
mov dword [ebp - 4], 0xffffffff
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [0x467498]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40514e
call dword [0x467468]
cmp eax, 0x2733
je 0x40514e
mov dword [0x47fe58], 0x80070000
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0xffffffff
je 0x405178
cmp dword [ebp + 8], 0
jne 0x405187
mov dword [0x47fe58], 0x80090000
or eax, 0xffffffff
jmp 0x4051fd
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.004047b0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4051a5
xor eax, eax
jmp 0x4051fd
cmp dword [ebp - 8], 0xffffffff
jne 0x4051ba
mov dword [0x47fe58], 0x800b0000
or eax, 0xffffffff
jmp 0x4051fd
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [0x46749c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4051fa
call dword [0x467468]
cmp eax, 0x2733
jne 0x4051f0
mov dword [ebp - 4], 0
jmp 0x4051fa
mov dword [0x47fe58], 0x800a0000
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x40dcc3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x47c094]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0040d704
mov ebx, eax
cmp ebx, esi
je 0x40dd34
lea ecx, [ebp - 0x214]
call fcn.0040d68d
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e346
leave
ret 4
mov ebx, dword [0x467018]
jmp 0x40dd52
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040dcc3
cmp eax, esi
jne 0x40dd99
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x40dd3c
lea ecx, [ebp - 0x214]
call fcn.0040d68d
push dword [ebp - 0x218]
mov ecx, edi
call fcn.0040d66b
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0040d68d
mov eax, esi
jmp 0x40dd23
Function at 0x410b31
Capabilities:
Reference google public dns server

Disassembly:
push 0x40
mov eax, 0x45a1ef
call fcn.0043e3be
call fcn.0041f62b
mov esi, dword [0x46728c]
mov edi, 0x1388
push edi
call esi
xor ebx, ebx
inc ebx
push ebx
call fcn.00420494
pop ecx
test al, al
je 0x410b65
mov eax, ebx
jmp 0x410be7
push str.8.8.8.8
call fcn.00420239
pop ecx
push edi
call esi
push ebx
call fcn.00420494
pop ecx
test al, al
jne 0x410b5e
lea eax, [ebp - 0x4c]
push eax
call fcn.0041e812
pop ecx
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00410a6b
push eax
lea ecx, [ebp - 0x48]
call fcn.00410b00
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
call fcn.0041d5c0
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00405680
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040b6b3
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x410bd4
lea eax, [ebp - 0x2c]
push eax
call fcn.00420239
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403740
xor eax, eax
call fcn.0043e441
ret

Function at 0x410d9f
Capabilities:
Delete registry value

Disassembly:
push 0x18
mov eax, 0x45a257
call fcn.0043e355
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push 0x47de7c
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
call fcn.0040bb55
push 0x47de78
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0040bb55
add esp, 0x18
mov edi, 0x2001f
push edi
push dword [ebp - 0x14]
mov esi, 0x80000001
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040d704
mov ebx, dword [0x467008]
test eax, eax
jne 0x410e17
push dword [0x47de74]
mov byte [ebp - 0xd], 1
push dword [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x24]
call fcn.0040d68d
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push esi
call fcn.0040d704
test eax, eax
jne 0x410e3f
push dword [0x47de74]
mov byte [ebp - 0xd], 1
push dword [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x24]
call fcn.0040d68d
lea ecx, [ebp - 0x24]
call fcn.0040d68d
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov al, byte [ebp - 0xd]
call fcn.0043e42d
ret 4

Function at 0x4118a6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ecx
push dword [ebp + 8]
push ebx
push ebx
call fcn.0043f750
mov esi, dword [0x467250]
add esp, 0x18
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
push eax
mov dword [ebp + 8], eax
mov dword [ebp - 8], ecx
mov byte [ebp - 4], bl
call esi
cmp eax, 0x102
jne 0x4118e5
push 0xffffffffffffffff
push dword [ebp + 8]
call esi
lea ecx, [ebp - 8]
call fcn.004117fd
pop esi
pop ebx
leave
ret 8