Function at 0x1805e03f
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
sub esp, 0x4e4
mov eax, dword [0x180f51f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x494], eax
mov eax, dword [ebp + 0x14]
push esi
mov ebx, edx
push edi
mov esi, ecx
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x4a0], eax
test eax, eax
je 0x1805e08a
and dword [eax], 0
call fcn.1805ed11
test al, al
jne 0x1805e0a4
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1809cca5
leave
ret
push 0x3c
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x4e4]
push ebx
push eax
call fcn.1809d820
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x4d4], eax
mov eax, 0x100
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x4b4], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x4e4], edi
mov dword [ebp - 0x4dc], 0x10
mov dword [ebp - 0x4b8], ecx
jb 0x1805e10a
mov esi, dword [esi + 4]
jmp 0x1805e10d
add esi, 4
lea ecx, [ebp - 0x4e4]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1805e093
lea eax, [ebp - 0x2c]
push 0x180da09c
push eax
mov byte [ebp - 0x485], bl
call fcn.180a027a
pop ecx
pop ecx
test eax, eax
jne 0x1805e148
mov byte [ebp - 0x485], 1
jmp 0x1805e160
lea eax, [ebp - 0x2c]
push str.http
push eax
call fcn.180a027a
pop ecx
pop ecx
test eax, eax
jne 0x1805e093
push ebx
push ebx
push ebx
push ebx
push str.Breakpad_1.0__Windows_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x48c], edi
cmp edi, ebx
je 0x1805e093
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x4cc]
lea eax, [ebp - 0x430]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [ebp - 0x490], esi
cmp esi, ebx
jne 0x1805e1b1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1805e093
movzx eax, byte [ebp - 0x485]
neg eax
sbb eax, eax
push ebx
and eax, 0x800000
or eax, 0x80000
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, ebx
jne 0x1805e1fa
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call edi
push dword [ebp - 0x48c]
call edi
jmp 0x1805e093
lea esi, [ebp - 0x484]
call fcn.1805e56f
push str.Content_Type:_multipart_form_data__boundary
lea eax, [ebp - 0x468]
call fcn.18026ef3
push 0xffffffffffffffff
mov eax, esi
push ebx
lea esi, [ebp - 0x468]
call fcn.1805faa2
mov eax, dword [ebp - 0x464]
push 8
pop esi
cmp dword [ebp - 0x450], esi
jae 0x1805e23c
lea eax, [ebp - 0x464]
push 0x20000000
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push ebx
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x434], 0xf
call fcn.18003cac
mov edx, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 0x4a4]
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x484]
push eax
push dword [ebp - 0x498]
call fcn.1805e5c6
add esp, 0xc
test al, al
jne 0x1805e2d5
push ebx
push 1
lea ecx, [ebp - 0x44c]
call fcn.18003cc8
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.18027253
push ebx
push 1
lea esi, [ebp - 0x484]
call fcn.18027253
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x490]
call esi
push dword [ebp - 0x48c]
call esi
jmp 0x1805e093
cmp dword [ebp - 0x434], 0x10
mov eax, dword [ebp - 0x448]
jae 0x1805e2ea
lea eax, [ebp - 0x448]
push dword [ebp - 0x438]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push ebx
test eax, eax
je 0x1805e28e
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x13
push edi
mov dword [ebp - 0x49c], esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x1805e371
mov byte [ebp - 0x485], bl
push ebx
push 1
lea ecx, [ebp - 0x44c]
call fcn.18003cc8
push ebx
push 1
lea esi, [ebp - 0x468]
call fcn.18027253
push ebx
push 1
lea esi, [ebp - 0x484]
call fcn.18027253
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x490]
call esi
push dword [ebp - 0x48c]
call esi
mov al, byte [ebp - 0x485]
jmp 0x1805e095
push 0xa
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.1809e859
mov ecx, dword [ebp - 0x4a0]
add esp, 0xc
cmp ecx, ebx
je 0x1805e38c
mov dword [ecx], eax
cmp eax, 0xc8
sete al
cmp al, bl
je 0x1805e3a6
push dword [ebp - 0x494]
mov ecx, edi
call fcn.1805e3b1
pop ecx
mov byte [ebp - 0x485], al
jmp 0x1805e323