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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10135ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
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.100804b0
xor edi, edi
mov dword [esp + 0x78], edi
mov ebx, dword [sym.imp.WS2_32.dll_recv]
xor esi, esi
lea esp, [esp]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
jne 0x1007f93f
call fcn.1010e381
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
push edi
mov edx, 4
sub edx, esi
push edx
add eax, esi
push eax
push ecx
call ebx
cmp eax, edi
je 0x1007f9e9
cmp eax, 0xffffffff
je 0x1007fa4c
add esi, eax
cmp esi, 4
jb 0x1007f930
cmp esi, 4
je 0x1007fa8c
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 0x1018e270
call fcn.100821b0
add esp, 0xc
push eax
call fcn.10080250
add esp, 4
push eax
call fcn.100821b0
add esp, 0xc
push eax
call fcn.10080250
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10080390
mov ecx, esi
call fcn.10016d90
push str.______EXCEPTION_IN_recieve_func__payload_length_._Bytes_recieved_not_equal_to_bytes_expected.
lea ecx, [esp + 0x2c]
call fcn.10008e20
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 1
call fcn.10015930
push 0x1016b024
lea ecx, [esp + 0x48]
push ecx
call fcn.1011379b
push str.__int_recieve:_recv_return_0_bytes.__first_while_loop_._Returning_from_function.
push 0x1018e270
call fcn.100821b0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10080390
mov ecx, esi
call fcn.10016d90
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1007fa1e
push eax
call fcn.1010e8a3
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.1010e8a3
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1007fa5d
push eax
call fcn.1010e8a3
add esp, 4
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.1010e8a3
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.1007efb0
mov esi, eax
cmp esi, 0x1400000
jae 0x1007fbcc
mov ecx, dword [ebp + 0xc]
call fcn.100806e0
test esi, esi
jbe 0x1007fae8
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
jne 0x1007fac2
call fcn.1010e381
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
push 0
mov ecx, esi
sub ecx, edi
push ecx
add eax, edi
push eax
push edx
call ebx
test eax, eax
je 0x1007fb57
cmp eax, 0xffffffff
je 0x1007fb8e
add edi, eax
cmp edi, esi
jb 0x1007faaf
cmp edi, esi
je 0x1007fbad
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 0x1018e270
call fcn.100821b0
add esp, 0xc
push eax
call fcn.10080250
add esp, 4
push eax
call fcn.100821b0
add esp, 0xc
push eax
call fcn.10080250
mov esi, eax
call fcn.10080230
push str.______EXCEPTION_IN_recieve_func__payload_._Bytes_recieved_not_equal_to_bytes_expected.
lea ecx, [esp + 0x2c]
call fcn.10008e20
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 3
call fcn.10015930
push 0x1016b024
lea eax, [esp + 0x48]
push eax
call fcn.1011379b
push str.__int_recieve:_recv_return_0_bytes.__second_while_loop_._Returning_from_function.
push 0x1018e270
call fcn.100821b0
add esp, 8
mov esi, eax
call fcn.10080230
lea esi, [esp + 0x10]
call fcn.1002a680
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.1002a680
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x10]
call fcn.1002a680
lea eax, [edi + 4]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Error_on__receive:_cannot_receive_more_than_20971520_bytes_at_once
push 0x1018e270
call fcn.100821b0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.10080390
mov ecx, esi
call fcn.10016d90
push str._receive___cannot_receive_more_than_20971520_bytes_at_once
lea ecx, [esp + 0x2c]
call fcn.10008e20
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 2
call fcn.10015930
push 0x1016b024
lea edx, [esp + 0x48]
push edx
call fcn.1011379b
int3