Function at 0x180a85bc
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 [0x181cf008]
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 0x180a8606
mov dword [eax], ebx
push 0x3c
pop edi
push edi
lea eax, [ebp - 0xa8c]
push ebx
push eax
call fcn.18148b00
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 0x180a866a
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 0x180a8698
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x181b971c
call fcn.180a7e37
pop ecx
pop ecx
xor al, al
jmp 0x180a87fa
lea eax, [ebp - 0x30]
push 0x181b21dc
push eax
call fcn.18152e84
pop ecx
pop ecx
test eax, eax
jne 0x180a86b1
xor esi, esi
inc esi
jmp 0x180a86c7
lea eax, [ebp - 0x30]
mov esi, ebx
push 0x181b9724
push eax
call fcn.18152e84
pop ecx
pop ecx
test eax, eax
jne 0x180a8691
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 0x180a87f8
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 0x180a87f1
mov ecx, dword [ebp - 0xa38]
shl esi, 0x17
or esi, 0x80000
cmp dword [ecx + 0x14], 8
jb 0x180a871f
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 0x180a87e5
mov eax, dword [ebp - 0xa3c]
cmp dword [eax + 0x10], ebx
je 0x180a875f
cmp dword [eax + 0x14], 8
jb 0x180a8750
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 0x180a8770
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 0x180a87da
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 0x180a87da
push 0xa
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.18154638
mov ecx, dword [ebp - 0xa48]
add esp, 0xc
test ecx, ecx
je 0x180a87bd
mov dword [ecx], eax
mov edx, 0xc8
cmp eax, edx
sete cl
jne 0x180a87d8
mov edx, dword [ebp - 0xa4c]
mov ecx, esi
call fcn.180a8461
mov cl, al
mov bl, cl
test esi, esi
je 0x180a87e5
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.18145fe4
leave
ret