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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c72b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10112018]
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, dword [ebp + 8]
xor eax, eax
mov edi, ecx
mov ecx, 2
mov edx, 0x10
mov esi, vtable.ACE_INET_Addr.0
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
cmp ecx, ecx
jne 0x1007566b
mov eax, ecx
mov word [ebp - 0x220], ax
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], edx
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x22c]
call edx
mov edi, dword [edi + 8]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x100756b4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
jmp 0x1007574f
movzx ecx, word [esi]
mov ax, word [ebp - 0x21e]
mov edx, dword [ebp - 0x230]
push str._lists_all_services_in_the_daemon_n
rol ax, 8
mov dword [ebp - 0x228], ecx
movzx ecx, ax
push 0x100a721c
push ecx
mov dword [ebp - 0x224], edx
lea edx, [ebp - 0x210]
push str._d__s__s
push edx
call sym.ACE.dll_int___cdecl_ACE_OS::sprintf_char___char_const__
add esp, 0x14
cmp dword [ebx], 0
jne 0x10075711
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x100756ac
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx]
test ecx, ecx
je 0x1007573d
lea edx, [ebp - 0x210]
cmp eax, edx
je 0x10075738
dec ecx
push ecx
mov ecx, edx
push ecx
push eax
mov byte [eax], 0
call dword [sym.imp.MSVCR100.dll_strncat]
add esp, 0xc
jmp 0x1007573d
mov byte [eax + ecx - 1], 0
lea eax, [ebp - 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10075746
sub eax, edx
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.1009acfd
mov esp, ebp
pop ebp
ret 8
Function at 0x100774d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x44], ebx
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
call sym.ACE.dll_protected:_int___thiscall_ACE_Service_Repository::find_i_char_const__const__unsigned_int___class_ACE_Service_Type_const____bool_const
cmp eax, 0xffffffff
jne 0x10077553
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x18], eax
push edx
mov eax, esi
mov dword [esp + 0x20], ebx
call fcn.10077aa0
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov byte [eax + 0x1c], 1
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100775b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x44], ebx
push edx
mov ecx, esi
mov dword [esp + 0x24], ebx
call sym.ACE.dll_protected:_int___thiscall_ACE_Service_Repository::find_i_char_const__const__unsigned_int___class_ACE_Service_Type_const____bool_const
cmp eax, 0xffffffff
jne 0x10077633
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x18], eax
push edx
mov eax, esi
mov dword [esp + 0x20], ebx
call fcn.10077aa0
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov byte [eax + 0x1c], bl
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10077690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2628
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x30], 0
call sym.ACE.dll_protected:_int___thiscall_ACE_Service_Repository::remove_i_char_const__const__class_ACE_Service_Type___
push esi
cmp eax, 0xffffffff
jne 0x10077716
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10077733
mov edx, dword [esp + 0x10]
mov dword [eax], edx
jmp 0x10077741
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10077741
push eax
call fcn.100752d0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10079b80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ecx]
test eax, eax
je 0x10079bdd
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push esi
call sym.ACE.dll_int___cdecl_ACE::handle_timed_accept_void___class_ACE_Time_Value___bool_
add esp, 0xc
cmp eax, 0xffffffff
je 0x10079bd5
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
push 0x8004667e
push esi
mov dword [edx], 1
mov dword [ebp + 8], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x10079bdd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
pop ebp
ret 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x10079bf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov dword [ebp - 4], esi
je 0x10079c75
mov esi, dword [sym.imp.MSVCR100.dll__errno]
call esi
mov edi, eax
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x8004667e
push eax
mov dword [ebp + 0xc], 0
call ebx
cmp eax, 0xffffffff
jne 0x10079c46
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
call esi
mov edx, dword [ebp - 8]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
lea eax, [ebp + 0xc]
push eax
push 0x8004667e
push ecx
mov dword [ebp + 0xc], 0
call ebx
cmp eax, 0xffffffff
jne 0x10079c6d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call esi
mov dword [eax], ebx
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov dword [edi], edx
cmp byte [ebp + 0x10], 0
je 0x10079c86
push 0
push 0
push esi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
xor eax, eax
cmp esi, 0xffffffff
setne al
pop edi
pop esi
pop ebx
dec eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10079ca0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ecx]
push edi
xor edi, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edi
cmp eax, edi
je 0x10079d09
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push esi
call sym.ACE.dll_int___cdecl_ACE::handle_timed_accept_void___class_ACE_Time_Value___bool_
add esp, 0xc
cmp eax, 0xffffffff
je 0x10079cfd
lea edx, [ebp - 8]
push edx
mov eax, 1
push 0x8004667e
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x10079d09
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x10079d2d
mov eax, dword [esi + 8]
mov edx, dword [esi]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], ecx
mov ecx, esi
call eax
mov edi, eax
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push edx
push edi
push eax
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, 0xffffffff
jne 0x10079d5b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call ebx
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x10079d80
cmp byte [ebp + 0x14], 0
je 0x10079d78
call ebx
cmp dword [eax], 4
jne 0x10079d78
cmp dword [ebp + 0x10], 0
je 0x10079d33
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xffffffff
je 0x10079d94
test esi, esi
je 0x10079d94
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
test edi, edi
je 0x10079d94
movzx edx, word [edi]
mov dword [esi + 4], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
push eax
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
push edx
push eax
call sym.ACE.dll_protected:_int___thiscall_ACE_SOCK_Acceptor::shared_accept_finish_class_ACE_SOCK_Stream__int__bool_const
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10079db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ecx]
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x10079e19
mov ecx, dword [ebp + 0x1c]
push ecx
push eax
push esi
call sym.ACE.dll_int___cdecl_ACE::handle_timed_accept_void___class_ACE_Time_Value___bool_
add esp, 0xc
cmp eax, 0xffffffff
je 0x10079e0d
lea edx, [ebp - 8]
push edx
mov eax, 1
push 0x8004667e
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x10079e19
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp ecx, ebx
je 0x10079e39
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
lea ebx, [ebp - 4]
call eax
mov dword [ebp - 8], eax
mov edi, dword [sym.imp.MSVCR100.dll__errno]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp - 8]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAAccept]
cmp eax, 0xffffffff
jne 0x10079e6c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call edi
mov dword [eax], esi
or eax, 0xffffffff
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x10079e8e
cmp byte [ebp + 0x1c], 0
je 0x10079e89
call edi
cmp dword [eax], 4
jne 0x10079e89
cmp dword [ebp + 0x18], 0
je 0x10079e3f
cmp dword [esi], 0xffffffff
je 0x10079e9b
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10079e9b
mov ecx, dword [ebp - 4]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi]
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x10]
call sym.ACE.dll_protected:_int___thiscall_ACE_SOCK_Acceptor::shared_accept_finish_class_ACE_SOCK_Stream__int__bool_const
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1007a810
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c695
mov eax, dword fs:[0]
push eax
mov eax, 0x1310
call fcn.1009b8d0
mov eax, dword [0x10112018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 2
push 2
mov dword [ebp - 0x1314], eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x1007a92b
push 0
push 0
lea ecx, [ebp - 0x1318]
push ecx
push 0x1300
lea edx, [ebp - 0x1310]
push edx
push 0
push 0
push 0x4004747f
push esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp edi, 0xffffffff
je 0x1007a92b
mov ecx, dword [ebp - 0x1318]
mov eax, 0xaf286bcb
mul ecx
sub ecx, edx
shr ecx, 1
lea edi, [edx + ecx]
shr edi, 6
xor ecx, ecx
mov eax, edi
mov edx, 0x1c
mul edx
seto cl
push 0x10115520
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.1009ad0c
add esp, 8
mov dword [ebp - 0x131c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1007a90a
push sym.ACE.dll_public_virtual:_void___thiscall_ACE_Addr::destructor_void_
push sym.ACE.dll_public:_void___thiscall_ACE_INET_Addr::constructor_void_
push edi
lea esi, [eax + 4]
push 0x1c
push esi
mov dword [eax], edi
call fcn.1009af40
mov eax, esi
jmp 0x1007a90c
xor eax, eax
mov ecx, dword [ebp - 0x1314]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
test eax, eax
jne 0x1007a933
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0xc
or eax, 0xffffffff
jmp 0x1007a9db
mov dword [ebx], 0
test edi, edi
jle 0x1007a9aa
lea esi, [ebp - 0x130c]
test byte [esi - 4], 1
je 0x1007a9a0
cmp dword [esi + 4], 0
je 0x1007a9a0
mov eax, dword [ebx]
lea edx, [eax*8]
sub edx, eax
cmp word [esi], 2
mov eax, dword [ecx]
lea eax, [eax + edx*4]
jne 0x1007a98c
mov ecx, dword [esi]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 4]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x18], edx
mov dword [eax + 4], 2
mov dword [eax + 8], 0x10
jmp 0x1007a998
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0x273f
inc dword [ebx]
mov ecx, dword [ebp - 0x1314]
add esi, 0x4c
dec edi
jne 0x1007a943
cmp dword [ebx], edi
jne 0x1007a9d9
mov ecx, dword [ecx]
test ecx, ecx
je 0x1007a9cd
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x1007a9c3
mov eax, dword [ecx]
mov edx, dword [eax]
push 3
call edx
jmp 0x1007a9cd
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0x1314]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret
Function at 0x1007ab00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009c658
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
call ebx
mov esi, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
cmp dword [ebp + 0x10], 0xffffffff
mov dword [esp + 0x28], 0
jne 0x1007ac07
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1007abd0
cmp esi, 0x2734
je 0x1007ab6d
cmp esi, 0x2733
jne 0x1007abd0
mov ecx, dword [eax]
cmp ecx, dword [sym.ACE.dll_class_ACE_Time_Value_const_ACE_Time_Value::zero]
jne 0x1007abb9
mov edx, dword [eax + 4]
cmp edx, dword [0x10115d6c]
jne 0x1007abb9
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10115d70]
jne 0x1007abb9
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
push 0
push eax
push ecx
call sym.ACE.dll_void____cdecl_ACE::handle_timed_complete_void___class_ACE_Time_Value_const___int_
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1007ac07
call ebx
mov esi, dword [eax]
cmp esi, 0x89
jne 0x1007abd0
mov esi, 0x2733
jmp 0x1007ac49
push eax
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, edi
call sym.ACE.dll_public:_int___thiscall_ACE_SOCK_Connector::complete_class_ACE_SOCK_Stream___class_ACE_Addr___class_ACE_Time_Value_const__
cmp eax, 0xffffffff
jne 0x1007abea
call ebx
mov esi, dword [eax]
cmp esi, 0x2748
je 0x1007ac07
cmp esi, 0x2733
je 0x1007ac49
cmp esi, 0x274c
je 0x1007ac49
jmp 0x1007ac41
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1007ac39
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call ebx
mov dword [eax], edi
or eax, 0xffffffff
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
jne 0x1007ac49
mov ecx, dword [ebp + 8]
call sym.ACE.dll_public:_int___thiscall_ACE_SOCK_SEQPACK_Association::close_void_
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx], esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007ac70
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
mov dword [esp + 0x10], ecx
jne 0x1007acce
mov ecx, dword [ebp + 0x24]
push ecx
push 1
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1007acbb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], ebx
or eax, 0xffffffff
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x1007acce
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push edx
push eax
push edi
call sym.ACE.dll_protected:_int___thiscall_ACE_SOCK_Connector::shared_connect_start_class_ACE_SOCK_Stream___class_ACE_Time_Value_const___class_ACE_Addr_const__
cmp eax, 0xffffffff
je 0x1007acc2
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1007ad1c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push eax
push edx
push edi
call sym.ACE.dll_protected:_int___thiscall_ACE_SOCK_Connector::shared_connect_finish_class_ACE_SOCK_Stream___class_ACE_Time_Value_const___int_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x1007ad40
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0xffffffff
mov dword [esp + 0x10], ecx
jne 0x1007ada0
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
push ecx
push 0
push 1
push eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
jne 0x1007ad8d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], ebx
or eax, 0xffffffff
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x1007ada0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x10]
push edx
push eax
push edi
call sym.ACE.dll_protected:_int___thiscall_ACE_SOCK_Connector::shared_connect_start_class_ACE_SOCK_Stream___class_ACE_Time_Value_const___class_ACE_Addr_const__
cmp eax, 0xffffffff
je 0x1007ad94
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ebx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mov ecx, esi
call eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
push edx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x1007adfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
mov ecx, dword [ebp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edi
call sym.ACE.dll_protected:_int___thiscall_ACE_SOCK_Connector::shared_connect_finish_class_ACE_SOCK_Stream___class_ACE_Time_Value_const___int_
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38

Function at 0x1007afe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push edi
mov edi, ecx
mov ecx, esi
call edx
mov edx, dword [ebp + 0x14]
mov edi, dword [edi]
mov ebx, eax
mov eax, dword [esi + 8]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x1007b058
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], edi
call dword [sym.imp.MSVCR100.dll__errno]
cmp dword [eax], 0x2738
jne 0x1007b055
test byte [ebp + 0x14], 2
je 0x1007b055
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], edx
movzx ecx, word [ebx]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret 0x10
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
mov dword [esi + 8], edx
movzx ecx, word [ebx]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret 0x10