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

Disassembly:
push 0xffffffffffffffff
push 0x1000a658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov dword [esp + 0x20], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dword [esp + 0x444], ebx
mov ebp, 0x400
cmp ebp, 0x2746
je 0x10008d10
cmp ebp, 0x400
jne 0x10008d10
mov edx, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x40]
push ebp
mov eax, dword [edx + 4]
push ecx
push eax
call sub.WSOCK32.dll_recv
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov ebp, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp ebp, 0xffffffff
mov byte [esp + 0x444], 1
je 0x10008cd0
cmp ebp, ebx
jl 0x10008ce5
push 1
push ebp
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10008c76
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x444], bl
cmp ecx, ebx
je 0x10008cba
mov al, byte [ecx - 1]
cmp al, bl
je 0x10008cb0
cmp al, 0xff
je 0x10008cb0
dec al
mov byte [ecx - 1], al
jmp 0x10008cba
dec ecx
push ecx
call fcn.100098f0
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jne 0x10008be8
jmp 0x10008d10
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x448], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x10008d10
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x444], bl
cmp ecx, ebx
je 0x10008d10
mov al, byte [ecx - 1]
cmp al, bl
je 0x10008d06
cmp al, 0xff
je 0x10008d06
dec al
mov byte [ecx - 1], al
jmp 0x10008d10
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov esi, dword [esp + 0x44c]
mov cl, byte [esp + 0x28]
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x28]
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x10008d61
mov al, byte [ecx - 1]
cmp al, bl
je 0x10008d57
cmp al, 0xff
je 0x10008d57
dec al
mov byte [ecx - 1], al
jmp 0x10008d61
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0x43c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x438
ret 4