Function at 0x180a7807
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 [0x181cd008]
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 0x180a7851
mov dword [eax], ebx
push 0x3c
pop edi
push edi
lea eax, [ebp - 0xa8c]
push ebx
push eax
call fcn.18147be0
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 0x180a78b5
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 0x180a78e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x181b7a20
call fcn.180a7082
pop ecx
pop ecx
xor al, al
jmp 0x180a7a45
lea eax, [ebp - 0x30]
push 0x181b0554
push eax
call fcn.18151f64
pop ecx
pop ecx
test eax, eax
jne 0x180a78fc
xor esi, esi
inc esi
jmp 0x180a7912
lea eax, [ebp - 0x30]
mov esi, ebx
push 0x181b7a14
push eax
call fcn.18151f64
pop ecx
pop ecx
test eax, eax
jne 0x180a78dc
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 0x180a7a43
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 0x180a7a3c
mov ecx, dword [ebp - 0xa38]
shl esi, 0x17
or esi, 0x80000
cmp dword [ecx + 0x14], 8
jb 0x180a796a
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 0x180a7a30
mov eax, dword [ebp - 0xa3c]
cmp dword [eax + 0x10], ebx
je 0x180a79aa
cmp dword [eax + 0x14], 8
jb 0x180a799b
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 0x180a79bb
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 0x180a7a25
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 0x180a7a25
push 0xa
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.18153718
mov ecx, dword [ebp - 0xa48]
add esp, 0xc
test ecx, ecx
je 0x180a7a08
mov dword [ecx], eax
mov edx, 0xc8
cmp eax, edx
sete cl
jne 0x180a7a23
mov edx, dword [ebp - 0xa4c]
mov ecx, esi
call fcn.180a76ac
mov cl, al
mov bl, cl
test esi, esi
je 0x180a7a30
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.181450cb
leave
ret