Function at 0x4026c0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5999b3
mov eax, dword fs:[0]
push eax
mov eax, 0x14a8
call fcn.0056fad0
mov eax, dword [0x608ec4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x58]
movzx edi, word [ebp + 0x3c]
mov esi, dword [ebp + 0x5c]
mov dword [ebp - 0x148c], eax
push 0
push 0
push 0
push 0
push str.CHttpsConnect
mov dword [ebp - 4], 2
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x1498], ecx
test ecx, ecx
jne 0x402741
mov eax, str.Failed_call_to_InternetOpenA_n
push eax
call fcn.00402ce0
add esp, 4
mov byte [ebp - 0x147d], 0
jmp 0x402ab8
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push 0
push 3
push 0x5e21bf
push 0x5e21bf
push edi
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, eax
mov dword [ebp - 0x1494], ecx
test ecx, ecx
jne 0x40278b
mov eax, str.Failed_call_to_InternetConnectA_n
push eax
call fcn.00402ce0
add esp, 4
mov byte [ebp - 0x147d], 0
jmp 0x402ab8
mov ax, word [0x5e2078]
xorps xmm0, xmm0
movups xmmword [ebp - 0x147c], xmm0
mov word [ebp - 0x147c], ax
mov al, byte [0x5e207a]
mov dword [ebp - 0x146c], 3
mov dword [ebp - 0x1468], 0xf
mov byte [ebp - 0x147a], al
mov byte [ebp - 0x1479], 0
mov byte [ebp - 4], 3
cmp dword [ebp + 0x50], 0
je 0x4027ed
mov dword [ebp - 0x146c], 4
mov dword [ebp - 0x147c], 0x54534f50
mov byte [ebp - 0x1478], 0
cmp dword [ebp + 0x38], 0x10
lea edx, [ebp - 0x14a0]
push 0
push 0x4803000
push edx
push 0
push str.HTTP_1.0
lea eax, [ebp + 0x24]
mov dword [ebp - 0x14a0], str.text_xml
cmovae eax, dword [ebp + 0x24]
push eax
lea eax, [ebp - 0x147c]
mov dword [ebp - 0x149c], 0
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x1484], 0xf180
push 4
lea eax, [ebp - 0x1484]
mov dword [ebp - 0x1488], edi
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0x1000
lea eax, [ebp - 0x1464]
push 0
push eax
call fcn.005720f0
lea eax, [ebp - 0x1464]
push str.HTTP_1.1_r_nContent_Type:_application_x_www_form_urlencoded_r_nAccept:___r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__Trident_7.0__rv:11.0__like_Gecko__r_nProxy_Connection:_Keep_Alive_r_n
push eax
call fcn.00402cc0
add esp, 0x14
lea eax, [ebp - 0x1464]
push 0x20000000
push 0x1000
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
movups xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded_r_n]
mov ax, word [0x5e218c]
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x147d], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x64], xmm0
mov word [ebp - 0x34], ax
movups xmm0, xmmword [0x5e216c]
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x5e217c]
movups xmmword [ebp - 0x44], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4028d0
push dword [ebp + 0x50]
sub ecx, edx
lea eax, [ebp + 0x40]
cmp dword [ebp + 0x54], 0x10
cmovae eax, dword [ebp + 0x40]
push eax
push ecx
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x402a36
lea ecx, [ebp - 0x14b4]
call fcn.00425499
push 0
push 0x1001
push dword [ebp - 0x148c]
lea ecx, [ebp - 0x14b4]
mov byte [ebp - 4], 4
call fcn.00425a28
push 0
lea eax, [ebp - 0x1490]
mov dword [ebp - 0x1490], 0x20
push eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 5
push edi
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x30]
push eax
call fcn.0057ae4e
add esp, 4
mov dword [ebp - 0x148c], eax
lea ecx, [eax + 1]
push ecx
push 0
push ecx
call fcn.0042545e
add esp, 4
push eax
call fcn.005720f0
push 0x400
xor edi, edi
lea eax, [ebp - 0x464]
push edi
push eax
call fcn.005720f0
add esp, 0x18
mov dword [ebp - 0x1484], edi
lea eax, [ebp - 0x1484]
push eax
push 0x400
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x1488]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402a11
mov eax, dword [ebp - 0x1484]
test eax, eax
je 0x402a11
push eax
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x14b4]
call fcn.00425db3
add edi, dword [ebp - 0x1484]
test esi, esi
je 0x4029ee
mov eax, dword [esi]
push 0
push 0
push dword [ebp - 0x148c]
push edi
push esi
call dword [eax + 0x18]
lea eax, [ebp - 0x1484]
push eax
push 0x400
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x1488]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4029b6
lea ecx, [ebp - 0x14b4]
call fcn.00425732
lea ecx, [ebp - 0x14b4]
mov byte [ebp - 0x147d], 1
call fcn.004254c2
mov edi, dword [ebp - 0x1488]
jmp 0x402a4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_call_to_HttpSendRequestA_:_GLE__d__n
call fcn.00402ce0
add esp, 8
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x1494]
call esi
push dword [ebp - 0x1498]
call esi
mov ecx, dword [ebp - 0x1468]
cmp ecx, 0x10
jb 0x402a9d
mov edx, dword [ebp - 0x147c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b93
push ecx
push edx
call fcn.0056eea1
add esp, 8
mov dword [ebp - 0x146c], 0
mov dword [ebp - 0x1468], 0xf
mov byte [ebp - 0x147c], 0
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x402aec
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402ae2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b93
push ecx
push edx
call fcn.0056eea1
add esp, 8
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp ecx, 0x10
jb 0x402b2e
mov edx, dword [ebp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b93
push ecx
push edx
call fcn.0056eea1
add esp, 8
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 0xf
mov byte [ebp + 0x24], 0
cmp ecx, 0x10
jb 0x402b70
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402b93
push ecx
push edx
call fcn.0056eea1
add esp, 8
mov al, byte [ebp - 0x147d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056ee93
mov esp, ebp
pop ebp
ret 0x58
call fcn.0057504f
int3