Function at 0x48ab50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4cde68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov al, byte [esp + 0x38]
push ebp
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], al
call fcn.0048a1d0
mov ebp, dword [esp + 0x3c]
mov ecx, esi
push ebp
mov dword [esp + 0x38], 0
call fcn.0048aac0
test eax, eax
jne 0x48abc7
push 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048a1d0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
push ebx
push edi
push 0x800
call fcn.0049a1e7
mov ebx, eax
mov eax, dword [esi + 0x24]
add esp, 4
mov dword [esp + 0x44], ebx
test eax, eax
jne 0x48ac23
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 8]
add eax, 0x190
push eax
call fcn.0049a1e7
mov edi, eax
mov eax, dword [esi + 4]
add esp, 4
mov dword [esp + 0x48], edi
test eax, eax
jne 0x48ac0a
mov eax, 0x4e59a8
mov ecx, dword [esp + 0x4c]
push ecx
push eax
push str.CONNECT__s:_d_HTTP_1.1_r_nAccept:___r_nProxy_Connection:_Keep_Alive_r_nContent_length:_0_r_n_r_n
push edi
call fcn.0049b49e
add esp, 0x10
jmp 0x48ad08
mov dl, byte [esp + 0x48]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.0048a1d0
mov eax, dword [0x4e59ac]
lea ecx, [esi + 0x1c]
push eax
push 0
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
call fcn.0048b640
push 0x3a
push 1
lea ecx, [esp + 0x2c]
call fcn.0048b370
mov edx, dword [0x4e59ac]
add esi, 0x2c
push edx
push 0
push esi
lea ecx, [esp + 0x30]
call fcn.0048b640
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax]
push ecx
call fcn.0049a1e7
mov ecx, dword [esp + 0x2c]
add esp, 4
test ecx, ecx
mov esi, eax
jne 0x48ac92
mov ecx, 0x4e59a8
mov eax, dword [esp + 0x2c]
lea edx, [eax + eax]
push edx
push eax
push esi
push ecx
call fcn.00487fb0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x58]
repne scasb al, byte es:[edi]
mov edx, dword [ebx + 8]
not ecx
dec ecx
lea eax, [ecx + edx + 0x190]
push eax
call fcn.0049a1e7
mov ecx, dword [ebx + 4]
add esp, 0x14
test ecx, ecx
mov dword [esp + 0x48], eax
jne 0x48acd5
mov ecx, 0x4e59a8
mov edx, dword [esp + 0x4c]
push esi
push edx
push ecx
push str.CONNECT__s:_d_HTTP_1.1_r_nProxy_Authorization:_Basic__s_r_nAccept:___r_nProxy_Connection:_Keep_Alive_r_nContent_length:_0_r_n_r_n
push eax
call fcn.0049b49e
push esi
call fcn.0049a0fe
add esp, 0x18
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
push 1
call fcn.0048a1d0
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x48]
push 0
not ecx
dec ecx
push ecx
push eax
push ebp
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x48ad33
mov dword [esp + 0x10], 0
jmp 0x48af03
push 0
push 0x800
push ebx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x48ad26
cmp eax, 0xffffffff
je 0x48ad26
mov byte [ebx + eax], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.0048b840
test al, al
je 0x48ad91
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [eax + ebx], 0
mov edi, 0x5cfbfc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov dword [esp + 0x4c], esi
je 0x48ae10
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jbe 0x48ae0b
cmp esi, ebp
ja 0x48ae0b
movsx edx, byte [0x5cfbfc]
mov ebx, dword [esp + 0x18]
mov ecx, 1
sub ecx, esi
add ebp, ecx
push ebp
push edx
push ebx
call fcn.0049ab40
add esp, 0xc
test eax, eax
je 0x48ae0b
jmp 0x48addd
mov esi, dword [esp + 0x4c]
mov ecx, esi
mov edi, 0x5cfbfc
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x48ae61
sub ebx, eax
lea ebp, [ebx + ebp - 1]
lea ebx, [eax + 1]
movsx eax, byte [0x5cfbfc]
push ebp
push eax
push ebx
call fcn.0049ab40
add esp, 0xc
test eax, eax
jne 0x48add9
mov eax, dword [0x4e59ac]
cmp eax, dword [0x4e59ac]
je 0x48aef7
push eax
lea ecx, [esp + 0x28]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.0048b1e0
mov edx, dword [0x4e59ac]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
mov byte [esp + 0x48], 2
call fcn.0048b440
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48ae70
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48ae67
cmp al, 0xff
je 0x48ae67
dec al
mov byte [ecx], al
jmp 0x48ae70
sub eax, dword [esp + 0x18]
jmp 0x48ae10
push ecx
call fcn.004be727
add esp, 4
mov edi, 0x5cfbf8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov dword [esp + 0x4c], esi
je 0x48aeef
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jbe 0x48aeea
cmp esi, ebp
ja 0x48aeea
movsx ecx, byte [0x5cfbf8]
mov ebx, dword [esp + 0x18]
mov eax, 1
sub eax, esi
add ebp, eax
push ebp
push ecx
push ebx
call fcn.0049ab40
add esp, 0xc
test eax, eax
je 0x48aeea
jmp 0x48aebc
mov esi, dword [esp + 0x4c]
mov ecx, esi
mov edi, 0x5cfbf8
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x48af3d
sub ebx, eax
lea ebp, [ebx + ebp - 1]
lea ebx, [eax + 1]
movsx eax, byte [0x5cfbf8]
push ebp
push eax
push ebx
call fcn.0049ab40
add esp, 0xc
test eax, eax
jne 0x48aeb8
mov eax, dword [0x4e59ac]
cmp eax, dword [0x4e59ac]
jne 0x48aeff
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x48af10
push ebx
call fcn.0049a0fe
add esp, 4
mov eax, dword [esp + 0x48]
pop edi
test eax, eax
pop ebx
je 0x48af23
push eax
call fcn.0049a0fe
add esp, 4
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x48af4d
mov al, byte [ecx - 1]
test al, al
je 0x48af43
cmp al, 0xff
je 0x48af43
dec al
mov byte [ecx - 1], al
jmp 0x48af4d
sub eax, dword [esp + 0x18]
jmp 0x48aeef
dec ecx
push ecx
call fcn.004be727
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 8]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc