Function at 0x1808e915
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa90
mov eax, dword [0x18195008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa3c], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xa40], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0xa4c], eax
mov esi, ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa38], edx
mov dword [ebp - 0xa48], eax
push edi
test eax, eax
je 0x1808e95f
mov dword [eax], ebx
push 0x3c
pop edi
push edi
lea eax, [ebp - 0xa8c]
push ebx
push eax
call fcn.181237a0
lea eax, [ebp - 0x30]
mov dword [ebp - 0xa8c], edi
mov dword [ebp - 0xa88], eax
add esp, 0xc
cmp dword [esi + 0x14], 8
lea eax, [ebp - 0x234]
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa34]
mov dword [ebp - 0xa60], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xa84], 0x10
mov dword [ebp - 0xa78], 0x100
mov dword [ebp - 0xa5c], 0x400
jb 0x1808e9c3
mov esi, dword [esi]
lea ecx, [ebp - 0xa8c]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1808e9f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x18181c94
call fcn.1808e190
pop ecx
pop ecx
xor al, al
jmp 0x1808eb53
lea eax, [ebp - 0x30]
push str.https
push eax
call fcn.1812b9dc
pop ecx
pop ecx
test eax, eax
jne 0x1808ea0a
xor esi, esi
inc esi
jmp 0x1808ea20
lea eax, [ebp - 0x30]
mov esi, ebx
push str.http
push eax
call fcn.1812b9dc
pop ecx
pop ecx
test eax, eax
jne 0x1808e9ea
push ebx
push ebx
push ebx
push ebx
push str.Breakpad_1.0__Windows_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x1808eb51
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0xa74]
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0xa50], eax
test eax, eax
je 0x1808eb4a
mov ecx, dword [ebp - 0xa38]
shl esi, 0x17
or esi, 0x80000
cmp dword [ecx + 0x14], 8
jb 0x1808ea78
mov ecx, dword [ecx]
push ebx
push esi
push ebx
push ebx
push ebx
lea edx, [ebp - 0xa34]
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x1808eb3e
mov eax, dword [ebp - 0xa3c]
cmp dword [eax + 0x10], ebx
je 0x1808eab8
cmp dword [eax + 0x14], 8
jb 0x1808eaa9
mov eax, dword [eax]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp - 0xa40]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1808eac9
mov eax, dword [eax]
push ecx
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1808eb33
push ebx
lea eax, [ebp - 0xa44]
mov dword [ebp - 0xa44], 8
push eax
lea eax, [ebp - 0x10]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1808eb33
push 0xa
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.1812d1e9
mov ecx, dword [ebp - 0xa48]
add esp, 0xc
test ecx, ecx
je 0x1808eb16
mov dword [ecx], eax
mov edx, 0xc8
cmp eax, edx
sete cl
jne 0x1808eb31
mov edx, dword [ebp - 0xa4c]
mov ecx, esi
call fcn.1808e7ba
mov cl, al
mov bl, cl
test esi, esi
je 0x1808eb3e
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xa50]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bl
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18120ca0
leave
ret