Function at 0x401723
Capabilities:
Check http status code
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 0x424c43
mov eax, dword fs:[0]
push eax
mov eax, 0x3534
call fcn.00420450
mov eax, dword [0x430050]
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
xor ebx, ebx
lea eax, [ebp - 0x34f0]
mov dword [ebp - 4], ebx
call fcn.004016cb
push 2
pop edi
push 4
pop esi
push esi
push dword [0x4290d8]
lea eax, [ebp - 0x34f0]
push 0x21
push eax
mov dword [ebp - 0x10a0], edi
mov dword [ebp - 0x109c], esi
mov word [ebp - 0x10a4], 0x50
call fcn.0040eabe
push eax
call fcn.00405810
add esp, 0x14
lea eax, [ebp - 0x34f0]
call fcn.004016cb
lea eax, [ebp - 0x34f0]
call fcn.004016cb
lea eax, [ebp - 0x34f0]
push eax
call fcn.00401334
push ebx
push ebx
push ebx
push ebx
push str.WinHINet_Example_1.0
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push 0x80000000
push 3
mov dword [ebp - 0x34fc], eax
movzx eax, word [ebp - 0x10a4]
push ebx
push ebx
push eax
lea eax, [ebp - 0x34ae]
push eax
push dword [ebp - 0x34fc]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x3500], eax
lea eax, [ebp - 0x20a6]
push eax
lea eax, [ebp - 0x3508]
push eax
mov dword [ebp - 0x3514], 0x4291a8
mov dword [ebp - 0x3510], ebx
call fcn.0040417c
mov dword [ebp - 0x34f4], eax
lea eax, [ebp - 0x30a8]
push eax
lea eax, [ebp - 0x350c]
push eax
mov byte [ebp - 4], 1
call fcn.0040417c
mov byte [ebp - 4], 2
push dword [ebp - 0x34f4]
lea ecx, [ebp - 0x3504]
push ecx
mov ecx, eax
call fcn.004043c5
pop ecx
pop ecx
mov eax, dword [ebp - 0x350c]
add eax, 0xfffffff0
call fcn.004054c6
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3508]
add eax, 0xfffffff0
call fcn.004054c6
push ebx
push 0x84200100
lea eax, [ebp - 0x3514]
push eax
push ebx
push str.HTTP_1.1
push dword [ebp - 0x3504]
push str.POST
push dword [ebp - 0x3500]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push esi
lea ecx, [ebp - 0x34f4]
push ecx
push edi
push eax
mov dword [ebp - 0x34f8], eax
mov dword [ebp - 0x34f4], 0x7d0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edi, eax
cmp edi, ebx
jne 0x4018d5
call dword [0x42706c]
jmp 0x401a03
cmp dword [ebp - 0x34f8], ebx
je 0x401944
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_REPORTLOG_r_nConnection:_close_r_n
lea eax, [ebp - 0x34f4]
push eax
call fcn.00403f7b
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34f4]
cmp dword [eax - 4], 1
mov edi, dword [ebp + 8]
jle 0x401916
push dword [eax - 0xc]
lea eax, [ebp - 0x34f4]
push eax
call fcn.00404697
mov eax, dword [ebp - 0x34f4]
push dword [ebp + 0xc]
push edi
push 0xffffffffffffffff
push eax
push dword [ebp - 0x34f8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea edx, [ebp - 0x34f4]
mov edi, eax
call fcn.00404163
mov eax, dword [ebp - 0x34f4]
add eax, 0xfffffff0
call fcn.004054c6
cmp edi, ebx
je 0x4018ca
push 0x63
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00411d70
add esp, 0xc
push ebx
lea eax, [ebp - 0x3508]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x13
push dword [ebp - 0x34f8]
mov dword [ebp - 0x3508], 0x64
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40198e
lea eax, [ebp - 0x78]
push eax
call fcn.0040ee5e
pop ecx
jmp 0x401993
mov eax, 0x1f4
cmp eax, 0xc8
jne 0x401a03
jmp 0x4019a8
cmp dword [ebp - 0x3524], ebx
je 0x401a53
push 0x1002
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.00411d70
add esp, 0xc
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x353c]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x1080]
mov dword [ebp - 0x3528], eax
push esi
lea eax, [ebp - 0x353c]
push eax
push dword [ebp - 0x34f8]
mov dword [ebp - 0x353c], 0x28
mov dword [ebp - 0x3524], 0x1000
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x40199c
cmp dword [ebp - 0x34f8], ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401a19
push dword [ebp - 0x34f8]
call esi
cmp dword [ebp - 0x3500], ebx
je 0x401a29
push dword [ebp - 0x3500]
call esi
cmp dword [ebp - 0x34fc], ebx
je 0x401a39
push dword [ebp - 0x34fc]
call esi
mov eax, dword [ebp - 0x3504]
add eax, 0xfffffff0
call fcn.004054c6
push dword [ebp + 8]
call fcn.0040e8ee
xor eax, eax
jmp 0x401aa2
cmp dword [ebp - 0x34f8], ebx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401a69
push dword [ebp - 0x34f8]
call esi
cmp dword [ebp - 0x3500], ebx
je 0x401a79
push dword [ebp - 0x3500]
call esi
cmp dword [ebp - 0x34fc], ebx
je 0x401a89
push dword [ebp - 0x34fc]
call esi
mov eax, dword [ebp - 0x3504]
add eax, 0xfffffff0
call fcn.004054c6
push dword [ebp + 8]
call fcn.0040e8ee
xor eax, eax
inc eax
pop ecx
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.0040e8f3
leave
ret