joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c6a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4abab8
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 [0x4ae428]
push 0
lea ecx, [esp + 0x20]
call fcn.004a2065
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0046c040
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.004a1f93
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.0049e77c
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.0049e77c
push 1
push 0
push 0
mov ecx, esi
call fcn.0049e724
push 1
push 0
push 1
mov ecx, esi
call fcn.0049e724
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a20d7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x46c820
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4abad8
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.004a2065
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0046c040
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.004a1f93
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4ae428]
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 0x46c8e4
cmp dword [esp + 0x40], 1
jne 0x46c8e2
cmp ecx, eax
jge 0x46c8e4
mov eax, ecx
cmp eax, 0xc8
jge 0x46c8f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0046c6a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4ae42c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a20d7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x46d070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4abb43
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.0049cb98
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x24667d8
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], 0x24652b8
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 [0x4ae0c0]
push eax
mov ecx, edi
call fcn.004a230d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a3865
test eax, eax
je 0x46d18c
mov ecx, dword [esp + 0x3c]
call fcn.004a233a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4ae408]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x46d150
push edi
mov ecx, esi
call fcn.0049f8fa
mov ecx, esi
call fcn.0046d2f0
cmp dword [esp + 0x38], 1
jne 0x46d185
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.0049fa64
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 0x46fbb0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46fbe3
push esi
call fcn.00472cb0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46fbdc
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 0x46fc69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46fc52
mov eax, dword [esi + 8]
test eax, eax
je 0x46fc07
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 0x46fc4e
cmp eax, 2
je 0x46fc52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46fbfa
cmp eax, 3
je 0x46fc2d
cmp eax, 1
jne 0x46fbfa
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 0x46fbfa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46fbfa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046fc90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46fc78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046fc90
add esp, 4
pop esi
ret
Function at 0x4803b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047ff60
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047ffe0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047ffe0
lea ecx, [esi + 0xc]
call fcn.0049b525
lea ecx, [esi + 0x10]
call fcn.0049b525
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00481570
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00481570
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00481570
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049b59a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049b59a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1001479
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x10014f4
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10014de
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x10014e4
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10014d5
cmp dword [ebp - 8], 0xd2af9
sete bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x10015eb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], 1
je 0x1001622
push 0x1001778
push dword [ebp + 8]
call fcn.01001590
test eax, eax
pop ecx
pop ecx
jne 0x10017c2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 8]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x10016e8
push 0x80000001
call esi
test eax, eax
jne 0x100168c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1001744
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100167b
cmp dword [ebp - 0x10], 4
jne 0x100167b
cmp dword [ebp - 0x14], 1
je 0x10017c9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
mov dword [ebp - 8], ebx
je 0x10016de
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001714
push 0x80000002
call esi
test eax, eax
jne 0x10016de
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1001760
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10016d5
cmp dword [ebp - 0x10], esi
jne 0x10016d5
cmp dword [ebp - 0x14], 1
jne 0x10016d5
mov byte [ebp - 1], bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4
xor al, al
jmp 0x10016e3
mov byte [ebp - 1], bl
jmp 0x100167b

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1248781c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x2250530e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x41a460
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x41a481
jl 0x41a477
test esi, esi
jne 0x41a481
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x41a534
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.0040f800
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x41a4f1
jg 0x41a4b9
test esi, esi
je 0x41a4f1
cmp ebp, eax
jg 0x41a4c9
jl 0x41a4c3
cmp edi, esi
jae 0x41a4c9
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.0044fcb0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x41a510
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x41a520
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x41a4a0
jl 0x41a520
test edi, edi
jne 0x41a4a0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x41a577
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x41a57e
cmp ecx, dword [esp + 0x1c]
cmovb esi, ecx
push esi
push edx
push ebp
call fcn.0044fcb0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x41a57e
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x41a5e7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x41a5a8
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x41a5d2
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.004585cf
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x41a5e7
cmp edi, eax
ja 0x41a5b0
test edi, edi
je 0x41a5e7
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.004585cf
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x42c1d0
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x1c
mov eax, dword [0x48fe40]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x42c2e5
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0xffff
push esi
mov dword [esp + 0x20], 1
call ebx
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40000
push eax
push 0x1002
push 0xffff
push esi
call ebx
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x4000
push eax
push 0x1001
push 0xffff
push esi
call ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x42c2e5
push 4
lea eax, [esp + 0x10]
push eax
push 0x20
push 0xffff
push esi
call ebx
push dword [esp + 0x2c]
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x16], ax
mov eax, 2
mov word [esp + 0x14], ax
test edi, edi
je 0x42c2b0
cmp byte [edi], 0
je 0x42c2b0
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x18], eax
jmp 0x42c2b8
mov dword [esp + 0x18], 0
push 0x10
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
or ecx, 0xffffffff
cmp eax, 0xffffffff
pop edi
cmove esi, ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x1c
ret 0xc
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e4cb
add esp, 0x1c
ret 0xc

Function at 0x42c300
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42c322
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x42c322
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
ret 4
xor eax, eax
ret 4

Function at 0x42c330
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x48fe40]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
mov dword [esp], 0x10
push eax
lea eax, [esp + 8]
push eax
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x42c36f
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x18
ret 4
push dword [esp + 6]
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x18
ret 4
Function at 0x42c390
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x54
mov eax, dword [0x48fe40]
xor eax, esp
mov dword [esp + 0x50], eax
push edi
mov edi, dword [esp + 0x5c]
lea eax, [esp + 4]
push 0x50
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x42c40f
push ebx
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x42c40e
mov ecx, dword [ebx + 0xc]
cmp dword [ecx], 0
je 0x42c40e
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_ntoa]
push esi
xor esi, esi
nop dword [eax]
cmp esi, 0x28
jge 0x42c40c
mov eax, dword [esi + ecx]
push dword [eax]
call ebp
mov edx, edi
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x42c3f0
mov ecx, dword [ebx + 0xc]
add esi, 4
add edi, 0x10
cmp dword [esi + ecx], 0
jne 0x42c3e0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
pop edi
xor ecx, esp
call fcn.0044e4cb
add esp, 0x54
ret 4

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

Disassembly:
sub esp, 0x258
mov eax, dword [0x48fe40]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, 2
mov dword [esp], 0x10
push ebx
mov ebx, dword [esp + 0x264]
mov word [esp + 8], ax
mov eax, dword [esp + 0x260]
push esi
mov esi, dword [esp + 0x26c]
cmp eax, 0xffffffff
je 0x42c4e2
push edi
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x240
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 1
jge 0x42c4bd
cmp edi, 0xffffffff
jne 0x42c4db
mov dword [esi], 0
xor eax, eax
pop edi
mov ecx, dword [esp + 0x25c]
pop esi
pop ebx
xor ecx, esp
call fcn.0044e4cb
add esp, 0x258
ret 0xc
push dword [esp + 0x12]
call dword [sym.imp.WS2_32.dll_ntohs]
push ebx
push edi
lea ecx, [esp + 0x28]
movzx eax, ax
push ecx
push eax
push dword [esp + 0x24]
call fcn.00428500
mov eax, 1
jmp 0x42c4a3
mov dword [esi], 0xffffffff
or eax, 0xffffffff
jmp 0x42c4a4

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

Disassembly:
sub esp, 0x14
mov eax, dword [0x48fe40]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
cmp edi, 0xffffffff
jne 0x42c522
or eax, edi
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x14
ret 0x14
push esi
mov esi, dword [esp + 0x34]
push esi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, 2
mov word [esp + 0xc], ax
push 0
movzx eax, si
mov esi, dword [esp + 0x30]
push eax
push esi
push ebx
call fcn.00430980
mov ebx, dword [sym.imp.WS2_32.dll_sendto]
add esp, 0x10
inc esi
push 0x10
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x494068
push edi
call ebx
test eax, eax
je 0x42c560
pop esi
cmp eax, 0xffffffff
je 0x42c591
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x14
ret 0x14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x18]
pop edi
pop ebx
xor ecx, esp
call fcn.0044e4cb
add esp, 0x14
ret 0x14
Function at 0x42c5b0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x48fe40]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push edi
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, dword [esp + 0x24]
mov ebp, eax
cmp edi, 0xffffffff
jne 0x42c5f1
or eax, edi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x14
ret 0x14
push esi
mov esi, dword [esp + 0x38]
push esi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
mov eax, 2
mov word [esp + 0x10], ax
push 0
movzx eax, si
mov esi, dword [esp + 0x34]
push eax
push esi
push ebx
mov dword [esp + 0x24], ebp
call fcn.00430980
mov ebx, dword [sym.imp.WS2_32.dll_sendto]
add esp, 0x10
inc esi
nop dword [eax + eax]
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x494068
push edi
call ebx
test eax, eax
je 0x42c630
pop esi
cmp eax, 0xffffffff
je 0x42c662
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0044e4cb
add esp, 0x14
ret 0x14
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e4cb
add esp, 0x14
ret 0x14
Function at 0x42c990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, 0x58bf
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0xce6dd971
mov word [esp + 0x20], ax
call fcn.0042e660
mov cl, byte [esp + 0x30]
mov bl, 0xf
add cl, 5
mov byte [esp + 0x13], al
and cl, 0xf
sub bl, cl
call fcn.0042e660
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
shl al, 4
or al, bl
movzx edi, bl
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [edi + eax]
mov dword [esp + 0x34], ecx
add ecx, 6
mov dword [edx], ecx
lea edx, [ebp + 6]
mov ecx, dword [esp + 0x30]
add edx, edi
push ecx
push edx
cmp ecx, ebp
jne 0x42ca0c
call fcn.0044fcb0
jmp 0x42ca11
call fcn.0044fcb0
mov al, byte [esp + 0x1f]
lea ebx, [ebp + 4]
add esp, 0xc
mov byte [ebx], al
mov eax, dword [esp + 0x18]
xor esi, esi
mov byte [ebp + 5], al
test edi, edi
je 0x42ca3e
nop word [eax + eax]
call fcn.0042e660
mov byte [esi + ebp + 6], al
inc esi
cmp esi, edi
jb 0x42ca30
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
add eax, 2
push eax
push ebx
call fcn.00431e10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push ebp
push 0x10
push ebp
mov dword [ebp], eax
lea eax, [ecx + 0x240]
push ecx
push eax
call fcn.00430eb0
mov eax, dword [esp + 0x4c]
add esp, 0x14
xor edi, edi
mov esi, dword [eax]
sub esi, 0x10
cmp esi, 0x10
jb 0x42cae2
lea ebx, [esi + ebp]
lea edx, [ebp + 3]
mov ebp, 4
add edx, edi
lea eax, [ebx + 1]
sub edi, esi
movzx ecx, byte [edx - 3]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edi + eax - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 2], cl
sub ebp, 1
jne 0x42ca91
mov ecx, dword [esp + 0x14]
push ebx
push 0x10
push ebx
push ecx
lea eax, [ecx + 0x240]
push eax
call fcn.00430eb0
mov ebp, dword [esp + 0x48]
mov edi, esi
sub esi, 0x10
add esp, 0x14
sub ebx, 0x10
cmp esi, 0x10
jae 0x42ca82
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10

Function at 0x42cb60
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], vtable.CSHA1.0
mov eax, ecx
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret

Function at 0x42cba0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], vtable.CSHA1.0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret

Function at 0x42cbe0
Capabilities:
Hash data using sha1

Disassembly:
test byte [esp + 4], 1
push esi
mov esi, ecx
mov dword [esi], vtable.CSHA1.0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov dword [esi + 0x14], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
je 0x42cc2f
push 0xb4
push esi
call fcn.0044e17e
add esp, 8
mov eax, esi
pop esi
ret 4
Function at 0x42cd60
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret