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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c71d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x67da2c]
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.005447e0
mov eax, dword [esi + 0xb0]
mov ebx, 2
cmp dword [eax + 4], ebx
jne 0x52468b
mov ecx, dword [esi + 0x3190]
cmp ecx, edi
je 0x524661
cmp dword [esi + 0x3194], edi
je 0x52468b
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.00529fc0
push 0x681f78
lea ecx, [ebp - 0x14]
call fcn.005a0ccb
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 2
cmp dword [eax + 4], 1
jne 0x5246c4
mov eax, dword [esi + 0x30f0]
cmp eax, edi
je 0x5246c4
push eax
lea ecx, [ebp - 0x14]
push 0x656f5c
push ecx
call fcn.00599a28
add esp, 0xc
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
jne 0x5246e7
mov eax, dword [esi + 0x3184]
lea ecx, [ebp - 0x14]
push eax
push 0x656f5c
push ecx
call fcn.00599a28
add esp, 0xc
mov edx, dword [esi + 0x3170]
cmp dword [edx - 8], edi
je 0x524714
mov eax, dword [esi + 0x80]
mov dl, byte [eax + 0x172]
test dl, dl
sete al
test al, al
je 0x524714
cmp dword [esi + 0x3174], edi
sete al
test al, al
jne 0x524736
mov ecx, dword [esi + 0x3184]
cmp dword [ecx - 8], edi
je 0x52472f
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], ebx
sete al
test al, al
jne 0x524736
mov ebx, 0x681f78
jmp 0x52473b
mov ebx, str.Connection:_Keep_Alive_r_n
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x52474a
mov edi, dword [eax + 0xc]
jmp 0x524753
mov ecx, dword [esi + 0x80]
mov edi, dword [ecx + 0x14]
test eax, eax
jne 0x524773
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
push eax
call fcn.005a0ccb
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.00599a28
mov al, byte [ebp - 0x1c]
add esp, 0x18
test al, 1
mov dword [ebp - 4], 2
je 0x5247a3
lea ecx, [ebp - 0x20]
call fcn.005a0c5d
mov ecx, esi
mov dword [esi + 0x5c], 0x10
call fcn.0050ed30
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.0050e0e0
mov edi, eax
test edi, edi
jne 0x524818
mov eax, dword [ebp + 8]
test eax, eax
je 0x524818
push edi
mov ecx, esi
call fcn.00523bb0
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.005a0c5d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005a0c5d
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.005a0c5d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005a0c5d
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