joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416280
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x4c4]
lea edi, [ebx + 0x200]
push 0x80
push 0
push edi
mov esi, dword [eax]
mov byte [ebp - 0x15], 1
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x416358
cmp byte [0x6b2b20], 0
je 0x416354
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402750
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 0x10
jb 0x416311
mov ecx, dword [ecx]
cmp dword [ebx + 0x414], 0x10
lea eax, [ebx + 0x400]
jb 0x416322
mov eax, dword [eax]
push ecx
push eax
push str._s_getsockname_failed__s_
push 2
push 0x6b2b20
call fcn.004030c0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x416354
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00408cd0
mov byte [ebp - 0x15], 0
mov eax, dword [ebx + 0x4c4]
lea edi, [ebx + 0x280]
push 0x80
push 0
push edi
mov esi, dword [eax]
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
jne 0x4163f8
cmp byte [0x6b2b20], 0
je 0x4163f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402750
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0x10
jb 0x4163b8
mov ecx, dword [ecx]
cmp dword [ebx + 0x414], 0x10
lea eax, [ebx + 0x400]
jb 0x4163c9
mov eax, dword [eax]
push ecx
push eax
push str._s_getpeername_failed__s_
push 2
push 0x6b2b20
call fcn.004030c0
mov eax, dword [ebp - 0x34]
add esp, 0x14
cmp eax, 0x10
jb 0x4163f4
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00408cd0
xor al, al
jmp 0x4163fb
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
Function at 0x416a00
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov eax, dword [edx + 0x4c4]
lea edi, [edx + 0xfc]
mov dword [edi], 0
lea esi, [edx + 0x100]
mov eax, dword [eax]
mov dword [esi], eax
inc dword [edi]
mov ebx, dword [edx + 0x4b8]
mov eax, dword [edi]
cmp ebx, 0xffffffff
je 0x416a83
xor ecx, ecx
test eax, eax
je 0x416a6f
mov edx, esi
cmp dword [edx], ebx
je 0x416a6c
inc ecx
add edx, 4
cmp ecx, eax
jb 0x416a60
mov edx, dword [ebp - 0x10]
cmp ecx, eax
jne 0x416a83
cmp eax, 0x40
jae 0x416a83
mov dword [edx + ecx*4 + 0x100], ebx
inc dword [edi]
mov eax, dword [edi]
mov ebx, dword [edx + 0x4bc]
test ebx, ebx
je 0x416aca
xor ecx, ecx
test eax, eax
je 0x416ab2
mov ebx, dword [ebx + 0xc8]
nop dword [eax]
cmp dword [esi], ebx
je 0x416aac
inc ecx
add esi, 4
cmp ecx, eax
jb 0x416aa0
mov ebx, dword [edx + 0x4bc]
cmp ecx, eax
jne 0x416aca
cmp eax, 0x40
jae 0x416aca
mov eax, dword [ebx + 0xc8]
mov dword [edx + ecx*4 + 0x100], eax
inc dword [edi]
lea eax, [edx + 0xf4]
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416b37
cmp byte [0x6b2b20], 0
je 0x416b37
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.004029b0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x416b0d
mov eax, dword [eax]
push eax
push str.https_proxy__session_work__select_failed__s_
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp eax, 8
jb 0x416b37
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408960
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416cc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606818
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x450]
mov edi, dword [esi + 0x43c]
mov ebx, dword [esi + 0x438]
sub edi, edx
push edi
add ebx, edx
push 0
push ebx
call fcn.005d2630
add esp, 0xc
cmp byte [esi + 0x460], 0
je 0x416dd6
mov ecx, dword [esi + 0x4b8]
cmp ecx, 0xffffffff
je 0x416e95
lea eax, [esi + 0xfc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x416e95
push 0
push edi
push ebx
push dword [esi + 0x4b8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x416e54
cmp byte [0x6b2b20], 0
je 0x416e3f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00402750
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x416d84
mov eax, dword [eax]
add esi, 0x418
cmp dword [esi + 0x14], 0x10
jb 0x416d92
mov esi, dword [esi]
push eax
push esi
push str._s_recv_failed__s_
push 3
push 0x6b2b20
call fcn.004030c0
mov eax, dword [ebp - 0x10]
add esp, 0x14
cmp eax, 0x10
jb 0x416e3f
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00408cd0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x4bc]
test ecx, ecx
je 0x416e95
lea eax, [esi + 0xfc]
push eax
push dword [ecx + 0xc8]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x416e95
push ecx
mov ecx, dword [esi + 0x4bc]
push edi
push ebx
call fcn.00413730
mov edi, eax
test edi, edi
jg 0x416e54
cmp byte [0x6b2b20], 0
je 0x416e3f
add esi, 0x418
cmp dword [esi + 0x14], 0x10
jb 0x416e2a
mov esi, dword [esi]
push esi
push str._s_recv_failed
push 3
push 0x6b2b20
call fcn.004030c0
add esp, 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x6b2b20], 0
je 0x416e81
add esi, 0x418
cmp dword [esi + 0x14], 0x10
jb 0x416e6b
mov esi, dword [esi]
push edi
push esi
push str._s_recv_len_d
push 1
push 0x6b2b20
call fcn.004030c0
add esp, 0x14
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416eb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606f08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x6b2b20], 0
mov edi, dword [ebp + 0xc]
je 0x416f0c
cmp dword [esi + 0x42c], 0x10
lea eax, [esi + 0x418]
jb 0x416ef6
mov eax, dword [eax]
push edi
push eax
push str._s_send_len_u
push 1
push 0x6b2b20
call fcn.004030c0
add esp, 0x14
cmp byte [esi + 0x460], 0
je 0x416fae
push 0
push edi
push dword [ebp + 8]
push dword [esi + 0x4b8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x417002
cmp byte [0x6b2b20], 0
je 0x416fed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00402750
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x416f60
mov eax, dword [eax]
add esi, 0x418
cmp dword [esi + 0x14], 0x10
jb 0x416f6e
mov esi, dword [esi]
push eax
push esi
push str._s_send_failed__s_
push 3
push 0x6b2b20
call fcn.004030c0
mov eax, dword [ebp - 0x10]
add esp, 0x14
cmp eax, 0x10
jb 0x416fed
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00408cd0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x4bc]
push edi
push dword [ebp + 8]
call fcn.004135d0
test eax, eax
jg 0x417002
cmp byte [0x6b2b20], 0
je 0x416fed
add esi, 0x418
cmp dword [esi + 0x14], 0x10
jb 0x416fd8
mov esi, dword [esi]
push esi
push str._s_send_failed
push 3
push 0x6b2b20
call fcn.004030c0
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x419840
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607446
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov edx, dword [edi + 8]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x14], edx
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x12]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x11]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4198e0
cmp dword [ecx], edi
jne 0x4198d8
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x4198e8
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4198e8
cmp dword [ecx], edi
jne 0x4198eb
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x41992c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x41992c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x41992c
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
push edi
call fcn.00569dc0
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret 8
Function at 0x419fa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6074e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6ab0d4]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
movzx eax, al
xor eax, 0x811c9dc5
mov edx, dword [ebp + 8]
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x20]
movzx eax, ah
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edx
xor ecx, eax
movzx eax, byte [ebp - 0x1a]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x19]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + ecx]
cmp eax, dword [ebx + 4]
jne 0x41a03d
mov esi, dword [ebx + 4]
jmp 0x41a043
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x41a05c
mov ecx, dword [ebp - 0x20]
nop word [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x41a08d
cmp esi, eax
jne 0x41a050
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 4]
push dword [ebp - 0x18]
mov edi, dword [eax]
push dword [edi + 4]
push edi
call fcn.0041a5d0
mov ecx, 0xffffffe
mov edx, eax
sub ecx, dword [ebx + 8]
cmp ecx, 1
jae 0x41a0b3
push str.list_T__too_long
call fcn.00566983
mov dword [edx], esi
mov eax, edx
mov byte [edx + 4], 0
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.005697c8
mov esp, ebp
pop ebp
ret 0xc
inc dword [ebx + 8]
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x41a0ed
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x1c]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x41a107
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x41a127
cmp eax, esi
jne 0x41a10f
mov dword [ecx], edi
jmp 0x41a127
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x41a127
add edx, dword [ebx + 0xc]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0041a230
mov eax, dword [ebp - 0x24]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x41a095
Function at 0x41a3a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607516
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6ab0d4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x24], ebx
mov edx, dword [eax]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x1c], edx
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x1a]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x19]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + ecx]
cmp eax, dword [ebx + 4]
jne 0x41a434
mov esi, dword [ebx + 4]
jmp 0x41a43a
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x41a44c
nop
mov esi, dword [esi + 4]
cmp edx, dword [esi + 8]
je 0x41a49b
cmp esi, eax
jne 0x41a440
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x41a47c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 4], edx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x41a511
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx + 4], edi
jmp 0x41a536
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov byte [ebp - 4], 1
mov edi, dword [edi + 0xc]
test edi, edi
je 0x41a4df
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41a4df
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x41a4df
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push dword [ebp - 0x1c]
call fcn.00569dc0
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
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.005697c8
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x41a519
mov dword [ecx], edi
jmp 0x41a536
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x41a536
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx + 4]
mov eax, dword [eax + 4]
mov dword [edx + ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.0041a230
mov eax, dword [ebp - 0x20]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x41a4f3
Function at 0x41a8c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x4b0]
lea edi, [ebx + 0x200]
push 0x80
push 0
push edi
mov byte [ebp - 0x15], 1
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x41a996
cmp byte [0x6b2b20], 0
je 0x41a992
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402750
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41a94f
mov ecx, dword [ecx]
cmp dword [ebx + 0x414], 0x10
lea eax, [ebx + 0x400]
jb 0x41a960
mov eax, dword [eax]
push ecx
push eax
push str._s_getsockname_failed__s_
push 2
push 0x6b2b20
call fcn.004030c0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x41a992
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00408cd0
mov byte [ebp - 0x15], 0
mov esi, dword [ebx + 0x4b0]
lea edi, [ebx + 0x280]
push 0x80
push 0
push edi
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
jne 0x41aa34
cmp byte [0x6b2b20], 0
je 0x41aa30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402750
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0x10
jb 0x41a9f4
mov ecx, dword [ecx]
cmp dword [ebx + 0x414], 0x10
lea eax, [ebx + 0x400]
jb 0x41aa05
mov eax, dword [eax]
push ecx
push eax
push str._s_getpeername_failed__s_
push 2
push 0x6b2b20
call fcn.004030c0
mov eax, dword [ebp - 0x34]
add esp, 0x14
cmp eax, 0x10
jb 0x41aa30
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00408cd0
xor al, al
jmp 0x41aa37
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
Function at 0x41aa60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6ab0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x4b4]
lea edi, [ebx + 0x300]
push 0x80
push 0
push edi
mov byte [ebp - 0x15], 1
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x41ab36
cmp byte [0x6b2b20], 0
je 0x41ab32
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00402750
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41aaef
mov ecx, dword [ecx]
cmp dword [ebx + 0x42c], 0x10
lea eax, [ebx + 0x418]
jb 0x41ab00
mov eax, dword [eax]
push ecx
push eax
push str._s_getsockname_failed__s_
push 2
push 0x6b2b20
call fcn.004030c0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x41ab32
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00408cd0
mov byte [ebp - 0x15], 0
mov esi, dword [ebx + 0x4b4]
lea edi, [ebx + 0x380]
push 0x80
push 0
push edi
call fcn.005d2630
add esp, 0xc
mov dword [ebp - 0x14], 0x80
lea eax, [ebp - 0x14]
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
jne 0x41abd4
cmp byte [0x6b2b20], 0
je 0x41abd0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402750
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0x10
jb 0x41ab94
mov ecx, dword [ecx]
cmp dword [ebx + 0x42c], 0x10
lea eax, [ebx + 0x418]
jb 0x41aba5
mov eax, dword [eax]
push ecx
push eax
push str._s_getpeername_failed__s_
push 2
push 0x6b2b20
call fcn.004030c0
mov eax, dword [ebp - 0x34]
add esp, 0x14
cmp eax, 0x10
jb 0x41abd0
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00408cd0
xor al, al
jmp 0x41abd7
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005697c8
mov esp, ebp
pop ebp
ret
Function at 0x41ad90
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6075a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6ab0d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x4b0]
lea edi, [ebx + 0xfc]
mov dword [edi], 0
lea edx, [ebx + 0x100]
mov dword [edx], eax
inc dword [edi]
mov ecx, dword [ebx + 0x4b4]
mov esi, dword [edi]
cmp ecx, 0xffffffff
je 0x41ae0e
xor eax, eax
test esi, esi
je 0x41adfc
nop dword [eax]
cmp dword [edx], ecx
je 0x41adfc
inc eax
add edx, 4
cmp eax, esi
jb 0x41adf0
cmp eax, esi
jne 0x41ae0e
cmp esi, 0x40
jae 0x41ae0e
mov dword [ebx + eax*4 + 0x100], ecx
inc dword [edi]
lea eax, [ebx + 0xf4]
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41ae7d
cmp byte [0x6b2b20], 0
je 0x41ae7b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004029b0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x41ae51
mov eax, dword [eax]
push eax
push str.http_proxy__session_work__select_failed__s_
push 3
push 0x6b2b20
call fcn.00403570
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp eax, 8
jb 0x41ae7b
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00408960
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret