joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154f0
Capabilities:
Get socket status

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0e2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2a4], ecx
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0x298]
push 0x48
push 0
push eax
mov dword [ebp - 0x2a0], edi
mov byte [ebp - 0x299], 0
call fcn.0049cdf0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x298]
push 0x40
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0x186a0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x28], 0xffffffff
call fcn.00478c60
add esp, 0x18
test eax, eax
jne 0x41572e
lea eax, [ebp - 0x28]
push eax
push 0x415770
push 2
push dword [ebp - 0x2a4]
push dword [ebp - 0x24c]
call fcn.004784a0
call fcn.00459f00
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2ac], edx
push eax
push dword [ebp - 0x24c]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x140], 0
call fcn.00478360
add esp, 0x20
test eax, eax
je 0x4156cb
mov esi, dword [sym.imp.WS2_32.dll_select]
mov edi, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x248]
push ecx
push eax
call esi
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x24c]
call fcn.0047acc0
add esp, 0xc
call fcn.00459f00
sub eax, edi
sbb edx, dword [ebp - 0x2ac]
jne 0x4156c5
jb 0x415691
cmp eax, 0x3e8
ja 0x4156c5
lea eax, [ebp - 0x140]
mov dword [ebp - 0x248], 0
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x140], 0
push eax
push dword [ebp - 0x24c]
call fcn.00478360
add esp, 0xc
test eax, eax
jne 0x415646
mov edi, dword [ebp - 0x2a0]
push dword [ebp - 0x24c]
call fcn.00478880
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x41572e
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x299], 1
mov dword [ebp - 0x2a0], eax
cmp esi, eax
je 0x41572e
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x41571a
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
add dword [edi + 4], 0x1c
jmp 0x415723
push esi
push ecx
mov ecx, edi
call fcn.00415180
add esi, 0x1c
cmp esi, dword [ebp - 0x2a0]
jne 0x4156f6
lea ecx, [ebp - 0x20]
call fcn.004075b0
mov al, byte [ebp - 0x299]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4160b0
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0
push 1
push 2
mov ebx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x25a207b9
mov dword [ebp - 0x14], 0x4660ddf3
mov dword [ebp - 0x10], 0xe576e98e
mov dword [ebp - 0xc], 0x3e06748c
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x416223
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0x1c], 0
push eax
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], 0
push eax
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0xc8000006
push esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov eax, dword [ebp - 0x1c]
push esi
mov dword [ebx + 0x30], eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebx + 0x30], 0
je 0x416223
cmp dword [ebx + 4], 0xffffffff
lea esi, [ebx + 4]
mov dword [esi + 0x14], ebx
jne 0x416223
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x416223
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, 2
nop word [eax + eax]
push 0
push 0
push esi
push 0x415eb0
push 0
push 0
call fcn.004a09bc
add esp, 0x18
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4161bb
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 0x10]
je 0x4161ae
mov dword [ecx], eax
add dword [esi + 0xc], 4
jmp 0x4161bb
lea eax, [ebp - 8]
push eax
push ecx
lea ecx, [esi + 8]
call fcn.004197f0
sub edi, 1
jne 0x416180
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
test eax, 0xfffffffc
je 0x416223
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x1c], 0x504a18
cmp dword [eax + 0x14], 0xf
jbe 0x4161df
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 1
push ebx
push 0x416700
push 0
push 0x1388
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0x50], 0
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov dword [ebx + 0xbc], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047299a
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41a930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c072d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x50595c], 0
jne 0x41a9e7
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x50595c], eax
test eax, eax
jne 0x41a980
xor al, al
jmp 0x41a9e9
push 0x10
mov byte [0x50590c], 1
call fcn.00472c0c
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], 0x41a3b0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x504a18
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x41be00
push 0
push 0
call fcn.004a09bc
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41aa02
cmp dword [0x505914], 0
jne 0x41aa10
mov eax, dword [ebp - 0x18]
mov dword [0x505910], ecx
mov dword [0x505914], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.00473f18
call fcn.004a0a6d
int3
Function at 0x41c3d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, ecx
test edi, edi
jne 0x41c464
call fcn.0041c120
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x50], ecx
mov dword [edi + 0x20], 4
mov dword [edi + 0x1c], edx
mov eax, dword [edi + 0x48]
mov ecx, eax
mov edx, dword [edi + 0x44]
sub ecx, edx
mov dword [ebp - 0x20], eax
cmp ecx, 0x10000
jbe 0x41c429
lea eax, [edx + 0x10000]
jmp 0x41c461
jae 0x41c464
mov eax, dword [edi + 0x4c]
sub eax, edx
cmp eax, 0x10000
jae 0x41c447
push ecx
push 0x10000
lea ecx, [edi + 0x44]
call fcn.0040ae50
jmp 0x41c464
mov esi, 0x10000
sub esi, ecx
push esi
push 0
push dword [ebp - 0x20]
call fcn.0049cdf0
mov eax, dword [ebp - 0x20]
add esp, 0xc
add eax, esi
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x44]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x48]
sub eax, dword [edi + 0x44]
push 0
mov dword [ebp - 0x18], eax
lea eax, [edi + 0x40]
push edi
push eax
mov dword [ebp - 0xc], 0
mov dword [eax], 0x1c
lea eax, [edi + 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
test eax, eax
je 0x41c4cd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x41c4cd
push edi
push esi
push 0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x41c4cd
push edi
mov ecx, ebx
call fcn.0041c2a0
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047299a
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41d020
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1525
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 - 0x10], edx
mov dword [ebp - 0x20], edi
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
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.0041d410
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41d0aa
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x41d1d9
cmp dword [ebx + 8], 0xccccccc
je 0x41d1ef
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x24], 0
call fcn.00472c0c
mov ecx, dword [ebp - 0x10]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], esi
add esp, 4
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
movq qword [esi + 0xc], xmm0
mov dword [esi + 0x10], 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 + 0x4f5300]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4f5300]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x41d18c
divss xmm0, xmm3
call fcn.00401470
call fcn.004bfb80
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x41d16e
cmp eax, 0x200
jae 0x41d16c
shl eax, 3
cmp eax, ecx
jae 0x41d16e
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0041d2a0
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d410
mov edx, dword [eax]
jmp 0x41d18f
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x41d1ba
mov dword [ecx + eax*8], esi
jmp 0x41d1cc
cmp ebx, edx
jne 0x41d1c3
mov dword [ecx + eax*8], esi
jmp 0x41d1d0
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41d1d0
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
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.004741ba
int3
Function at 0x41d2a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x41d3fa
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00407750
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x41d3cd
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x41d353
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x41d3c3
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x41d38d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x41d385
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x41d3c0
cmp edi, edx
je 0x41d39d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x41d3d6
cmp edi, edx
jne 0x41d391
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x41d302
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x41d3c0
push str.invalid_hash_bucket_count
call fcn.004741ba
int3
Function at 0x41dbc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c15c5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [esi + 0xd08]
push eax
mov dword [ebp - 0x1c], eax
call fcn.00474979
mov ebx, dword [esi + 0xd0c]
lea ecx, [esi + 0xd0c]
xor eax, eax
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
add esp, 4
mov edx, dword [ebx]
cmp edx, ebx
je 0x41dc53
mov esi, dword [edx]
cmp dword [edx + 8], edi
jne 0x41dc4a
dec dword [ecx + 4]
mov ecx, dword [edx]
mov dword [edx], 0
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov edx, esi
cmp esi, ebx
jne 0x41dc25
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41dc6a
mov esi, dword [eax]
push 0xc
push eax
call fcn.00472bfe
add esp, 8
mov eax, esi
test esi, esi
jne 0x41dc57
push dword [ebp - 0x1c]
call fcn.00474995
add esp, 4
lea edx, [edi + 4]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x41dcf2
call fcn.00459f00
mov dword [edi + 0x118], eax
push 8
mov dword [edi + 0x11c], edx
mov dword [ebp - 4], 0
call fcn.00472c0c
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x423580
push 0
push 0
call fcn.004a09bc
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41dd1e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x41dd10
push ecx
push eax
call fcn.00474853
add esp, 8
test eax, eax
jne 0x41dd17
jmp 0x41dcf2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.00473f18
push 1
call fcn.00473f18
push 6
mov dword [ebp - 0x20], 0
call fcn.00473f18
int3
Function at 0x4203e0
Capabilities:
Connect socket
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x12c
mov eax, dword [0x501040]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x10], xmm0
call fcn.00459f00
push 0x10
lea eax, [esp + 0x14]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x420480
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x420469
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
push ecx
push 0
inc eax
mov dword [esp + 0x30], 1
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x186a0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x420469
jns 0x420480
xor al, al
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0047299a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x12c]
mov al, 1
pop esi
xor ecx, esp
call fcn.0047299a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4218a0
Capabilities:
List udp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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 dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], 0
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x20]
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.00421ef0
mov dword [ebp - 4], 0
push 0
push 2
push 2
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x54]
lea edi, [ebx + 0x54]
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
cmp eax, 0x7a
jne 0x42195f
mov eax, dword [ebp - 0x20]
lea ebx, [eax + eax]
push ebx
mov dword [ebp - 0x20], ebx
call fcn.00472c3c
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.0049cdf0
or dword [ebp - 0x18], 1
lea eax, [ebp - 0x34]
add esp, 0xc
cmp edi, eax
je 0x421947
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x421954
push eax
jmp 0x42194c
test esi, esi
je 0x421954
push esi
call fcn.00472e5d
add esp, 4
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x5c], eax
jmp 0x4218f4
test eax, eax
jne 0x421a42
mov ecx, dword [edi]
xor edi, edi
mov dword [ebp - 0x24], ecx
nop
cmp edi, dword [ecx]
jae 0x421a3e
lea esi, [edi + edi*4]
xorps xmm0, xmm0
shl esi, 5
lea eax, [ebp - 0x1c]
add esi, ecx
movlpd qword [ebp - 0x1c], xmm0
lea ebx, [esi + 8]
push ebx
push eax
call fcn.00421ff0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x421a03
movzx eax, word [esi + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x2c], cx
mov ecx, dword [ebp - 0x28]
push eax
call fcn.00421ed0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov esi, dword [eax + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
test esi, esi
je 0x421a03
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x421a03
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x421a03
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x421a2f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x421a2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x421a2f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
inc edi
jmp 0x421970
mov al, 1
jmp 0x421a44
xor al, al
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.0047299a
mov esp, ebp
pop ebp
ret
Function at 0x421a60
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call fcn.00421f80
nop dword [eax]
push 0
push 7
push 2
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x50]
lea edi, [ebx + 0x50]
call dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
cmp eax, 0x7a
jne 0x421b1b
mov eax, dword [ebp - 0x20]
lea ebx, [eax + eax]
push ebx
mov dword [ebp - 0x20], ebx
call fcn.00472c3c
add esp, 4
mov esi, eax
push ebx
push 0
push esi
call fcn.0049cdf0
or dword [ebp - 0x24], 1
lea eax, [ebp - 0x3c]
add esp, 0xc
cmp edi, eax
je 0x421b03
mov eax, dword [edi]
mov dword [edi], esi
test eax, eax
je 0x421b10
push eax
jmp 0x421b08
test esi, esi
je 0x421b10
push esi
call fcn.00472e5d
add esp, 4
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x58], eax
jmp 0x421ab0
test eax, eax
jne 0x421c1b
mov ecx, dword [edi]
xor edi, edi
mov dword [ebp - 0x24], ecx
nop word [eax + eax]
cmp edi, dword [ecx]
jae 0x421c17
lea ebx, [edi + edi*4]
xorps xmm0, xmm0
shl ebx, 5
add ebx, ecx
movlpd qword [ebp - 0x1c], xmm0
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00422170
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x421bdc
movzx eax, word [ebx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx esi, ax
movzx eax, word [ebx + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebx + 0xc]
movzx edx, ax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x28]
push eax
mov word [ebp - 0x34], dx
mov word [ebp - 0x2c], si
call fcn.00421f60
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov esi, dword [eax + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
test esi, esi
je 0x421bdc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x421bdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x421bdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x421c08
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x421c08
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x421c08
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
inc edi
jmp 0x421b30
mov al, 1
jmp 0x421c1d
xor al, al
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.0047299a
mov esp, ebp
pop ebp
ret