Function at 0x41df64
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x570], ebx
mov dword [ebp - 0x56c], ebx
mov dword [ebp - 0x568], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
mov eax, dword [ebp - 8]
call fcn.004052a4
mov eax, dword [ebp + 0x14]
call fcn.004052a4
mov eax, dword [ebp + 0x10]
call fcn.004052a4
mov eax, dword [ebp + 0xc]
call fcn.004052a4
lea edi, [ebp - 0x18]
xor eax, eax
push ebp
push 0x41e2df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, 0x41e2f8
call fcn.00404e78
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0041db28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x41e2a7
xor edx, edx
push ebp
push 0x41e2a0
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x564]
call fcn.004035bc
mov edx, 1
lea eax, [ebp - 0x564]
call fcn.00403aa4
call fcn.00402f98
lea eax, [ebp - 0xc]
call fcn.00404e24
push dword [ebp - 0xc]
push 0x41e308
push dword [ebp - 8]
push 0x41e318
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e338
push dword [ebp - 4]
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e348
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e364
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e384
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e3a4
push dword [ebp + 0x14]
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004051b8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41e0de
sub esi, 4
mov esi, dword [esi]
push 0x41e3dc
push dword [ebp + 0x14]
push 0x41e32c
lea eax, [ebp - 0x568]
mov edx, 3
call fcn.004051b8
mov ebx, dword [ebp - 0x568]
test ebx, ebx
je 0x41e10a
sub ebx, 4
mov ebx, dword [ebx]
push dword [ebp - 0xc]
push 0x41e3ec
lea eax, [ebp - 0x564]
call fcn.004038b4
call fcn.00402f98
add eax, esi
add eax, ebx
lea edx, [ebp - 0x56c]
call fcn.004082a8
push dword [ebp - 0x56c]
push 0x41e32c
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004051b8
lea eax, [ebp - 0xc]
mov edx, 0x41e32c
call fcn.004050f0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41e162
sub eax, 4
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_send
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e17e
sub eax, 4
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_send
jmp 0x41e1c1
push edi
lea edx, [ebp - 0x418]
mov ecx, 0x400
lea eax, [ebp - 0x564]
call fcn.00403724
call fcn.00402f98
push 0
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_send
lea eax, [ebp - 0x564]
call fcn.00403848
call fcn.00402f98
test al, al
je 0x41e190
lea eax, [ebp - 0x564]
call fcn.00403764
call fcn.00402f98
push 0x41e3dc
push dword [ebp + 0x14]
push 0x41e32c
lea eax, [ebp + 0x10]
mov edx, 3
call fcn.004051b8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e20b
sub eax, 4
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_send
lea eax, [ebp - 0x10]
call fcn.00404e24
lea eax, [ebp - 0x418]
xor ecx, ecx
mov edx, 0x400
call fcn.00403900
push 0
push 0x400
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_recv
mov dword [edi], eax
mov esi, dword [edi]
test esi, esi
jle 0x41e27a
lea ebx, [ebp - 0x418]
lea eax, [ebp - 0x570]
movzx edx, byte [ebx]
call fcn.0040500c
mov edx, dword [ebp - 0x570]
lea eax, [ebp - 0x10]
call fcn.004050f0
inc ebx
dec esi
jne 0x41e25a
cmp dword [edi], 0
jg 0x41e223
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2a7
mov eax, dword [ebp - 0x14]
call fcn.0041dbf0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2e6
lea eax, [ebp - 0x570]
mov edx, 3
call fcn.00404e48
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404e48
lea eax, [ebp + 0xc]
mov edx, 3
call fcn.00404e48
ret