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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.10175520
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x1038], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x102c], esi
test ecx, ecx
jne 0x10194fa3
cmp edx, 0xffffffff
je 0x101951e5
push edi
xor edi, edi
mov dword [ebp - 0x1028], edi
cmp dword [esi + 0x78], edi
jle 0x101951e4
push ebx
xor ebx, ebx
mov dword [ebp - 0x103c], ebx
nop
add ebx, dword [esi + 0x74]
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x101951c4
cmp dword [ebx + 0x54], 0
jne 0x101951c4
test ecx, ecx
je 0x10195041
push ecx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x101951bb
mov edi, dword [ebp - 0x1030]
xor ecx, ecx
mov edx, dword [ebx + 0x1c]
mov esi, dword [edi]
test esi, esi
je 0x10195039
lea eax, [edi + 4]
cmp dword [eax], edx
je 0x10195014
inc ecx
add eax, 4
cmp ecx, esi
jb 0x10195000
mov esi, dword [ebp - 0x102c]
jmp 0x10195050
lea eax, [esi - 1]
cmp ecx, eax
jae 0x10195034
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 esi, dword [edi]
lea eax, [esi - 1]
cmp ecx, eax
jb 0x10195021
lea eax, [esi - 1]
mov dword [edi], eax
mov esi, dword [ebp - 0x102c]
jmp 0x10195050
cmp eax, edx
jne 0x101951c4
nop dword [eax]
cmp dword [ebx + 0x1c], 0xffffffff
jne 0x10195072
push dword [ebp - 0x1038]
xor edi, edi
push dword [ebp - 0x1028]
push esi
call fcn.10194460
add esp, 0xc
jmp 0x101951a5
cmp dword [ebx], 2
mov ecx, 0x1c
mov eax, 0x10
cmovne eax, ecx
mov dword [ebp - 0x1034], eax
mov eax, dword [esi + 0x91b8]
mov ecx, dword [ebx + 0x1c]
test eax, eax
je 0x101950c2
push dword [esi + 0x91bc]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x1034]
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 0x101950e5
lea eax, [ebp - 0x1034]
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 0x10195120
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x101951b5
cmp eax, 0x2733
je 0x101951b5
push dword [ebp - 0x1038]
push dword [ebp - 0x1028]
push esi
call fcn.10194460
add esp, 0xc
jmp 0x101951a5
test edi, edi
jg 0x1019513b
push dword [ebp - 0x1038]
push dword [ebp - 0x1028]
push esi
call fcn.10194460
add esp, 0xc
jmp 0x101951a5
movzx eax, word [ebp - 0x1024]
mov ecx, dword [ebx]
cmp eax, ecx
jne 0x101951b5
sub ecx, 2
je 0x10195179
sub ecx, 0x15
jne 0x101951b5
lea edx, [ebx + 4]
lea eax, [ebp - 0x101c]
lea esi, [ecx + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x101951af
add edx, 4
add eax, 4
sub esi, 4
jae 0x10195160
mov esi, dword [ebp - 0x102c]
jmp 0x10195186
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x1020]
cmp eax, dword [ecx]
jne 0x101951b5
push dword [ebp - 0x1038]
lea eax, [ebp - 0x1008]
push 0
push dword [ebp - 0x1028]
push edi
push eax
push esi
call fcn.10194a00
add esp, 0x18
test edi, edi
jg 0x10195050
jmp 0x101951b5
mov esi, dword [ebp - 0x102c]
mov edi, dword [ebp - 0x1028]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1030]
mov ebx, dword [ebp - 0x103c]
inc edi
add ebx, 0x58
mov dword [ebp - 0x1028], edi
mov dword [ebp - 0x103c], ebx
cmp edi, dword [esi + 0x78]
jl 0x10194fc0
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100e04a9
mov esp, ebp
pop ebp
ret