joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5388e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x68e381
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [esi], vtable._ckSymSettings.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x100
call fcn.00468060
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x2c], ebx
call fcn.00468060
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 1
call fcn.00468060
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 2
call fcn.00468060
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], 0x80
mov byte [esi + 0x8c], bl
mov byte [esi + 0x28], 1
mov byte [esi + 0x48], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x538990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68e3c1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable._ckSymSettings.0
lea ecx, [esi + 0x68]
mov dword [esp + 0x14], 2
call fcn.00468860
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 1
call fcn.00468860
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.00468860
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0xffffffff
call fcn.00468860
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x53e390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e740
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x78f694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
cmp esi, edi
je 0x53e46b
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
je 0x53e3d6
cmp ebx, 1
jne 0x53e46b
cmp dword [ebp + 0xc], 4
ja 0x53e46b
push 0xfa74
mov dword [ebp - 4], edi
call fcn.00609260
add esp, 4
cmp eax, edi
jne 0x53e413
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov dword [eax], esi
mov dword [esi + 0x20], eax
mov dword [eax + 4], 0xa
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0xc64], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov byte [eax + 0x28], bl
mov dword [eax + 0xc54], edi
mov dword [eax + 0xc50], edi
mov dword [eax + 0xc4c], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], ecx
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 0xc
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x54eaf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68fbc6
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
lea ecx, [esp + 0xc]
call fcn.00468060
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0
call fcn.00468d30
push 0
lea ecx, [esp + 0x10]
call fcn.00468d30
push 0
lea ecx, [esp + 0x10]
call fcn.00468d30
push 7
lea ecx, [esp + 0x10]
call fcn.00468d30
push 7
push 0x6ed9f4
lea ecx, [esp + 0x14]
call fcn.00469150
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x84]
call fcn.00557ed0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edi + 0x98]
call fcn.00557ed0
add esp, 8
lea ecx, [esp + 0x28]
call fcn.004cebe0
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 1
call fcn.004ceef0
mov ecx, esi
call fcn.00484e60
push str.ssh_rsa
mov ecx, esi
call fcn.00485280
mov ecx, edi
call fcn.00565590
push eax
mov ecx, esi
call fcn.00488660
push 0x20
mov ecx, esi
call fcn.00487e40
push esi
push 1
lea ecx, [esp + 0x8c]
push 0x10
push ecx
call fcn.00469c30
add esp, 0x10
mov ecx, esi
call fcn.00486e00
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 0
call fcn.004cec10
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.00468860
mov al, 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0062cbd3
add esp, 0xa4
ret
Function at 0x554bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x681708
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
test esi, esi
je 0x554cdd
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x554cdd
push str._____BEGIN_CERTIFICATE_____
push esi
call fcn.0047e430
add esp, 8
test eax, eax
je 0x554c65
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push edi
push esi
call fcn.00554090
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
push str._____BEGIN_PKCS7_____
call fcn.0047e460
push eax
push esi
push str._____BEGIN_PKCS7_____
call fcn.0047e350
add esp, 0x10
test eax, eax
jne 0x554ca8
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
push edi
push esi
call fcn.00554310
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
lea ecx, [esp + 0xc]
call fcn.00468060
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
mov dword [esp + 0x3c], 0
call fcn.004ba440
add esp, 0xc
test al, al
lea ecx, [esp + 0xc]
jne 0x554cf1
mov dword [esp + 0x30], 0xffffffff
call fcn.00468860
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
call fcn.00544a30
push eax
lea ecx, [esp + 0x18]
call fcn.00467d80
push eax
call fcn.00554d40
add esp, 0x10
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00468860
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x5585d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x690716
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 8]
mov dword [esi], vtable._ckEccPoint.0
mov dword [esi + 4], 4
call fcn.004ba590
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], 0
call fcn.004ba590
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004ba590
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x558640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x690716
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable._ckEccPoint.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.004ba6d0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 0
call fcn.004ba6d0
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ba6d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x56a3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69183b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x78f694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x40
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.00609260
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x56a431
mov ecx, esi
call fcn.004afb20
mov dword [esi], vtable.TreeNode.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x20], 1
mov byte [esi + 0x21], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], 0xce
mov byte [esi + 0x10], bl
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
xor esi, esi
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 0x5721e0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x224
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x220], eax
cmp byte [0x78c1d0], 0
push edi
mov edi, ecx
jne 0x572218
mov al, 1
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x224
ret
push ebp
push 0x190
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x18], 1
call fcn.00630180
mov ebp, dword [sym.imp.WS2_32.dll_WSAStartup]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x909
call ebp
cmp eax, 0x276c
mov dword [esp + 0xc], eax
jne 0x572305
mov ecx, 5
push esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 2
jmp 0x572274
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jl 0x5722c5
sub dword [esp + 0xc], 1
jns 0x57228f
sub ecx, 1
mov dword [esp + 0xc], 9
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x5722c5
xor edx, edx
mov dh, byte [esp + 0xc]
push 0x190
lea eax, [esp + 0x1c]
push 0
push eax
mov dl, cl
movzx esi, dx
call fcn.00630180
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push esi
call ebp
cmp eax, 0x276c
mov dword [esp + 0x10], eax
je 0x572270
test eax, eax
pop esi
jne 0x57230d
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
push str.Using_ws2_32.dll_version__d__d
lea ecx, [esp + 0x1e4]
push 0x50
push ecx
call fcn.004ac070
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
add esp, 0x14
lea eax, [esp + 0x1d8]
push eax
push str.ws2_32_DLL_Version
mov ecx, edi
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x572399
cmp eax, 0x276b
jne 0x572320
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.The_underlying_network_subsystem_is_not_ready_for_network_communication.
jmp 0x572395
cmp eax, 0x276c
jne 0x572333
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.The_version_of_Windows_Sockets_support_requested_is_not_provided_by_this_particular_Windows_Sockets_implementation.
jmp 0x572395
cmp eax, 0x2734
jne 0x572346
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.A_blocking_Windows_Sockets_1.1_operation_is_in_progress.
jmp 0x572395
cmp eax, 0x2753
jne 0x572359
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.Limit_on_the_number_of_tasks_supported_by_the_Windows_Sockets_implementation_has_been_reached.
jmp 0x572395
cmp eax, 0x271e
jne 0x57236c
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push str.The_lpWSAData_is_not_a_valid_pointer.
jmp 0x572395
lea eax, [esp + 0xc]
push eax
push str.WSAStartup_error:_0x_x
lea ecx, [esp + 0x1ac]
push 0x32
push ecx
call fcn.004ac050
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
add esp, 0x10
lea eax, [esp + 0x1a4]
push eax
mov ecx, edi
call edx
mov byte [0x78c1d0], 0
call fcn.005720f0
mov ecx, dword [esp + 0x228]
xor eax, eax
cmp dword [esp + 0xc], eax
pop ebp
sete al
pop edi
xor ecx, esp
call fcn.0062cbd3
add esp, 0x224
ret
Function at 0x572770
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0xd0], 0x4901fb2a
je 0x57279d
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Internal_error:_Socket_object_already_deleted.
call edx
push 0
call fcn.0047ab30
add esp, 4
pop ebx
ret 8
mov eax, dword [esp + 8]
cmp dword [ebx + 0xd8], eax
push esi
lea esi, [ebx + 0xd8]
je 0x57281e
test eax, eax
je 0x57281e
cmp eax, 0x1000
jb 0x57281e
cmp eax, 0x800000
jbe 0x5727c7
mov eax, 0x800000
shr eax, 0xc
shl eax, 0xc
cmp dword [ebx + 0x294], 0xffffffff
mov dword [esi], eax
je 0x57281e
push edi
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x121], 0
je 0x572803
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push str.Setting_SO_SNDBUF_size
mov ecx, edi
call edx
mov eax, dword [esi]
push eax
push str.sendBufSize
mov ecx, edi
call fcn.004b14c0
mov ecx, dword [ebx + 0x294]
push 4
push esi
push 0x1001
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
pop edi
pop esi
pop ebx
ret 8

Function at 0x5728c0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x294], 0xffffffff
je 0x57294b
cmp byte [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 1
mov dword [esp + 8], 0
je 0x57291e
cmp byte [ecx + 0x121], 0
je 0x5728ff
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push str.Turning_on_TCP_NODELAY.
call edx
mov ecx, dword [esi + 0x294]
push 4
lea eax, [esp + 8]
push eax
push 1
push 6
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 8
ret 8
cmp byte [ecx + 0x121], 0
je 0x572933
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push str.Turning_off_TCP_NODELAY.
call eax
mov edx, dword [esi + 0x294]
push 4
lea ecx, [esp + 0xc]
push ecx
push 1
push 6
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 8
ret 8

Function at 0x572960
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [ecx + 0x294]
sub esp, 8
cmp eax, 0xffffffff
jne 0x572976
xor al, al
add esp, 8
ret 8
cmp byte [esp + 0xc], 0
mov dword [esp], 1
mov dword [esp + 4], 0
push 4
je 0x572995
lea ecx, [esp + 4]
push ecx
jmp 0x57299a
lea edx, [esp + 8]
push edx
push 8
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov al, 1
add esp, 8
ret 8
Function at 0x573f40
Capabilities:
Get socket status

Disassembly:
push 0xffffffffffffffff
push 0x6920ab
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x870]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x880]
mov ecx, ebp
call fcn.00512090
mov esi, dword [esp + 0x884]
push esi
mov ecx, ebp
call fcn.005120d0
test al, al
je 0x573fa7
mov byte [ebp + 0x15], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Wait_for_data_on_socket_aborted_by_app
mov ecx, esi
call edx
jmp 0x57408a
cmp dword [ebx + 0x294], 0xffffffff
jne 0x573fc7
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Cannot_wait_for_socket_data:_not_connected__invalid_socket_
mov ecx, esi
call edx
mov byte [ebp + 0x16], 1
jmp 0x57408a
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.004afc30
mov eax, 0x3004bc8d
mov dword [esp + 0x1c], vtable.ckFdSet.0
mov dword [esp + 0x24], eax
mov dword [esp + 0x86c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x878], edi
call fcn.005725d0
mov eax, dword [ebx + 0x294]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00572620
test al, al
jne 0x574028
mov byte [ebp + 0x16], 1
mov dword [esp + 0x878], 0xffffffff
jmp 0x57406e
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.WS2_32.dll_select]
or ecx, 0xffffffff
cmp eax, ecx
je 0x574067
cmp eax, edi
jl 0x574067
mov dword [esp + 0x878], ecx
lea ecx, [esp + 0x1c]
jne 0x57405e
mov byte [ebp + 0x14], 1
call fcn.005725b0
jmp 0x57408a
call fcn.005725b0
mov al, 1
jmp 0x57408c
mov dword [esp + 0x878], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.ckFdSet.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x86c], edi
call fcn.004afc40
xor al, al
mov ecx, dword [esp + 0x870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x868
ret 8
Function at 0x5744d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69215f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.ChilkatSocket.0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x10], vtable._ckSockBulkSendBehavior.0
mov byte [esi + 0x18], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.005d1560
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov byte [esi + 0xc8], bl
lea ecx, [esi + 0xe0]
mov dword [esp + 0x18], ebx
mov dword [esi + 0xd0], 0x4901fb2a
mov byte [esi + 0xd4], bl
mov byte [esi + 0xd5], bl
mov byte [esi + 0xd6], bl
call fcn.005a5f10
lea ecx, [esi + 0x128]
mov byte [esp + 0x18], 1
call fcn.005a5f10
lea ecx, [esi + 0x170]
mov byte [esp + 0x18], 2
call fcn.005d1560
lea ecx, [esi + 0x200]
mov byte [esp + 0x18], 3
call fcn.005d1560
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 4
mov byte [esi + 0x290], bl
mov byte [esi + 0x291], bl
mov byte [esi + 0x292], bl
mov dword [esi + 0x294], 0xffffffff
mov dword [esi + 0x298], 2
mov dword [esi + 0x2a0], ebx
call fcn.00468060
lea ecx, [esi + 0x2c4]
mov byte [esp + 0x18], 5
call fcn.00485650
mov byte [esp + 0x18], 6
mov byte [esi + 0x338], 1
mov byte [esi + 0x339], 1
mov dword [esi + 0x33c], ebx
mov byte [esi + 0x340], bl
mov byte [esi + 0x341], bl
mov byte [esi + 0x342], bl
call fcn.005723d0
mov eax, dword [0x78c1c8]
mov dword [esi + 0x29c], eax
add eax, 1
mov dword [esi + 0x16c], 1
mov dword [esi + 0x124], 2
mov dword [0x78c1c8], eax
mov eax, dword [0x77f688]
mov dword [esi + 0xd8], eax
mov ecx, dword [0x77f68c]
mov dword [esi + 0xdc], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x574680
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x692188
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
push str.ck_getsockname_ipv4
mov ebp, ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004b1850
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.00484ec0
mov dword [ebx], 0
mov eax, dword [ebp + 0x294]
or ebp, 0xffffffff
cmp eax, ebp
je 0x574768
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, ebp
je 0x574746
test eax, eax
jl 0x574746
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, edi
call fcn.00487140
mov ecx, dword [esp + 0x26]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
lea ecx, [esp + 0x18]
mov dword [ebx], edx
mov dword [esp + 0x40], ebp
call fcn.004b18c0
mov al, 1
jmp 0x574785
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_getsockname
mov ecx, esi
call edx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
push 0
push eax
call fcn.00572a30
add esp, 0xc
jmp 0x574776
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Cannot_get_socket_name:_INVALID_SOCKET.
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], ebp
call fcn.004b18c0
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x30
ret 0xc
Function at 0x5747b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x6921b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
push str.ck_getsockname_ipv6
mov ebp, ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004b1850
mov ecx, edi
mov dword [esp + 0x4c], 0
call fcn.00484ec0
mov dword [ebx], 0
mov eax, dword [ebp + 0x294]
or ebp, 0xffffffff
cmp eax, ebp
je 0x574897
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x20], 0x1c
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, ebp
je 0x574875
test eax, eax
jl 0x574875
mov ecx, edi
call fcn.00484ec0
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.00571ae0
mov eax, dword [esp + 0x26]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov dword [ebx], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebp
call fcn.004b18c0
mov al, 1
jmp 0x5748b4
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_getsockname_ipv6
mov ecx, esi
call eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
push 0
push eax
call fcn.00572a30
add esp, 0xc
jmp 0x5748a5
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Cannot_get_socket_name:_INVALID_SOCKET.
mov ecx, esi
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebp
call fcn.004b18c0
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x3c
ret 0xc

Function at 0x5748e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x697238
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
push str.domainLookup_ipv4
push esi
lea ecx, [esp + 0x14]
call fcn.004b1850
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x40], 0
call fcn.00572f00
add esp, 0x20
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.004b18c0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x5754f0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x6922bb
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov eax, dword [esp + 0x178]
mov edi, ecx
cmp dword [edi + 0x294], 0xffffffff
mov ecx, dword [esp + 0x17c]
mov dword [esp + 0x14], ecx
je 0x575624
mov ebp, dword [esp + 0x174]
test ebp, ebp
je 0x57555f
cmp ebp, 0x7530
jbe 0x575564
mov ebp, 0x7530
push eax
lea ecx, [esp + 0x1c]
call fcn.00511e20
mov dword [esp + 0x16c], 0
call sub.KERNEL32.dll_GetTickCount
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push 0
push 0x20
lea edx, [esp + 0x148]
mov esi, eax
mov eax, dword [edi + 0x294]
push edx
push eax
call ebx
test eax, eax
je 0x5755df
cmp eax, 0xffffffff
je 0x5755a8
test eax, eax
jge 0x5755b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x575610
call sub.KERNEL32.dll_GetTickCount
cmp eax, esi
jae 0x5755c0
mov esi, eax
sub eax, esi
cmp eax, ebp
jae 0x575610
mov edx, dword [edi + 0x294]
push 0
push 0x20
lea ecx, [esp + 0x148]
push ecx
push edx
call ebx
test eax, eax
jne 0x57559f
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x121], 0
je 0x5755f8
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push str.TCP_connection_cleanly_closed_by_peer.
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00511f00
mov al, 1
jmp 0x575626
lea ecx, [esp + 0x18]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00511f00
xor al, al
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x15c
ret 0xc