Function at 0x4359c1
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov byte [eax + edx - 1], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
sub eax, 3
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x435a02
xor eax, eax
jmp 0x435cc1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x10], 0
je 0x435ca8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, 0xea60
jbe 0x435a2d
jmp 0x435ca8
cmp dword [ebp - 0x10], 0
jg 0x435a54
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00465470
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, 1
jmp 0x435cc1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004359a6
test eax, eax
je 0x435a9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
push 2
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x435a9d
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
xor eax, eax
jmp 0x435cc1
jmp 0x435aa4
jmp 0x435a0b
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov byte [edx], 0
mov dword [ebp - 0x14], 0
push 0x4a7d7c
mov eax, dword [ebp - 4]
push eax
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435b84
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 8], ecx
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
jmp 0x435af4
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
jge 0x435b1b
push 0
push 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x435b19
xor eax, eax
jmp 0x435cc1
jmp 0x435aeb
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00465470
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x435b58
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x24]
movsx ecx, byte [eax - 1]
cmp ecx, 0xd
jne 0x435b58
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
mov byte [edx - 1], 0
push 0x4a7d80
mov eax, dword [ebp + 0xc]
push eax
call fcn.00465360
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00465470
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, 1
jmp 0x435cc1
push 0x4a7d84
mov eax, dword [ebp - 4]
push eax
call fcn.004652d0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435c51
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 8], ecx
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
jmp 0x435bc4
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 8]
jge 0x435beb
push 0
push 1
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x435be9
xor eax, eax
jmp 0x435cc1
jmp 0x435bbb
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.00465470
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x435c28
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x30]
movsx ecx, byte [eax - 1]
cmp ecx, 0xa
jne 0x435c28
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x30]
mov byte [edx - 1], 0
push 0x4a7d88
mov eax, dword [ebp + 0xc]
push eax
call fcn.00465360
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00465470
add esp, 4
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, 1
jmp 0x435cc1
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x435c67
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 8]
jge 0x435c91
push 0
push 1
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x435c8f
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
xor eax, eax
jmp 0x435cc1
jmp 0x435c5e
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x435a0b
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00465470
add esp, 4
test eax, eax
jbe 0x435cbf
mov eax, 1
jmp 0x435cc1
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc