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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x100123d4]
xor eax, esp
mov dword [esp + 0x284], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ecx]
mov dword [esp + 4], eax
push edi
cmp esi, 1
jl 0x100046a7
push 0x200
lea eax, [esp + 0x8c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x74], 0x10
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x7c]
push eax
push 0
push 0x200
lea eax, [esp + 0x98]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xb
jle 0x100046a7
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x88]
xor edx, edx
sub esi, eax
nop word [eax + eax]
lea ecx, [esp + 0x88]
add ecx, edx
mov al, byte [ecx]
cmp al, byte [ecx + esi]
jne 0x100046a7
inc edx
cmp edx, 0xb
jb 0x10004380
lea esi, [esp + 0x88]
add esi, edi
lea eax, [esp + 0x98]
cmp eax, esi
ja 0x100046a7
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x93]
mov dword [edi], eax
mov al, byte [esp + 0x97]
mov byte [edi + 4], al
lea eax, [esp + 0x9c]
cmp eax, esi
ja 0x100046a7
mov ecx, dword [esp + 0x98]
add eax, ecx
mov dword [esp + 0xc], ecx
cmp eax, esi
ja 0x100046a7
push ecx
lea eax, [esp + 0xa0]
mov dword [esp + 0x24], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
call fcn.10002fa0
add edi, 8
lea eax, [esp + 0x10]
cmp edi, eax
je 0x10004482
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x10004455
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1000444b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000467f
mov eax, edx
push ecx
push eax
call fcn.1000af9a
add esp, 8
movups xmm0, xmmword [esp + 0x10]
mov dword [edi + 0x10], 0
mov eax, 0xf
mov dword [edi + 0x14], 0xf
movups xmmword [edi], xmm0
mov byte [esp + 0x10], 0
movq xmm0, qword [esp + 0x20]
movq qword [edi + 0x10], xmm0
jmp 0x10004486
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x100044ba
mov edx, dword [esp + 0x10]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100044b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000467f
push ecx
push edx
call fcn.1000af9a
add esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp + ecx + 0xa0]
cmp eax, esi
ja 0x100046a7
mov edx, dword [esp + ecx + 0x9c]
lea ecx, [edx + eax]
mov dword [esp + 0xc], ecx
cmp ecx, esi
ja 0x100046a7
push edx
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.10002fa0
mov edi, dword [esp + 8]
lea eax, [esp + 0x30]
add edi, 0x20
cmp edi, eax
je 0x10004575
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x10004548
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1000453e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000467f
mov eax, edx
push ecx
push eax
call fcn.1000af9a
add esp, 8
movups xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x10], 0
mov eax, 0xf
mov dword [edi + 0x14], 0xf
movups xmmword [edi], xmm0
mov byte [esp + 0x30], 0
movq xmm0, qword [esp + 0x40]
movq qword [edi + 0x10], xmm0
jmp 0x10004579
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x100045ad
mov edx, dword [esp + 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100045a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000467f
push ecx
push edx
call fcn.1000af9a
add esp, 8
mov edx, dword [esp + 0xc]
lea ecx, [edx + 4]
cmp ecx, esi
ja 0x100046a7
mov edx, dword [edx]
lea eax, [edx + ecx]
cmp eax, esi
ja 0x100046a7
push edx
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
push ecx
lea ecx, [esp + 0x58]
movaps xmmword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 0
call fcn.10002fa0
mov esi, dword [esp + 8]
lea eax, [esp + 0x50]
add esi, 0x38
cmp esi, eax
je 0x10004657
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1000462a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10004620
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000467f
mov eax, edx
push ecx
push eax
call fcn.1000af9a
add esp, 8
movups xmm0, xmmword [esp + 0x50]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [esp + 0x50], 0
movq xmm0, qword [esp + 0x60]
movq qword [esi + 0x10], xmm0
jmp 0x1000465b
mov ecx, dword [esp + 0x64]
cmp ecx, 0x10
jb 0x1000468f
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004685
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004685
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000af9a
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.1000af5c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x28c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1000af5c
mov esp, ebp
pop ebp
ret 8