Function at 0x4089c0
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430426
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x441094]
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 + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa88], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa80], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa90], eax
test eax, eax
je 0x408a30
mov dword [eax], 0
push 0x200
xorps xmm0, xmm0
lea eax, [ebp - 0x238]
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.0040d690
push 0x800
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0040d690
lea eax, [ebp - 0x38]
mov dword [ebp - 0xa6c], 0
mov dword [ebp - 0xa74], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x238]
movlpd qword [ebp - 0xa60], xmm0
mov dword [ebp - 0xa68], eax
add esp, 0x18
cmp dword [esi + 0x14], 8
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa4c], eax
mov eax, esi
movlpd qword [ebp - 0xa58], xmm0
mov dword [ebp - 0xa50], 0
movlpd qword [ebp - 0xa44], xmm0
mov dword [ebp - 0xa78], 0x3c
mov dword [ebp - 0xa70], 0x10
mov dword [ebp - 0xa64], pe_nt_image_headers32
mov dword [ebp - 0xa48], 0x400
jb 0x408ae6
mov eax, dword [esi]
lea ecx, [ebp - 0xa78]
push ecx
push 0
push dword [esi + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x408b18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x431860
call fcn.0040b480
add esp, 8
xor al, al
jmp 0x408d82
mov ecx, str.https
lea eax, [ebp - 0x38]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408b46
test dx, dx
je 0x408b42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408b46
add eax, 4
add ecx, 4
test dx, dx
jne 0x408b20
xor eax, eax
jmp 0x408b4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x408b54
lea esi, [eax + 1]
jmp 0x408b91
mov ecx, str.http
lea eax, [ebp - 0x38]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408b86
test dx, dx
je 0x408b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408b86
add eax, 4
add ecx, 4
test dx, dx
jne 0x408b60
xor eax, eax
jmp 0x408b8b
sbb eax, eax
or eax, 1
xor esi, esi
test eax, eax
jne 0x408b11
push 0
push 0
push 0
push 0
push str.Breakpad_1.0__Windows_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0xa9c], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x408b11
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0xa60]
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0xa98], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x408bf2
mov byte [ebp - 0xa79], al
jmp 0x408d75
mov ecx, dword [ebp - 0xa84]
shl esi, 0x17
or esi, 0x80000
cmp dword [ecx + 0x14], 8
jb 0x408c09
mov ecx, dword [ecx]
push 0
push esi
push 0
push 0
push 0
lea edx, [ebp - 0xa38]
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [ebp - 0xa84], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x408d51
mov eax, dword [ebp - 0xa88]
cmp dword [eax + 0x10], 0
je 0x408c58
cmp dword [eax + 0x14], 8
jb 0x408c49
mov eax, dword [eax]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp - 0xa80]
test eax, eax
je 0x408cb8
push 4
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x408c8a
push str.Could_not_unset_send_timeout__continuing..._n
push 2
call fcn.00414c59
add esp, 4
push eax
call fcn.0040b450
add esp, 8
mov eax, dword [ebp - 0xa80]
push 4
push eax
push 6
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x408cb8
push str.Could_not_unset_receive_timeout__continuing..._n
push 2
call fcn.00414c59
add esp, 4
push eax
call fcn.0040b450
add esp, 8
mov ecx, dword [ebp - 0xa8c]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x408cc8
mov eax, dword [ecx]
push dword [ecx + 0x10]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x408d51
push 0
lea eax, [ebp - 0xa3c]
mov dword [ebp - 0xa3c], 8
push eax
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push 0x13
push esi
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x408d51
push 0xa
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.0041aad8
mov ecx, dword [ebp - 0xa90]
add esp, 0xc
test ecx, ecx
je 0x408d23
mov dword [ecx], eax
cmp eax, 0xc8
sete byte [ebp - 0xa79]
jne 0x408d5c
push dword [ebp - 0xa94]
push esi
call fcn.004084f0
add esp, 8
mov byte [ebp - 0xa79], al
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x408d6d
mov byte [ebp - 0xa79], 0
test esi, esi
je 0x408d67
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x408d6d
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xa98]
call esi
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0xa79]
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.0040c5a7
mov esp, ebp
pop ebp
ret