Function at 0x416200
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427b76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10e4
call fcn.0041a050
mov eax, dword [0x430334]
mov dword [ebp - 0x10], eax
push edi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10b0], eax
cmp dword [ebp - 0x10b0], 0
jne 0x416251
xor al, al
jmp 0x41674d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00417030
mov dword [ebp - 4], 0
push 1
push 0
push 3
lea ecx, [ebp - 0x34]
call fcn.00401c50
push eax
lea ecx, [ebp - 0x50]
call fcn.00401c50
push eax
mov cx, word [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00401c50
push eax
mov edx, dword [ebp - 0x10b0]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x10b8], eax
cmp dword [ebp - 0x10b8], 0
jne 0x4162e0
mov eax, dword [ebp - 0x10b0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x10d5], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004172c0
mov al, byte [ebp - 0x10d5]
jmp 0x41674d
push 4
lea ecx, [ebp + 0x18]
push ecx
push 2
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
mov dword [ebp - 0x10ac], 0x84480000
mov dword [ebp - 0xa4], 0x42a654
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
cmp dword [ebp + 0x14], 1
jne 0x4164f4
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x10d4]
call fcn.00407da0
mov byte [ebp - 4], 1
push 0x42a65c
mov eax, dword [ebp + 0xc]
push eax
call fcn.00410470
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x416384
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004123d0
movsx edx, byte [eax]
cmp edx, 0x3f
je 0x416375
push 0x42a660
lea ecx, [ebp - 0x10d4]
call fcn.00408000
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10d4]
call fcn.00407fe0
push 1
mov ecx, dword [ebp - 0x10ac]
push ecx
lea edx, [ebp - 0xa4]
push edx
push 0
push 0x42a664
lea ecx, [ebp - 0x10d4]
call fcn.00401c50
push eax
push 0x42a670
mov eax, dword [ebp - 0x10b8]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x416415
mov ecx, dword [ebp - 0x10b0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x10b8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x10d6], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10d4]
call fcn.00402b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004172c0
mov al, byte [ebp - 0x10d6]
jmp 0x41674d
push 4
lea eax, [ebp + 0x18]
push eax
push 5
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 4
lea ecx, [ebp + 0x18]
push ecx
push 6
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 4
lea edx, [ebp + 0x18]
push edx
push 6
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 4
lea eax, [ebp + 0x18]
push eax
push 5
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4164e0
mov edx, dword [ebp - 0x10b0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10b8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x10d7], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10d4]
call fcn.00402b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004172c0
mov al, byte [ebp - 0x10d7]
jmp 0x41674d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10d4]
call fcn.00402b70
jmp 0x41667f
cmp dword [ebp + 0x14], 2
jne 0x41664c
push 1
mov edx, dword [ebp - 0x10ac]
push edx
lea eax, [ebp - 0xa4]
push eax
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0x6c]
call fcn.00401c50
push eax
push str.POST
mov ecx, dword [ebp - 0x10b8]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x41657d
mov edx, dword [ebp - 0x10b0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10b8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x10d8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004172c0
mov al, byte [ebp - 0x10d8]
jmp 0x41674d
push 4
lea ecx, [ebp + 0x18]
push ecx
push 5
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 4
lea edx, [ebp + 0x18]
push edx
push 6
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 4
lea eax, [ebp + 0x18]
push eax
push 6
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
push 4
lea ecx, [ebp + 0x18]
push ecx
push 5
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov dword [ebp - 0x10a8], eax
mov ecx, dword [ebp + 0xc]
call fcn.00401c40
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401c50
push eax
push 0xffffffffffffffff
push str.Content_type:_application_x_www_form_urlencoded
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41664a
mov eax, dword [ebp - 0x10b0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x10b8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x10d9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004172c0
mov al, byte [ebp - 0x10d9]
jmp 0x41674d
jmp 0x41667f
cmp dword [ebp + 0x14], 3
jne 0x41667f
mov dword [ebp - 0x10ec], str.not_implemented_expception.
lea eax, [ebp - 0x10ec]
push eax
lea ecx, [ebp - 0x10e8]
call fcn.0041ba39
push 0x42d7c8
lea ecx, [ebp - 0x10e8]
push ecx
call fcn.0041948a
mov byte [ebp - 0x10a4], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x10a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10b4], 0xfff
mov dword [ebp - 0x98], 0
push 0x42a6d4
mov ecx, dword [ebp + 0x10]
call fcn.00408850
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x10b4]
push eax
lea ecx, [ebp - 0x10a4]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x416707
cmp dword [ebp - 0x98], 0
je 0x416707
mov eax, dword [ebp - 0x98]
mov byte [ebp + eax - 0x10a4], 0
lea ecx, [ebp - 0x10a4]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00408000
jmp 0x4166b9
mov edx, dword [ebp - 0x10b0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x10b8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x10ed], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004172c0
mov al, byte [ebp - 0x10ed]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041941a
pop edi
mov esp, ebp
pop ebp
ret