Function at 0x41e400
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, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], 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 + 0x10]
call fcn.004052a4
mov eax, dword [ebp + 0xc]
call fcn.004052a4
xor eax, eax
push ebp
push 0x41e67c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, 0x41e694
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 0x41e644
xor edx, edx
push ebp
push 0x41e63d
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
call fcn.00404e24
push dword [ebp - 0xc]
push 0x41e6a4
push dword [ebp - 8]
push 0x41e6b4
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e6d4
push dword [ebp - 4]
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e6e4
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e700
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e720
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051b8
push dword [ebp - 0xc]
push 0x41e740
push dword [ebp + 0x10]
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004051b8
mov esi, dword [ebp + 0xc]
mov ebx, esi
test ebx, ebx
je 0x41e548
sub ebx, 4
mov ebx, dword [ebx]
push dword [ebp - 0xc]
push 0x41e778
lea edx, [ebp - 0x418]
mov eax, ebx
call fcn.004082a8
push dword [ebp - 0x418]
push 0x41e6c8
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.004051b8
lea eax, [ebp - 0xc]
mov edx, 0x41e6c8
call fcn.004050f0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41e58e
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, esi
test eax, eax
je 0x41e5a9
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
lea eax, [ebp - 0x10]
call fcn.00404e24
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, 0x400
call fcn.00403900
push 0
push 0x400
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wsock32.dll_recv
mov edi, eax
mov esi, edi
test esi, esi
jle 0x41e618
lea ebx, [ebp - 0x414]
lea eax, [ebp - 0x41c]
movzx edx, byte [ebx]
call fcn.0040500c
mov edx, dword [ebp - 0x41c]
lea eax, [ebp - 0x10]
call fcn.004050f0
inc ebx
dec esi
jne 0x41e5f8
test edi, edi
jg 0x41e5c1
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 0x41e644
mov eax, dword [ebp - 0x14]
call fcn.0041dbf0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e683
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.00404e48
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404e48
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00404e48
ret