Function at 0x4d963c
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, 0xfffff6ac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x954], ebx
mov dword [ebp - 0x950], ebx
mov dword [ebp - 0x930], ebx
mov dword [ebp - 0x934], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d98d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4d98e8
mov eax, ebx
call fcn.004093bc
mov esi, eax
test esi, esi
jne 0x4d968e
mov esi, ebx
jmp 0x4d9691
lea esi, [ebx + 7]
mov dl, 0x2f
mov eax, esi
call fcn.004093a8
mov ebx, eax
test ebx, ebx
jne 0x4d96bc
mov edx, 0x4d98f0
lea eax, [ebp - 0x141]
call fcn.00409244
lea eax, [ebp - 0x6d]
mov edx, esi
call fcn.00409244
jmp 0x4d96de
lea eax, [ebp - 0x141]
mov edx, ebx
call fcn.00409244
mov edi, ebx
sub edi, esi
mov ecx, edi
lea eax, [ebp - 0x6d]
mov edx, esi
call fcn.004072b4
mov byte [ebp + edi - 0x6d], 0
lea eax, [ebp - 0x6d]
mov dl, 0x3a
call fcn.004093a8
mov ebx, eax
test ebx, ebx
jne 0x4d96fd
mov edx, 0x4d98f4
lea eax, [ebp - 0x78]
call fcn.00409244
jmp 0x4d970b
lea edx, [ebx + 1]
lea eax, [ebp - 0x78]
call fcn.00409244
mov byte [ebx], 0
lea eax, [ebp - 0x930]
lea edx, [ebp - 0x78]
mov ecx, 0xb
call fcn.004043c8
mov eax, dword [ebp - 0x930]
push eax
lea eax, [ebp - 0x934]
lea edx, [ebp - 0x6d]
mov ecx, 0x65
call fcn.004043c8
mov edx, dword [ebp - 0x934]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004d9574
mov esi, eax
test esi, esi
jg 0x4d9755
or ebx, 0xffffffff
jmp 0x4d98aa
push 2
lea eax, [ebp - 0x141]
mov dword [ebp - 0x94c], eax
mov byte [ebp - 0x948], 6
lea eax, [ebp - 0x6d]
mov dword [ebp - 0x944], eax
mov byte [ebp - 0x940], 6
lea eax, [ebp - 0x78]
mov dword [ebp - 0x93c], eax
mov byte [ebp - 0x938], 6
lea ecx, [ebp - 0x94c]
mov edx, 0x4d98f8
lea eax, [ebp - 0x92a]
call fcn.004098b8
push 0
lea eax, [ebp - 0x92a]
call fcn.00409208
push eax
lea eax, [ebp - 0x92a]
push eax
push esi
call sub.wsock32.dll_send
xor edi, edi
mov edx, esi
mov eax, 0x12c
call fcn.004db5d0
push 0
push 0x400
lea eax, [ebp - 0x92a]
push eax
push esi
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jg 0x4d9814
lea edx, [ebp - 0x950]
mov eax, ebx
call fcn.00408a28
mov edx, dword [ebp - 0x950]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
call fcn.0045b968
push 2
push esi
call sub.wsock32.dll_shutdown
or ebx, 0xffffffff
jmp 0x4d98aa
mov edx, 0x4d9a48
lea eax, [ebp - 0x92a]
call fcn.004093bc
add eax, 4
test eax, eax
je 0x4d9845
lea edx, [ebp - 0x92a]
mov ecx, eax
sub ecx, edx
mov edi, ebx
sub edi, ecx
mov edx, eax
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041e66c
mov edx, esi
mov eax, 0x1e
call fcn.004db5d0
push 0
push 0x400
lea eax, [ebp - 0x92a]
push eax
push esi
call sub.wsock32.dll_recv
mov ebx, eax
lea edx, [ebp - 0x954]
mov eax, ebx
call fcn.00408a28
mov edx, dword [ebp - 0x954]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
call fcn.0045b968
test ebx, ebx
jle 0x4d98a0
lea edx, [ebp - 0x92a]
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.0041e66c
add edi, ebx
jmp 0x4d9845
push 2
push esi
call sub.wsock32.dll_shutdown
mov ebx, edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d98df
lea eax, [ebp - 0x954]
mov edx, 2
call fcn.0040417c
lea eax, [ebp - 0x934]
mov edx, 2
call fcn.0040417c
ret