Function at 0x415050
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446208
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4538d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x415370
cmp eax, 0xffffffff
je 0x415370
xor edx, edx
cmp dword [esi + 0x84], 2
push ebx
setne dl
dec edx
and edx, 0x800000
or edx, 0x4400040
push edx
push 0x452398
push ecx
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [0x447388]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x415359
cmp eax, 0xffffffff
je 0x415359
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [0x44738c]
test eax, eax
jne 0x41511a
push 0x44e74c
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.additional_header_failed...
call fcn.0041e4f3
mov eax, dword [esi + 0xbc]
cmp eax, ebx
jbe 0x41529c
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov eax, dword [esi + 0x84]
sub eax, 1
mov dword [esp + 0x58], ebx
je 0x415153
sub eax, 1
jne 0x415161
push str.https:__
jmp 0x415158
push str.http:__
lea ecx, [esp + 0x24]
call fcn.00413e00
mov ebx, 0x10
cmp dword [esi + 0x28], ebx
jb 0x415170
mov eax, dword [esi + 0x14]
jmp 0x415173
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.00405c80
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x415191
cmp dword [esi + 0x80], 0x50
je 0x4151da
cmp eax, 2
jne 0x4151a2
cmp dword [esi + 0x80], 0x1bb
je 0x4151da
mov edx, dword [esi + 0x80]
xor eax, eax
push edx
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
lea eax, [esp + 0x40]
xor ecx, ecx
push 0x4489cc
push eax
mov word [esp + 0x48], cx
call fcn.004203dd
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405c80
push edi
lea ecx, [esp + 0x24]
call fcn.00405c80
mov eax, dword [esi + 0xb8]
mov edx, dword [eax]
mov eax, dword [esi + 0xa4]
mov edi, dword [0x447390]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0xa4]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edx
call fcn.00412780
test al, al
je 0x41528b
lea ecx, [esp + 0x18]
call fcn.00413340
mov eax, dword [eax]
cmp dword [eax + 0x34], ebx
jb 0x41523b
mov edx, dword [eax + 0x20]
jmp 0x41523e
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ebx
jb 0x415248
mov eax, dword [eax + 4]
jmp 0x41524b
add eax, 4
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x415259
lea ecx, [esp + 0x24]
push edx
push eax
push ecx
call edi
test eax, eax
je 0x415274
push 0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.00413370
jmp 0x415200
push 0x44e74c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.add_cookie_failed...
call fcn.0041e4f3
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.00403720
mov ecx, esi
call fcn.00413760
inc eax
push eax
push 8
call dword [0x447174]
push eax
call dword [0x447180]
mov ecx, esi
mov edi, eax
call fcn.00413760
inc eax
push eax
push edi
mov ecx, esi
call fcn.00413810
mov ebx, dword [str.Content_Type:_application_x_www_form_urlencoded_r_n]
mov ecx, ebx
lea edx, [ecx + 1]
mov dword [esp + 0x10], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4152d6
sub ecx, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0xc]
push edi
push ecx
push ebx
push eax
call dword [0x447394]
test eax, eax
jne 0x415327
call dword [0x4470ac]
cmp eax, 0x2f88
je 0x415327
push edi
push 0
call dword [0x447174]
push eax
call dword [0x447170]
push 0x44e74c
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], str.request_failed...
call fcn.0041e4f3
push edi
push 0
call dword [0x447174]
push eax
call dword [0x447170]
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041e18f
mov esp, ebp
pop ebp
ret 8
push 0x44e74c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.request_failed...
call fcn.0041e4f3
push 0x44e74c
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.handle_not_opened...
call fcn.0041e4f3
int3