Function at 0x1001ca00
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034839
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x10048024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x86c], ecx
mov dword [ebp - 0x430], 0x400
mov byte [ebp - 0x42c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x42b]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2c]
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 [ebp - 4], 0
push 0x1003aa74
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x86c]
mov edx, dword [ecx + 4]
push edx
call sub.WS2_32.dll_send
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
cmp dword [ebp - 0x434], eax
je 0x1001cb41
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x870], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1b8
push 0x1003aa84
call fcn.1001b330
add esp, 8
push eax
push 0x1003aa9c
mov eax, dword [ebp - 0x870]
push eax
mov ecx, dword [ebp - 0x870]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x86c]
cmp dword [ecx + 4], 0xffffffff
je 0x1001cb1f
mov edx, dword [ebp - 0x86c]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_closesocket
mov ecx, dword [ebp - 0x86c]
mov dword [ecx + 4], 0xffffffff
mov byte [ebp - 0x85d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, byte [ebp - 0x85d]
jmp 0x1001d038
mov byte [ebp - 0x85c], 0
push 0x3ff
push 0
lea edx, [ebp - 0x85b]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov eax, dword [0x1003aaac]
mov dword [ebp - 0x454], eax
xor ecx, ecx
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x448], ecx
mov edx, dword [0x1003aab0]
mov dword [ebp - 0x444], edx
xor eax, eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x438], eax
push 0
push 0x400
lea ecx, [ebp - 0x85c]
push ecx
mov edx, dword [ebp - 0x86c]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_recv
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jg 0x1001cc25
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x874], eax
push 0x1cb
push 0x1003aab4
call fcn.1001b330
add esp, 8
push eax
push str._s:_Failed_to_recv_data.
mov ecx, dword [ebp - 0x874]
push ecx
mov edx, dword [ebp - 0x874]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 0xc
mov byte [ebp - 0x85e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, byte [ebp - 0x85e]
jmp 0x1001d038
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x85c]
push eax
call fcn.100025e0
add esp, 8
test eax, eax
je 0x1001cc61
mov byte [ebp - 0x85f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, byte [ebp - 0x85f]
jmp 0x1001d038
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x85c]
push edx
call fcn.100025e0
add esp, 8
test eax, eax
je 0x1001cca2
mov byte [ebp - 0x860], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, byte [ebp - 0x860]
jmp 0x1001d038
mov eax, dword [ebp - 0x86c]
mov ecx, dword [eax + 4]
push ecx
call sub.WS2_32.dll_closesocket
mov edx, dword [ebp - 0x86c]
mov dword [edx + 4], 0xffffffff
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x878], eax
push 0x14e
push 0x1de
push 0x1003aae8
call fcn.1001b330
add esp, 8
push eax
push str._s:_TestResponse_result:__d.
mov eax, dword [ebp - 0x878]
push eax
mov ecx, dword [ebp - 0x878]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x10
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0x87c], eax
lea ecx, [ebp - 0x85c]
push ecx
push 0x1df
push 0x1003ab20
call fcn.1001b330
add esp, 8
push eax
push str._s:_recv:__s
mov edx, dword [ebp - 0x87c]
push edx
mov eax, dword [ebp - 0x87c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0x10
mov byte [ebp - 0x861], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, byte [ebp - 0x861]
jmp 0x1001d038
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f672
mov esp, ebp
pop ebp
ret