Function at 0x414d80
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4461d8
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 0x415032
cmp eax, 0xffffffff
je 0x415032
xor edx, edx
cmp dword [esi + 0x84], 2
push ebx
setne dl
dec edx
and edx, 0x800000
or edx, 0x4000000
push edx
push 0x452390
push ecx
push str.HTTP_1.0
push edi
push 0x448a10
push eax
call dword [0x447388]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x41501b
cmp eax, 0xffffffff
je 0x41501b
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [0x44738c]
test eax, eax
jne 0x414e4a
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 0x414fcc
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 0x414e83
sub eax, 1
jne 0x414e91
push str.https:__
jmp 0x414e88
push str.http:__
lea ecx, [esp + 0x24]
call fcn.00413e00
mov ebx, 0x10
cmp dword [esi + 0x28], ebx
jb 0x414ea0
mov eax, dword [esi + 0x14]
jmp 0x414ea3
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.00405c80
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x414ec1
cmp dword [esi + 0x80], 0x50
je 0x414f0a
cmp eax, 2
jne 0x414ed2
cmp dword [esi + 0x80], 0x1bb
je 0x414f0a
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 0x414fbb
lea ecx, [esp + 0x18]
call fcn.00413340
mov eax, dword [eax]
cmp dword [eax + 0x34], ebx
jb 0x414f6b
mov edx, dword [eax + 0x20]
jmp 0x414f6e
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ebx
jb 0x414f78
mov eax, dword [eax + 4]
jmp 0x414f7b
add eax, 4
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x414f89
lea ecx, [esp + 0x24]
push edx
push eax
push ecx
call edi
test eax, eax
je 0x414fa4
push 0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.00413370
jmp 0x414f30
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 eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push eax
call dword [0x447394]
test eax, eax
jne 0x414ff9
push 0x44e74c
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], str.request_failed...
call fcn.0041e4f3
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