Function at 0x409cb0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43af58
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44a874]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x409f7d
cmp eax, 0xffffffff
je 0x409f7d
xor ecx, ecx
cmp dword [ebx + 0x84], 2
push 0
setne cl
sub ecx, 1
and ecx, 0x800000
or ecx, 0x4000000
push ecx
push 0x451e98
push esi
push str.HTTP_1.0
push edi
push 0x441f64
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
xor esi, esi
cmp eax, esi
mov dword [ebx + 0xc], eax
je 0x409f66
cmp eax, 0xffffffff
je 0x409f66
push SysReAllocStringLen
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x409d7d
push 0x4462cc
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], str.additional_header_failed...
call fcn.00422a93
mov eax, dword [ebx + 0x9c]
cmp eax, esi
jbe 0x409f1b
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
mov dword [esp + 0x58], esi
mov eax, dword [ebx + 0x84]
sub eax, 1
je 0x409dbc
sub eax, 1
jne 0x409dcb
lea eax, [esp + 0x20]
push eax
mov edx, str.https:__
jmp 0x409dc6
lea ecx, [esp + 0x20]
push ecx
mov edx, str.http:__
call fcn.004081c0
cmp dword [ebx + 0x28], 0x10
jb 0x409dd6
mov edx, dword [ebx + 0x14]
jmp 0x409dd9
lea edx, [ebx + 0x14]
lea eax, [esp + 0x20]
push eax
call fcn.0040bfc0
mov eax, dword [ebx + 0x84]
cmp eax, 1
jne 0x409df7
cmp dword [ebx + 0x80], 0x50
je 0x409e3e
cmp eax, 2
jne 0x409e08
cmp dword [ebx + 0x80], 0x1bb
je 0x409e3e
mov ecx, dword [ebx + 0x80]
push ecx
xor eax, eax
lea edx, [esp + 0x40]
push 0x441fbc
push edx
mov word [esp + 0x48], si
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
call fcn.00421f49
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x40]
call fcn.0040bfc0
lea ecx, [esp + 0x20]
push ecx
mov edx, edi
call fcn.0040bfc0
mov eax, dword [ebx + 0x98]
mov edi, dword [eax]
lea esi, [ebx + 0x94]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
test esi, esi
mov edx, dword [ebx + 0x98]
lea eax, [ebx + 0x94]
mov dword [esp + 0x14], edx
je 0x409e78
cmp esi, eax
je 0x409e7d
call fcn.00421af8
cmp edi, dword [esp + 0x14]
je 0x409f08
test esi, esi
jne 0x409e90
call fcn.00421af8
cmp edi, dword [esi + 4]
jne 0x409e9a
call fcn.00421af8
mov eax, dword [edi + 8]
mov ecx, 0x10
cmp dword [eax + 0x34], ecx
jb 0x409eac
mov edx, dword [eax + 0x20]
jmp 0x409eaf
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ecx
jb 0x409eb9
mov eax, dword [eax + 4]
jmp 0x409ebc
add eax, 4
cmp dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
jae 0x409eca
lea ecx, [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x409ef1
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.0040c000
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x409e60
push 0x4462cc
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.add_cookie_failed...
call fcn.00422a93
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.004077a0
xor esi, esi
mov ecx, dword [ebx + 0xc]
push esi
push esi
push esi
push esi
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x409f44
push 0x4462cc
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], str.request_failed...
call fcn.00422a93
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.00420bdf
mov esp, ebp
pop ebp
ret 8
push 0x4462cc
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], str.request_failed...
call fcn.00422a93
push 0x4462cc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], str.handle_not_opened...
call fcn.00422a93
int3