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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10146f80
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x10189710]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov edi, 4
call fcn.1008c6d0
xor edi, edi
mov dword [esp + 0x78], edi
xor esi, esi
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
jne 0x1008bbb1
call fcn.10128a71
mov eax, dword [esp + 0x1c]
push edi
mov edx, 4
sub edx, esi
push edx
add eax, esi
push eax
push ebx
call sub.WS2_32.dll_recv
cmp eax, edi
je 0x1008bc5b
cmp eax, 0xffffffff
je 0x1008bcbd
add esi, eax
cmp esi, 4
jb 0x1008bba2
cmp esi, 4
je 0x1008bcfc
push esi
push ecx
push str._recieved:
push ecx
push 4
push ecx
push str.______EXCEPTION_IN_recieve_func__payload_length_._Bytes_recieved_not_equal_to_bytes_expected._Expected:
push 0x101a5aa0
call fcn.1000e410
add esp, 0xc
push eax
call fcn.10013d50
add esp, 4
push eax
call fcn.1000e410
add esp, 0xc
push eax
call fcn.10013d50
mov esi, eax
push 0xa
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c8b0
push str.______EXCEPTION_IN_recieve_func__payload_length_._Bytes_recieved_not_equal_to_bytes_expected.
lea ecx, [esp + 0x2c]
call fcn.100098a0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 1
call fcn.1000b320
push 0x10180d2c
lea eax, [esp + 0x48]
push eax
call fcn.1012d77b
push str.__int_recieve:_recv_return_0_bytes.__first_while_loop_._Returning_from_function.
push 0x101a5aa0
call fcn.1000e410
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c8b0
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1008bc90
push eax
call fcn.10128f9e
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.10128f9e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1008bcce
push eax
call fcn.10128f9e
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.10128f9e
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.1008b230
mov esi, eax
cmp esi, 0x1400000
jae 0x1008be39
mov ecx, dword [ebp + 8]
call fcn.1008c920
test esi, esi
jbe 0x1008bd58
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
jne 0x1008bd32
call fcn.10128a71
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
push 0
mov edx, esi
sub edx, edi
push edx
add eax, edi
push eax
push ebx
call sub.WS2_32.dll_recv
test eax, eax
je 0x1008bdc7
cmp eax, 0xffffffff
je 0x1008bdfd
add edi, eax
cmp edi, esi
jb 0x1008bd1f
cmp edi, esi
je 0x1008be1b
push edi
push ecx
push str._recieved:
push ecx
push esi
push ecx
push str.______EXCEPTION_IN_recieve_func__payload_._Bytes_recieved_not_equal_to_bytes_expected._Expected:
push 0x101a5aa0
call fcn.1000e410
add esp, 0xc
push eax
call fcn.10013d50
add esp, 4
push eax
call fcn.1000e410
add esp, 0xc
push eax
call fcn.10013d50
mov esi, eax
call fcn.1000c770
push str.______EXCEPTION_IN_recieve_func__payload_._Bytes_recieved_not_equal_to_bytes_expected.
lea ecx, [esp + 0x2c]
call fcn.100098a0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 3
call fcn.1000b320
push 0x10180d2c
lea eax, [esp + 0x48]
push eax
call fcn.1012d77b
push str.__int_recieve:_recv_return_0_bytes.__second_while_loop_._Returning_from_function.
push 0x101a5aa0
call fcn.1000e410
add esp, 8
mov esi, eax
call fcn.1000c770
lea esi, [esp + 0x10]
call fcn.10040e60
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.10040e60
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.10040e60
lea eax, [edi + 4]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Error_on__receive:_cannot_receive_more_than_20971520_bytes_at_once
push 0x101a5aa0
call fcn.1000e410
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.1000c790
mov ecx, esi
call fcn.1000c8b0
push str._receive___cannot_receive_more_than_20971520_bytes_at_once
lea ecx, [esp + 0x2c]
call fcn.100098a0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 2
call fcn.1000b320
push 0x10180d2c
lea edx, [esp + 0x48]
push edx
call fcn.1012d77b
int3