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

Disassembly:
mov eax, 0x1038
call fcn.1000de50
mov eax, dword [0x10011010]
xor eax, esp
mov dword [esp + 0x1034], eax
mov eax, dword [esp + 0x1048]
mov edx, dword [esp + 0x1044]
push ebp
mov ebp, dword [esp + 0x1040]
push edi
mov edi, dword [esp + 0x1048]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
test edi, edi
jne 0x1000ba0b
cmp edx, 0xffffffff
je 0x1000bb5b
push esi
xor esi, esi
mov dword [esp + 0xc], esi
cmp dword [ebp + 0x78], esi
jle 0x1000bb5a
xor ecx, ecx
mov dword [esp + 0x10], ecx
push ebx
mov ebx, dword [ebp + 0x74]
add ebx, ecx
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x1000bb44
cmp dword [ebx + 0x54], 0
jne 0x1000bb44
test edi, edi
je 0x1000ba9e
push edi
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1000bb39
mov ecx, dword [edi]
xor edx, edx
test ecx, ecx
je 0x1000baa6
mov esi, dword [ebx + 0x1c]
lea eax, [edi + 4]
nop
cmp dword [eax], esi
je 0x1000ba72
inc edx
add eax, 4
cmp edx, ecx
jb 0x1000ba60
mov esi, dword [esp + 0x10]
jmp 0x1000baa6
lea eax, [ecx - 1]
cmp edx, eax
jae 0x1000ba93
lea esi, [edx + 1]
lea esi, [edi + esi*4]
nop
mov eax, dword [esi + 4]
lea esi, [esi + 4]
mov dword [esi - 4], eax
inc edx
mov ecx, dword [edi]
lea eax, [ecx - 1]
cmp edx, eax
jb 0x1000ba80
mov esi, dword [esp + 0x10]
lea eax, [ecx - 1]
mov dword [edi], eax
jmp 0x1000baa6
cmp eax, edx
jne 0x1000bb44
cmp dword [ebx + 0x1c], 0xffffffff
jne 0x1000bab3
xor edi, edi
jmp 0x1000bb76
cmp dword [ebx], 2
mov ecx, 0x1c
mov eax, 0x10
cmovne eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x91b8]
mov ecx, dword [ebx + 0x1c]
test eax, eax
je 0x1000bafb
push dword [ebp + 0x91bc]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x2c]
push edx
push 0
push 0x1001
lea edx, [esp + 0x54]
push edx
push ecx
call eax
add esp, 0x1c
jmp 0x1000bb18
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x1001
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000bb72
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x1000bb31
cmp eax, 0x2733
jne 0x1000bb76
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1054]
mov ecx, dword [esp + 0x14]
inc esi
add ecx, 0x58
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
cmp esi, dword [ebp + 0x78]
jl 0x1000ba22
pop ebx
pop esi
mov ecx, dword [esp + 0x103c]
pop edi
pop ebp
xor ecx, esp
call fcn.1000de3c
add esp, 0x1038
ret
test edi, edi
jg 0x1000bb8e
push dword [esp + 0x1c]
push esi
push ebp
call fcn.1000ac20
add esp, 0xc
test edi, edi
jg 0x1000baa6
jmp 0x1000bb31
movzx eax, word [esp + 0x24]
mov ecx, dword [ebx]
cmp eax, ecx
jne 0x1000bb31
sub ecx, 2
je 0x1000bbcb
sub ecx, 0x15
jne 0x1000bb31
lea edx, [ebx + 4]
lea eax, [esp + 0x2c]
lea esi, [ecx + 0xc]
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x1000bb31
add edx, 4
add eax, 4
sub esi, 4
jae 0x1000bbb0
mov esi, dword [esp + 0x10]
jmp 0x1000bbda
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x28]
cmp eax, dword [ecx]
jne 0x1000bb31
push dword [esp + 0x1c]
lea eax, [esp + 0x44]
push 0
push esi
push edi
push eax
push ebp
call fcn.1000b420
add esp, 0x18
jmp 0x1000baa6