joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d4b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10096d04
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x50]
mov ebp, ecx
sub esp, 0x1c
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x44], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, ebp
call fcn.1002bc40
mov esi, dword [esp + 0x48]
mov edi, eax
test edi, edi
jne 0x1002d54d
push 0xa0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x24], 1
je 0x1002d544
push esi
sub esp, 0x1c
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
call fcn.1002b0b0
jmp 0x1002d546
xor eax, eax
mov byte [esp + 0x24], 0
mov edi, eax
push esi
mov ecx, edi
call fcn.1002b220
mov ecx, dword [esp + 0x4c]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
push ebx
sub esi, eax
push ecx
sub esi, 1
push esi
mov ecx, edi
call fcn.1002b620
push edi
sub esp, 0x1c
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, ebp
call fcn.1002cbc0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x28
Function at 0x1002d610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10096d28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100cc8ec]
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.XWCertRetrieve.0
mov eax, dword [esi + 8]
push str.XWCertRetrieve::XWCertRetrieve____finalized.
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.100772b0
mov dword [0x100cc930], ebx
lea ecx, [esi + 0x14]
push ecx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call sub.XecureAcIO.dll_XFA_BIN_Reset
lea edx, [esi + 0x1c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 4]
add esp, 0x10
cmp ecx, ebx
mov byte [esi + 0x38], bl
je 0x1002d69a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi], vtable.IXWCertRetrieve.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x10030220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100973d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x10
mov dword [esp + 0x1c], 0
mov dword [esi], vtable.XWCertRetrieve.0
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 1
je 0x10030278
mov ecx, eax
call fcn.10066540
jmp 0x1003027a
xor eax, eax
push 0
mov byte [esp + 0x1c], 0
mov dword [esi + 4], eax
call fcn.10077110
add esp, 4
mov dword [esi + 8], eax
call fcn.10008000
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1009ec09
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10064fd0
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [esi + 0x38], al
mov eax, dword [esi + 8]
push str.XWCertRetrieve::XWCertRetrieve____Initialized.
push eax
call fcn.100772b0
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x10053bb0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___START_
push eax
call fcn.100772b0
mov ecx, dword [esi + 0x50]
push ebx
push str._CORE__XWSSLClient::connectXgate__IN_ip:__s_
push ecx
call fcn.100772b0
mov ebp, dword [esp + 0x40]
mov edx, dword [esi + 0x50]
push ebp
push str._CORE__XWSSLClient::connectXgate__IN_port:__d_
push edx
call fcn.100772b0
add esp, 0x20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov edi, eax
cmp edi, 0xffffffff
mov dword [esi + 0x40], edi
jne 0x10053c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate__socket_create_fail__GetLastError:_d_
push eax
call fcn.100772b0
mov ecx, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___END_
push ecx
call fcn.100772b0
add esp, 0x14
or eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10090524
add esp, 0x14
ret 8
xor eax, eax
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x10053c8a
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [esp + 0x1c]
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x10053c94
push ebx
call sub.WS2_32.dll_inet_addr
mov dword [esp + 0x14], eax
push ebp
call sub.WS2_32.dll_htons
mov word [esp + 0x12], ax
push 0x10
lea eax, [esp + 0x14]
push eax
push edi
call sub.WS2_32.dll_connect
test eax, eax
je 0x10053cf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x50]
push eax
push str._CORE__XWSSLClient::connectXgate__connect_fail__GetLastError:_d_
push ecx
call fcn.100772b0
add esp, 0xc
push edi
call sub.WS2_32.dll_closesocket
mov edx, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___END_
push edx
call fcn.100772b0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10090524
add esp, 0x14
ret 8
mov eax, dword [esi + 0x50]
push str._CORE__XWSSLClient::connectXgate___COMPLETE_
push eax
call fcn.100772b0
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090524
add esp, 0x14
ret 8
Function at 0x10054850
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x1009a02d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push ebx
mov dword [esp + 0x1b4], ebx
call fcn.10077110
add esp, 4
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x1009ec09
mov dword [esi + 0x50], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10064fd0
mov dword [esi + 0x48], eax
call fcn.10031820
push 0x10
mov dword [esi + 0x44], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x24
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0x1b0], 1
je 0x100548fb
mov ecx, eax
call fcn.10066540
jmp 0x100548fd
xor eax, eax
mov ecx, esi
mov byte [esp + 0x1b0], bl
mov dword [esi + 0x4c], eax
mov dword [esi + 0x1c], 0x100c9814
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi], sym.XecureMacuxCSM.dll_private:_int___thiscall_XWSSLClient::getUserCert_struct__SFSSL_DATALIST___struct__SFSSL_DATALIST____struct_SFSSL_DATA____unsigned_char___void____struct_SFSSL_VSC____struct_SFSSL_PKCS11___struct_SFSSL_SECURITY_OPTION__
mov dword [esi + 4], sym.XecureMacuxCSM.dll_private:_int___thiscall_XWSSLClient::verifyUserCert_struct__SFSSL_DATALIST___struct_SFSSL_SECURITY_OPTION__
call sym.XecureMacuxCSM.dll_private:_int___thiscall_XWSSLClient::initSSLClientConfig_void_
lea eax, [esp + 0x14]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1005494f
mov ecx, dword [esi + 0x50]
push str._FATAL__winsock_start_error
push ecx
call fcn.10077220
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10090524
add esp, 0x1a8
ret
Function at 0x10054cb0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
call fcn.10077110
mov ebx, eax
push str._CORE__AcceptResponse___START_
push ebx
xor edi, edi
call fcn.100772b0
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10054ceb
mov eax, dword [esp + 0x18]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
push 0x100
push 0
push esi
call sub.MSVCR80.dll_memset
push str._CORE__AcceptResponse__InternetReadFile_start
push ebx
call fcn.100772b0
mov ebp, dword [esp + 0x2c]
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
push 0xff
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10054d72
mov edx, dword [esp + 0x10]
push edx
push str._CORE__AcceptResponse__InternetReadFile___d_
push ebx
call fcn.100772b0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x10054d72
add edi, eax
lea eax, [edi + 0x100]
push eax
push esi
mov byte [esi + edi], 0
call dword [sym.imp.MSVCR80.dll_realloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x10054dc1
lea ecx, [esp + 0x10]
push ecx
push 0xff
lea edx, [esi + edi]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10054d21
mov edi, dword [esp + 0x1c]
push esi
push str._CORE__AcceptResponse__Data__s_
push ebx
mov dword [edi], esi
call fcn.100772b0
mov eax, dword [edi]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10054d90
sub eax, edx
push eax
push str._CORE__AcceptResponse___END__ResponseLen:_d__
push ebx
call fcn.100772b0
mov eax, dword [edi]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10054db0
pop ebp
pop edi
pop esi
sub eax, edx
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x1c]
push str._CORE__AcceptResponse___END__Response:NULL__
push ebx
mov dword [eax], 0
call fcn.100772b0
add esp, 8
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10055d60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1009a22a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.XWSSLMng.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov byte [esp + 0x1c], 2
call fcn.10058220
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1009ec09
mov dword [esi + 4], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10064fd0
mov dword [esi + 8], eax
call sym.XecureMacuxCSM.dll_public:_static_class_XWSSLClient____cdecl_XWSSLClient::getInstance_void_
mov dword [esi + 0xc], eax
call fcn.10031820
push 0x10
mov dword [esi + 0x10], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x24
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x1c], 3
je 0x10055e18
mov ecx, eax
call fcn.10066540
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov dword [esi + 0x14], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x100582e0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x100583d0
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x10058362
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add ecx, 1
add ecx, 1
add ecx, 1
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x100583bb
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x10058374
xor eax, eax
mov ah, byte [esi + 1]
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jne 0x100583a6
lea edx, [edi + 0x3c]
jmp 0x100583b3
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
sub edi, 3
add ecx, 1
add ebp, 4
add esi, 3
test edi, edi
jg 0x10058300
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x1005e2c0
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x118
push esi
mov esi, dword [esp + 0x130]
test esi, esi
mov dword [esp + 4], 1
mov dword [esp + 8], 0x2733
mov dword [esp + 0x10], esi
jne 0x1005e313
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x124]
push eax
mov eax, dword [esp + 0x124]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
pop esi
add esp, 0x118
ret
push edi
push 0
call dword [sym.imp.MSVCR80.dll__time64]
mov edi, dword [esp + 0x128]
add esp, 4
lea ecx, [esp + 8]
push ecx
push 0x8004667e
add eax, esi
push edi
mov dword [esp + 0x1c], eax
call sub.WS2_32.dll_ioctlsocket
test eax, eax
mov dword [esp + 8], 0
je 0x1005e359
call sub.WS2_32.dll_WSAGetLastError
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x118
ret
mov edx, dword [esp + 0x128]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ebp, dword [esp + 0x134]
push ebx
push ebp
push edx
push edi
call sub.WS2_32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005e3fe
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [esp + 0x14], eax
jne 0x1005e3fe
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x40
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0
call sub.WS2_32.dll_select
mov esi, eax
cmp esi, 0xffffffff
je 0x1005e3f5
test esi, esi
je 0x1005e42a
mov edx, dword [esp + 0x130]
push ebx
push ebp
push edx
push edi
call sub.WS2_32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005e3fe
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [esp + 0x14], eax
jne 0x1005e3fe
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1005e390
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
cmp esi, 0xffffffff
jne 0x1005e41d
mov edx, dword [esp + 0x14]
push edx
call sub.WS2_32.dll_WSASetLastError
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0x118
ret
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
push 0
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
cmp eax, dword [esp + 0x18]
jb 0x1005e3fe
push 0x2714
call sub.WS2_32.dll_WSASetLastError
pop ebp
pop ebx
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x118
ret
Function at 0x1005e470
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x128]
test eax, eax
mov dword [esp + 4], 1
mov dword [esp], 0x2733
mov dword [esp + 8], eax
jne 0x1005e4c0
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x11c]
push ecx
push edx
push eax
call sub.WS2_32.dll_recv
add esp, 0x114
ret
push edi
push 0
call dword [sym.imp.MSVCR80.dll__time64]
mov edi, dword [esp + 0x120]
add esp, 4
lea ecx, [esp + 8]
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
test eax, eax
mov dword [esp + 8], 0
je 0x1005e4ff
call sub.WS2_32.dll_WSAGetLastError
or eax, 0xffffffff
pop edi
add esp, 0x114
ret
mov edx, dword [esp + 0x120]
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push ebx
push ebp
push edx
push edi
call sub.WS2_32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005e5b7
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
mov dword [esp + 0x10], eax
jne 0x1005e5b7
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0x40
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0
call sub.WS2_32.dll_select
mov esi, eax
cmp esi, 0xffffffff
je 0x1005e5ae
test esi, esi
jne 0x1005e597
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
push 0x2733
call sub.WS2_32.dll_WSASetLastError
pop esi
pop ebp
pop ebx
or eax, 0xffffffff
pop edi
add esp, 0x114
ret
mov eax, dword [esp + 0x12c]
push ebx
push ebp
push eax
push edi
call sub.WS2_32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
jne 0x1005e5b7
call sub.WS2_32.dll_WSAGetLastError
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edi
call sub.WS2_32.dll_ioctlsocket
cmp esi, 0xffffffff
jne 0x1005e5d6
mov edx, dword [esp + 0x10]
push edx
call sub.WS2_32.dll_WSASetLastError
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x114
ret
Function at 0x10060b30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sbb bh, bh
jne 0x10060b48
call fcn.1006024d
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10060298
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1006024d
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10060298
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1006024d
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10060288
mov eax, edi
daa
sahf
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], pe_nt_image_headers32
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.10060298
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1006024d
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.10060288
or bh, byte [ebx - 0x2b]
sbb eax, 0xf99ca580
invalid
Function at 0x10061c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebx - 0x6fb43]
inc dword [eax]
jne 0x10061e03
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
invalid
invalid