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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.100b9aa0
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x103c], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1028], esi
test ecx, ecx
jne 0x100bd3f1
cmp dword [ebp + 0x10], 0xffffffff
je 0x100bd627
push edi
xor edi, edi
mov dword [ebp - 0x102c], edi
cmp dword [esi + 0x78], edi
jle 0x100bd626
xor edx, edx
mov dword [ebp - 0x1034], edx
push ebx
nop dword [eax]
mov ebx, dword [esi + 0x74]
add ebx, edx
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x100bd60c
cmp dword [ebx + 0x54], 0
jne 0x100bd60c
test ecx, ecx
je 0x100bd48e
push ecx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x100bd600
mov edi, dword [ebp - 0x1030]
xor ecx, ecx
mov edx, dword [edi]
test edx, edx
je 0x100bd497
mov esi, dword [ebx + 0x1c]
lea eax, [edi + 4]
cmp dword [eax], esi
je 0x100bd466
inc ecx
add eax, 4
cmp ecx, edx
jb 0x100bd452
mov esi, dword [ebp - 0x1028]
jmp 0x100bd497
lea eax, [edx - 1]
cmp ecx, eax
jae 0x100bd484
lea edx, [edi + 4]
lea edx, [edx + ecx*4]
mov eax, dword [edx + 4]
lea edx, [edx + 4]
mov dword [edx - 4], eax
inc ecx
mov eax, dword [edi]
dec eax
cmp ecx, eax
jb 0x100bd473
dec dword [edi]
mov esi, dword [ebp - 0x1028]
jmp 0x100bd497
cmp eax, dword [ebp + 0x10]
jne 0x100bd60c
cmp dword [ebx + 0x1c], 0xffffffff
jne 0x100bd4b9
push dword [ebp - 0x103c]
xor edi, edi
push dword [ebp - 0x102c]
push esi
call fcn.100bc6c0
add esp, 0xc
jmp 0x100bd5ea
cmp dword [ebx], 2
mov ecx, 0x10
mov eax, 0x1c
cmove eax, ecx
mov dword [ebp - 0x1038], eax
mov eax, dword [esi + 0x91b8]
mov ecx, dword [ebx + 0x1c]
test eax, eax
je 0x100bd509
push dword [esi + 0x91bc]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x1038]
push edx
lea edx, [ebp - 0x1024]
push edx
push 0
push 0x1001
lea edx, [ebp - 0x1008]
push edx
push ecx
call eax
add esp, 0x1c
jmp 0x100bd52c
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1024]
push eax
push 0
push 0x1001
lea eax, [ebp - 0x1008]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100bd567
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x100bd5fa
cmp eax, 0x2733
je 0x100bd5fa
push dword [ebp - 0x103c]
push dword [ebp - 0x102c]
push esi
call fcn.100bc6c0
add esp, 0xc
jmp 0x100bd5ea
test edi, edi
jg 0x100bd582
push dword [ebp - 0x103c]
push dword [ebp - 0x102c]
push esi
call fcn.100bc6c0
add esp, 0xc
jmp 0x100bd5ea
movzx eax, word [ebp - 0x1024]
mov ecx, dword [ebx]
cmp eax, ecx
jne 0x100bd5fa
sub ecx, 2
je 0x100bd5be
sub ecx, 0x15
jne 0x100bd5fa
lea edx, [ebx + 4]
lea eax, [ebp - 0x101c]
lea esi, [ecx + 0xc]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x100bd5f4
add edx, 4
add eax, 4
sub esi, 4
jae 0x100bd5a5
mov esi, dword [ebp - 0x1028]
jmp 0x100bd5cb
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x1020]
cmp eax, dword [ecx]
jne 0x100bd5fa
push dword [ebp - 0x103c]
lea eax, [ebp - 0x1008]
push 0
push dword [ebp - 0x102c]
push edi
push eax
push esi
call fcn.100bce10
add esp, 0x18
test edi, edi
jg 0x100bd497
jmp 0x100bd5fa
mov esi, dword [ebp - 0x1028]
mov edi, dword [ebp - 0x102c]
mov edx, dword [ebp - 0x1034]
mov ecx, dword [ebp - 0x1030]
inc edi
add edx, 0x58
mov dword [ebp - 0x102c], edi
mov dword [ebp - 0x1034], edx
cmp edi, dword [esi + 0x78]
jl 0x100bd410
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100b8868
mov esp, ebp
pop ebp
ret