Function at 0x4024a0
Capabilities:
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ebeb
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x43d910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x1c]
mov ebx, dword [0x4401f0]
cmp byte [edx], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x4024f2
xor ecx, ecx
jmp 0x402500
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4024f7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00401c80
mov dword [ebp - 4], 0
push 0x25
xor eax, eax
push str.Content_Type:_text_xml__charsetutf_8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00402340
push ecx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 1
call fcn.004027f0
sub esp, 8
lea ecx, [ebp - 0x100]
call fcn.00402a30
mov byte [ebp - 4], 2
cmp byte [ebx], 0
jne 0x402565
mov esi, 0x8000ffff
jmp 0x40274b
push 0x10
call fcn.004131d1
mov edi, eax
add esp, 4
test edi, edi
je 0x402591
mov eax, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0x409240
mov dword [edi + 0xc], eax
jmp 0x402593
xor edi, edi
test edi, edi
jne 0x4025a1
mov esi, 0x8007000e
jmp 0x40271f
sub esp, 8
mov edx, 0x437ad0
lea ecx, [ebp - 0xf0]
call fcn.00404850
mov edx, str.www.bing.com
mov ecx, eax
call fcn.00404850
mov edx, 0x437acc
mov ecx, eax
call fcn.00404850
add esp, 4
mov ecx, eax
call fcn.00402890
mov edx, str._dict_xls.aspx_TypeEvent.ClientInst
mov ecx, eax
call fcn.00404850
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.1__WOW64__Trident_6.0_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx + 4], eax
test eax, eax
jne 0x40260e
push eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, 0x80070006
call eax
jmp 0x40271f
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 2
push eax
mov dword [ebp - 0x14], 0x1388
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 7
push dword [ebx + 4]
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 8
push dword [ebx + 4]
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 6
push dword [ebx + 4]
call esi
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.www.bing.com
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
test eax, eax
jne 0x40268b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40271f
movzx esi, si
or esi, 0x80070000
jmp 0x40271f
push edi
push 0x4400100
push 0
push 0
push 0
push str._dict_xls.aspx_TypeEvent.ClientInst
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edx, eax
mov dword [edi + 4], edx
test edx, edx
je 0x40266d
cmp dword [ebp - 0x3c], 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x50]
cmp dword [ebp - 0x1c], 8
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x40266d
cmp dword [edi + 8], 0
je 0x40271d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push dword [edi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x38], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [edi + 0xc]
mov eax, dword [edi + 8]
push dword [ebp - 0x18]
call eax
add esp, 8
xor esi, esi
test edi, edi
je 0x40274b
push dword [edi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [edi + 4]
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi], 0
call eax
push edi
mov dword [edi + 4], 0
call fcn.00412d20
add esp, 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00402ae0
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.00412396
add esp, 4
cmp dword [ebp - 0x1c], 8
jb 0x402784
push dword [ebp - 0x30]
call fcn.00412d20
add esp, 4
xor eax, eax
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x4027a9
push dword [ebp - 0x50]
call fcn.00412d20
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412d25
mov esp, ebp
pop ebp
ret 0x20