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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x100123d4]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ecx]
mov dword [esp + 0x38], eax
push edi
cmp esi, 1
jl 0x10004f5d
push 0x200
lea eax, [esp + 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x44], 0x10
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push 0x200
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xb
jle 0x10004f5d
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x58]
xor edx, edx
sub esi, eax
nop dword [eax]
lea ecx, [esp + 0x58]
add ecx, edx
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x10004f5d
inc edx
cmp edx, 0xb
jb 0x10004c60
lea eax, [esp + 0x58]
add edi, eax
lea eax, [esp + 0x68]
cmp eax, edi
ja 0x10004f5d
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x63]
mov dword [esi], eax
mov al, byte [esp + 0x67]
mov byte [esi + 4], al
lea eax, [esp + 0x6c]
cmp eax, edi
ja 0x10004f5d
mov ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 0x40], ecx
cmp eax, edi
ja 0x10004f5d
push ecx
lea eax, [esp + 0x70]
mov dword [esp + 0x14], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.100036a0
add esi, 8
lea eax, [esp + 0x10]
cmp esi, eax
je 0x10004d40
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10004d1d
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10004d13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f35
mov eax, edx
push ecx
push eax
call fcn.1000a9e0
add esp, 8
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
jmp 0x10004d76
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x10004d76
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f35
push edx
push ecx
call fcn.1000a9e0
add esp, 8
mov ecx, dword [esp + 0x40]
lea eax, [esp + ecx + 0x70]
cmp eax, edi
ja 0x10004f5d
mov edx, dword [esp + ecx + 0x6c]
lea ecx, [edx + eax]
mov dword [esp + 0x40], ecx
cmp ecx, edi
ja 0x10004f5d
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.100036a0
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
add esi, 0x20
cmp esi, eax
je 0x10004e21
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10004dfe
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10004df4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f35
mov eax, edx
push ecx
push eax
call fcn.1000a9e0
add esp, 8
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
jmp 0x10004e57
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x10004e57
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004e4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f35
push edx
push ecx
call fcn.1000a9e0
add esp, 8
mov edx, dword [esp + 0x40]
lea ecx, [edx + 4]
cmp ecx, edi
ja 0x10004f5d
mov edx, dword [edx]
lea eax, [edx + ecx]
cmp eax, edi
ja 0x10004f5d
push edx
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.100036a0
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
add esi, 0x38
cmp esi, eax
je 0x10004f0d
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10004ed4
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10004eca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004f35
mov eax, edx
push ecx
push eax
call fcn.1000a9e0
add esp, 8
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x10], 0
mov al, 1
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.1000a9a2
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x10004f45
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004f3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004f3b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000a9e0
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.1000a9a2
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x25c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1000a9a2
mov esp, ebp
pop ebp
ret 8