Function at 0x4571e0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x458
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x454], eax
mov eax, dword [esp + 0x45c]
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
mov edi, ecx
mov dword [esp + 0x34], eax
xor eax, eax
push esi
lea ecx, [esp + 0x58]
xor bl, bl
push str.BaseHTTP
mov dword [esp + 0x54], 0x800
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x27], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x2c], ebp
cmp ebp, esi
je 0x4573ac
push 1
push esi
push 3
push esi
push esi
push 0x50
push str.blog.kowalczyk.info
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
mov dword [esp + 0x34], ebx
cmp ebx, esi
je 0x4573a1
push esi
push esi
push esi
push esi
push esi
push str._app_crashsubmit_appnameSumatraPDF
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
je 0x457398
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
cmp edi, ecx
je 0x4572c2
mov eax, dword [edi]
cmp eax, ecx
jbe 0x4572c2
mov edx, dword [edi + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
xor ebp, ebp
xor ebx, ebx
test eax, eax
je 0x4572d9
mov ecx, dword [eax]
test ecx, ecx
je 0x4572d9
mov ebp, dword [eax + 0xc]
mov ebx, ecx
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [esp + 0x28]
push eax
push 5
push esi
mov dword [esp + 0x34], 0x3a98
call edi
push 4
lea ecx, [esp + 0x28]
push ecx
push 6
push esi
call edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ebx
push ebp
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x457389
push 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x20000013
push esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x1c]
push eax
push 0x400
lea ecx, [esp + 0x68]
push ecx
push esi
call edi
test eax, eax
je 0x457389
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x40]
call fcn.00457520
mov byte [esp + 0x13], al
test al, al
je 0x457389
cmp dword [esp + 0x1c], 0
ja 0x457344
cmp dword [esp + 0x14], 0xc8
sete byte [esp + 0x13]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor esi, esi
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, byte [esp + 0x13]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x4573d2
mov ecx, dword [esp + 0x58]
push eax
cmp ecx, esi
jne 0x4573cb
call fcn.00658a01
add esp, 4
jmp 0x4573d2
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x458
ret