joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eb30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x44eccc
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x1c], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jbe 0x44eb6b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x44eb94
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x44eb80
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0042d3a0
push 0x2c
push edi
call fcn.00472d8e
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x44ebf9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x44ebb0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x44ebe8
mov edx, dword [ebp - 0x10]
mov dword [edx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x44ec0b
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x44ec0e
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x44ecbf
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x44ec2e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x44ec54
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x44ec40
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0042d3a0
push 0x2c
push edi
call fcn.00472d8e
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x44eca9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x44ec68
mov ecx, dword [ebp - 4]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x44ec20
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44ece0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x44ee7c
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x1c], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jbe 0x44ed1b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x44ed44
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x44ed30
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0042d400
push 0x2c
push edi
call fcn.00472d8e
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x44eda9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x44ed60
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x44ed98
mov edx, dword [ebp - 0x10]
mov dword [edx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x44edbb
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
jmp 0x44edbe
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x44ee6f
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x44edde
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x44ee04
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x44edf0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0042d400
push 0x2c
push edi
call fcn.00472d8e
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x44ee59
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x44ee18
mov ecx, dword [ebp - 4]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x44edd0
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44f700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4925
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x501040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x14], edx
jbe 0x44f744
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x44f768
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x44f753
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040ac10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44f798
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x44f8df
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.00472d9c
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00407330
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4f5350]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4f5350]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x44f881
divss xmm0, xmm3
call fcn.00401460
call fcn.004bfd50
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x44f865
cmp eax, 0x200
jae 0x44f863
shl eax, 3
cmp eax, ecx
jae 0x44f865
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00409530
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040ac10
mov edx, dword [eax]
jmp 0x44f884
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x44f8ac
mov dword [ecx + eax*8], edi
jmp 0x44f8be
cmp esi, edx
jne 0x44f8b5
mov dword [ecx + eax*8], edi
jmp 0x44f8c2
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x44f8c2
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0047439a
int3
Function at 0x44fb20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x44fb90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c49a5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x501040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x14], edx
jbe 0x44fbd4
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x44fbf8
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x44fbe3
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0040ac10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44fc28
mov dword [edi], eax
mov eax, edi
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x44fd6f
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.00472d9c
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.00407330
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4f5350]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4f5350]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x44fd11
divss xmm0, xmm3
call fcn.00401460
call fcn.004bfd50
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x44fcf5
cmp eax, 0x200
jae 0x44fcf3
shl eax, 3
cmp eax, ecx
jae 0x44fcf5
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00409530
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040ac10
mov edx, dword [eax]
jmp 0x44fd14
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x44fd3c
mov dword [ecx + eax*8], edi
jmp 0x44fd4e
cmp esi, edx
jne 0x44fd45
mov dword [ecx + eax*8], edi
jmp 0x44fd52
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x44fd52
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0047439a
int3
Function at 0x456a20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c512d
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x26c], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00456c30
test al, al
je 0x456bfe
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
je 0x456bfe
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 0x8004667e
push esi
xor bl, bl
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x456ba4
xorps xmm0, xmm0
mov eax, 2
push edi
movlpd qword [ebp - 0x38], xmm0
mov word [ebp - 0x40], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
push 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x260], esi
push eax
push esi
mov dword [ebp - 0x264], 1
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x456ba4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [ebp - 0x4c]
test eax, eax
je 0x456b71
test edi, edi
je 0x456ba4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
je 0x456ba4
nop dword [eax + eax]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x456b8b
cmp ecx, edi
je 0x456b96
add eax, 0x8c
cmp eax, edx
jne 0x456b80
jmp 0x456ba4
mov ecx, dword [ebp - 0x268]
push eax
call fcn.00404fd0
mov bl, 1
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test bl, bl
jne 0x456c00
mov ecx, dword [ebp - 0x1c]
mov eax, 0xea0ea0eb
mov edi, dword [ebp - 0x20]
xor esi, esi
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x456c00
lea eax, [edi + 0x80]
cmp dword [eax - 4], 0
lea edx, [eax - 0x80]
je 0x456be2
cmp dword [eax], 0
jne 0x456bee
inc esi
add eax, 0x8c
cmp esi, ecx
jb 0x456bd4
jmp 0x456c00
mov ecx, dword [ebp - 0x268]
push edx
call fcn.00404fd0
mov bl, 1
jmp 0x456c00
xor bl, bl
lea ecx, [ebp - 0x20]
call fcn.0042aeb0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret
Function at 0x4571b0
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4571fe
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x1f
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x45720f
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00472b2a
mov esp, ebp
pop ebp
ret
Function at 0x4584c0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x501040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
push 0x38
xor esi, esi
lea eax, [esp + 0x18]
mov ebx, ecx
push esi
push eax
mov dword [esp + 0x18], ebx
call fcn.0049cfc0
add esp, 0xc
mov dword [esp + 0x10], esi
cmp ebx, 0xffffffff
je 0x458539
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [esp + 0x10]
push esi
push eax
push esi
call edi
cmp eax, 0x7a
jne 0x458528
push dword [esp + 0x10]
call fcn.004a0cf0
mov esi, eax
add esp, 4
test esi, esi
je 0x458539
push 0
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
je 0x45854d
test esi, esi
je 0x458539
push esi
call fcn.004a0cd5
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x45857b
mov eax, dword [esp + 0xc]
lea edi, [esi + 4]
nop word [eax + eax]
cmp dword [edi], eax
jne 0x458573
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
mov eax, dword [esp + 0xc]
inc ebx
add edi, 0x38
cmp ebx, dword [esi]
jb 0x458560
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call dword [sym.imp.IPHLPAPI.DLL_CreateIpForwardEntry]
test eax, eax
jne 0x458539
push esi
call fcn.004a0cd5
mov ecx, dword [esp + 0x50]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret

Function at 0x458620
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x501040]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov eax, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
cmp eax, 0xffffffff
je 0x458689
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [esp + 0x10]
push edi
push eax
push edi
call esi
cmp eax, 0x7a
jne 0x458678
push dword [esp + 0x10]
call fcn.004a0cf0
mov edi, eax
add esp, 4
test edi, edi
je 0x458689
push 0
lea eax, [esp + 0x14]
push eax
push edi
call esi
test eax, eax
je 0x45869b
test edi, edi
je 0x458689
push edi
call fcn.004a0cd5
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test edi, edi
je 0x458689
lea esi, [edi + 4]
cmp ebx, dword [edi]
jae 0x458680
mov eax, dword [esp + 0xc]
cmp dword [esi], eax
jne 0x4586b7
push esi
call dword [sym.imp.IPHLPAPI.DLL_DeleteIpForwardEntry]
inc ebx
add esi, 0x38
jmp 0x4586a4
Function at 0x45b070
Capabilities:
Check for time delay via queryperformancecounter
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x501040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
cmp dword [esi + 0x10], 0
je 0x45b218
push 5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esp + 0xc], eax
test eax, eax
je 0x45b218
cmp dword [esi + 0x14], 7
jbe 0x45b0b5
mov esi, dword [esi]
push 0x24
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x45b20e
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [esp + 0x40]
push eax
push esi
call edi
test eax, eax
je 0x45b207
cmp dword [esp + 0x44], 1
je 0x45b205
lea eax, [esp + 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x45b207
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x45b13e
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x45b13e
push 0
push 0x3e8
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.004c0000
push edx
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
jmp 0x45b153
lea ecx, [esp + 0x30]
call fcn.00415d10
push 0
push 0xf4240
push dword [eax + 4]
push dword [eax]
call fcn.004c0000
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x40]
push eax
push esi
call edi
test eax, eax
je 0x45b207
mov eax, dword [esp + 0x44]
cmp eax, 1
je 0x45b205
cmp eax, 3
jne 0x45b207
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x45b1cf
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x45b1cf
push 0
push 0x3e8
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.004c0000
push edx
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
jmp 0x45b1e4
lea ecx, [esp + 0x10]
call fcn.00415d10
push 0
push 0xf4240
push dword [eax + 4]
push dword [eax]
call fcn.004c0000
sub eax, dword [esp + 0x20]
sbb edx, dword [esp + 0x28]
jne 0x45b207
jb 0x45b160
cmp eax, 0xea60
ja 0x45b207
jmp 0x45b160
mov bl, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x5c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472b2a
mov esp, ebp
pop ebp
ret

Function at 0x45bb80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x45bbb1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x45bba0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8