Function at 0x40a2d0
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 0x40a600
cmp eax, 0xffffffff
je 0x40a600
xor ecx, ecx
cmp dword [ebx + 0x84], 2
push 0
setne cl
sub ecx, 1
and ecx, 0x800000
or ecx, 0x4400040
push ecx
push 0x451e9c
push esi
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
xor esi, esi
cmp eax, esi
mov dword [ebx + 0xc], eax
je 0x40a5e9
cmp eax, 0xffffffff
je 0x40a5e9
push SysReAllocStringLen
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x40a39d
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 0x40a539
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 0x40a3dc
sub eax, 1
jne 0x40a3eb
lea eax, [esp + 0x20]
push eax
mov edx, str.https:__
jmp 0x40a3e6
lea ecx, [esp + 0x20]
push ecx
mov edx, str.http:__
call fcn.004081c0
cmp dword [ebx + 0x28], 0x10
jb 0x40a3f6
mov edx, dword [ebx + 0x14]
jmp 0x40a3f9
lea edx, [ebx + 0x14]
lea eax, [esp + 0x20]
push eax
call fcn.0040bfc0
mov eax, dword [ebx + 0x84]
cmp eax, 1
jne 0x40a417
cmp dword [ebx + 0x80], 0x50
je 0x40a45e
cmp eax, 2
jne 0x40a428
cmp dword [ebx + 0x80], 0x1bb
je 0x40a45e
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 0x40a498
cmp esi, eax
je 0x40a49d
call fcn.00421af8
cmp edi, dword [esp + 0x14]
je 0x40a528
test esi, esi
jne 0x40a4b0
call fcn.00421af8
cmp edi, dword [esi + 4]
jne 0x40a4ba
call fcn.00421af8
mov eax, dword [edi + 8]
mov ecx, 0x10
cmp dword [eax + 0x34], ecx
jb 0x40a4cc
mov edx, dword [eax + 0x20]
jmp 0x40a4cf
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], ecx
jb 0x40a4d9
mov eax, dword [eax + 4]
jmp 0x40a4dc
add eax, 4
cmp dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
jae 0x40a4ea
lea ecx, [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x40a511
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.0040c000
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x40a480
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
mov eax, ebx
call fcn.0040a160
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add eax, 1
push eax
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov eax, ebx
call fcn.0040a160
add eax, 1
push eax
push esi
mov eax, ebx
call fcn.0040a1d0
push eax
push esi
push str.Content_Type:_application_x_www_form_urlencoded_r_n
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebx + 0xc]
push eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40a5bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
je 0x40a5bb
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x4462cc
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], str.request_failed...
call fcn.00422a93
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
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