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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x100163d4]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx]
push edi
cmp esi, 1
jl 0x10008c14
push 0x200
lea eax, [esp + 0x3c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x24], 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x200
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xb
jle 0x10008c14
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x38]
xor edx, edx
sub esi, eax
nop word [eax + eax]
lea ecx, [esp + 0x38]
add ecx, edx
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x10008c14
inc edx
cmp edx, 0xb
jb 0x10008a50
lea esi, [esp + 0x38]
add esi, edi
lea eax, [esp + 0x48]
cmp eax, esi
ja 0x10008c14
mov eax, dword [esp + 0x43]
mov dword [ebx], eax
mov al, byte [esp + 0x47]
mov byte [ebx + 4], al
lea eax, [esp + 0x4c]
cmp eax, esi
ja 0x10008c14
mov eax, dword [esp + 0x48]
lea edi, [esp + 0x4c]
add edi, eax
cmp edi, esi
ja 0x10008c14
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x20], 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov byte [esp + 0x14], 0
call fcn.10001310
lea eax, [esp + 0xc]
push eax
lea ecx, [ebx + 8]
call fcn.10004670
mov edx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x10008b0b
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008beb
push edx
push ecx
call fcn.1000e693
add esp, 8
lea eax, [edi + 4]
cmp eax, esi
ja 0x10008c14
mov ecx, dword [edi]
lea edi, [ecx + eax]
cmp edi, esi
ja 0x10008c14
push ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xf
mov byte [esp + 0x14], 0
call fcn.10001310
lea eax, [esp + 0xc]
push eax
lea ecx, [ebx + 0x20]
call fcn.10004670
mov edx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x10008b82
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008b78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008beb
push edx
push ecx
call fcn.1000e693
add esp, 8
lea ecx, [edi + 4]
cmp ecx, esi
ja 0x10008c14
mov edx, dword [edi]
lea eax, [edx + ecx]
cmp eax, esi
ja 0x10008c14
push edx
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xf
mov byte [esp + 0x14], 0
call fcn.10001310
lea eax, [esp + 0xc]
push eax
lea ecx, [ebx + 0x38]
call fcn.10004670
mov edx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x10008bfb
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008bf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008bf1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000e693
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.1000e652
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x23c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000e652
mov esp, ebp
pop ebp
ret 8