Function at 0x50d8e0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab547
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x65ca8c]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.0052d530
mov eax, dword [esi + 0xb0]
mov ebx, 2
cmp dword [eax + 4], ebx
jne 0x50d96b
mov ecx, dword [esi + 0x3190]
cmp ecx, edi
je 0x50d941
cmp dword [esi + 0x3194], edi
je 0x50d96b
lea edx, [esi + 0x3184]
push 1
push edx
lea edx, [esi + 0x3194]
push edx
mov edx, dword [eax + 0x118]
push edx
mov edx, dword [eax + 0x114]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00513230
push 0x660ff8
lea ecx, [ebp - 0x14]
call fcn.00586ba1
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 2
cmp dword [eax + 4], 1
jne 0x50d9a4
mov eax, dword [esi + 0x30f0]
cmp eax, edi
je 0x50d9a4
push eax
lea ecx, [ebp - 0x14]
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
jne 0x50d9c7
mov eax, dword [esi + 0x3184]
lea ecx, [ebp - 0x14]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
mov edx, dword [esi + 0x3170]
cmp dword [edx - 8], edi
je 0x50d9f4
mov eax, dword [esi + 0x80]
mov dl, byte [eax + 0x172]
test dl, dl
sete al
test al, al
je 0x50d9f4
cmp dword [esi + 0x3174], edi
sete al
test al, al
jne 0x50da16
mov ecx, dword [esi + 0x3184]
cmp dword [ecx - 8], edi
je 0x50da0f
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
sete al
test al, al
jne 0x50da16
mov ebx, 0x660ff8
jmp 0x50da1b
mov ebx, str.Connection:_Keep_Alive_r_n
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x50da2a
mov edi, dword [eax + 0xc]
jmp 0x50da33
mov ecx, dword [esi + 0x80]
mov edi, dword [ecx + 0x14]
test eax, eax
jne 0x50da53
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
push eax
call fcn.00586ba1
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
push ecx
push ebx
push edi
push eax
lea edx, [ebp - 0x18]
push str.CONNECT__s:_ld_HTTP_1.1_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.00__Windows_98__r_n_s_s_r_n
push edx
call fcn.0057f8fb
mov al, byte [ebp - 0x1c]
add esp, 0x18
test al, 1
mov dword [ebp - 4], 2
je 0x50da83
lea ecx, [ebp - 0x20]
call fcn.00586b33
mov ecx, esi
mov dword [esi + 0x5c], 0x10
call fcn.004f80b0
mov eax, dword [ebp - 0x18]
push str.send___CONNECT
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 0x30c4]
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.004f7460
mov edi, eax
test edi, edi
jne 0x50daf8
mov eax, dword [ebp + 8]
test eax, eax
je 0x50daf8
push edi
mov ecx, esi
call fcn.0050ce90
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4