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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x535820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov byte [ebp - 7], 0
test esi, esi
jne 0x419a0e
push 0
push 2
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x419a4d
mov byte [ebp - 0x21], 0
xor edi, edi
push 1
lea eax, [ebp - 0x21]
push eax
push esi
call fcn.004b5e10
add esp, 0xc
cmp eax, 1
jne 0x419a32
mov al, byte [ebp - 0x21]
mov byte [ebp + edi - 0x14], al
inc edi
jmp 0x419a45
push eax
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
jne 0x419cb7
cmp edi, 2
jne 0x419a14
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x14]
mov byte [ebx], al
movzx ebx, byte [ebp - 0x13]
and ebx, 0x7f
cmp ebx, 0x7f
jne 0x419b57
test esi, esi
jne 0x419a9b
push esi
push 0xa
lea eax, [ebp - 0x20]
push eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
xorps xmm0, xmm0
push edi
mov byte [ebp - 0x20], 0
movq qword [ebp - 0x1f], xmm0
mov byte [ebp - 0x17], 0
call eax
push 0xa
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12]
push 0xe
push eax
call fcn.0041eec4
add esp, 0x10
jmp 0x419ad7
mov byte [ebp - 0x21], 0
xor edi, edi
push 1
lea eax, [ebp - 0x21]
push eax
push esi
call fcn.004b5e10
add esp, 0xc
cmp eax, 1
jne 0x419abf
mov al, byte [ebp - 0x21]
mov byte [ebp + edi - 0x12], al
inc edi
jmp 0x419ad2
push eax
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
jne 0x419cb7
cmp edi, 0xc
jne 0x419aa1
movzx eax, byte [ebp - 0xc]
cdq
mov ebx, eax
movzx eax, byte [ebp - 0xd]
shld edx, ebx, 8
cdq
shld edx, eax, 0x10
shl eax, 0x10
shl ebx, 8
add ebx, eax
movzx eax, byte [ebp - 0xe]
cdq
shld edx, eax, 0x18
shl eax, 0x18
add ebx, eax
movzx eax, byte [ebp - 0xf]
cdq
movzx eax, byte [ebp - 0x10]
cdq
shl eax, 8
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x28]
cdq
shl eax, 0x10
movzx eax, byte [ebp - 0x12]
cdq
shl eax, 0x18
movzx eax, byte [ebp - 0xb]
add ebx, eax
movzx eax, byte [ebp - 0xa]
mov byte [ecx], al
movzx eax, byte [ebp - 9]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 8]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 7]
mov byte [ecx + 3], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, 0x7e
jne 0x419c16
test esi, esi
jne 0x419b94
push esi
push 6
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
push edi
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], esi
mov byte [ebp - 0x17], 0
call eax
push 6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12]
push 0xe
push eax
call fcn.0041eec4
add esp, 0x10
jmp 0x419bd6
mov byte [ebp - 0x21], 0
xor edi, edi
lea ebx, [ebx]
push 1
lea eax, [ebp - 0x21]
push eax
push esi
call fcn.004b5e10
add esp, 0xc
cmp eax, 1
jne 0x419bbe
mov al, byte [ebp - 0x21]
mov byte [ebp + edi - 0x12], al
inc edi
jmp 0x419bd1
push eax
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
jne 0x419cb7
cmp edi, 6
jne 0x419ba0
movzx ebx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x28]
shl ebx, 8
add ebx, eax
movzx eax, byte [ebp - 0x10]
mov byte [ecx], al
movzx eax, byte [ebp - 0xf]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 0xe]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0xd]
mov byte [ecx + 3], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
jne 0x419c4c
xor eax, eax
push eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
push 4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
push edi
mov byte [ebp - 0x1c], 0
call eax
push 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12]
push 0xe
push eax
call fcn.0041eec4
add esp, 0x10
jmp 0x419c84
mov byte [ebp - 0x21], 0
xor edi, edi
push 1
lea eax, [ebp - 0x21]
push eax
push esi
call fcn.004b5e10
add esp, 0xc
cmp eax, 1
jne 0x419c70
mov al, byte [ebp - 0x21]
mov byte [ebp + edi - 0x12], al
inc edi
jmp 0x419c7f
push eax
push esi
call fcn.004b5760
add esp, 8
cmp eax, 2
jne 0x419cb7
cmp edi, 4
jne 0x419c52
mov eax, dword [ebp - 0x28]
movzx ecx, byte [ebp - 0x12]
mov byte [eax], cl
movzx ecx, byte [ebp - 0x11]
mov byte [eax + 1], cl
movzx ecx, byte [ebp - 0x10]
mov byte [eax + 2], cl
movzx ecx, byte [ebp - 0xf]
mov byte [eax + 3], cl
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.0041d8e4
mov esp, ebp
pop ebp
ret 0x10