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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10080180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 8]
push 0x1023
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.10044f37
add esp, 4
test eax, eax
je 0x1002cdc9
lea edi, [eax + 0x23]
and edi, 0xffffffe0
push 0x1000
push 0
push edi
lea esi, [edi + 0x1000]
mov dword [edi - 4], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x5c], esi
call sub.VCRUNTIME140.dll_memset
mov eax, esi
add esp, 0xc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
push 0
push 0x1000
push edi
push dword [eax + 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
mov dword [ebp - 0x58], ecx
test ecx, ecx
jle 0x1002ce4d
mov eax, dword [ebp - 0x54]
add eax, 0x64
cmp dword [0x10080074], 6
mov dword [ebp - 0x6c], eax
jl 0x1002cddc
sub esp, 8
mov dword [ebp - 0x2c], ecx
mov eax, esp
mov dword [ebp - 0x30], 0x10000000
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
push 0xb
mov dword [eax], 1
mov dword [eax + 4], ecx
lea eax, [ebp - 0x48]
push str.Received_
push eax
call fcn.1000c8c0
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov edx, eax
mov byte [ebp - 4], 3
jbe 0x1002cd68
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push edx
sub esp, 8
mov eax, esp
sub esp, 8
mov dword [eax], str.e_36m
mov dword [eax + 4], 5
mov eax, esp
push ecx
mov ecx, dword [ebp - 0x6c]
mov dword [eax], str.Trace
mov dword [eax + 4], 5
call fcn.100120c0
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x1002cdd9
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002cdcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002cdcf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044f67
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x1000
jae 0x1002cdec
lea eax, [edi + ecx]
mov dword [ebp - 0x60], eax
jmp 0x1002ce32
jbe 0x1002ce2f
mov eax, esi
sub eax, edi
cmp ecx, eax
jbe 0x1002ce0e
lea eax, [ebp - 0x49]
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001acf0
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
jmp 0x1002ce32
lea esi, [ecx - 0x1000]
push esi
push 0
push dword [ebp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x50]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
jmp 0x1002ce32
mov eax, dword [ebp - 0x50]
sub eax, edi
lea ecx, [ebp - 0x28]
push eax
push edi
call fcn.10011ba0
push dword [ebp - 0x74]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
call fcn.10030bc0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1002ce81
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ce77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cdc9
push ecx
push edx
call fcn.10044f67
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x1002cec1
sub esi, edi
mov eax, edi
cmp esi, 0x1000
jb 0x1002ceb7
mov edi, dword [eax - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002cdc9
push esi
push edi
call fcn.10044f67
add esp, 8
mov eax, dword [ebp - 0x58]
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.10044f75
mov esp, ebp
pop ebp
ret 4