Function at 0x58aa02
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, 0x538
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4e8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x4e4], eax
xor ebx, ebx
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x4f8], eax
mov esi, ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4ec], edx
mov dword [ebp - 0x4f4], eax
push edi
test eax, eax
je 0x58aa4c
mov dword [eax], ebx
mov ecx, edx
call fcn.0058b4c4
test al, al
jne 0x58aa5e
xor al, al
jmp 0x58ad40
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x538]
push ebx
push eax
call fcn.0066f220
lea eax, [ebp - 0x30]
mov dword [ebp - 0x538], edi
mov dword [ebp - 0x534], eax
add esp, 0xc
lea eax, [ebp - 0x294]
mov dword [ebp - 0x530], 0x10
mov dword [ebp - 0x528], eax
mov ecx, 0x100
lea eax, [ebp - 0x494]
mov dword [ebp - 0x524], ecx
mov dword [ebp - 0x50c], eax
lea eax, [ebp - 0x538]
push eax
mov dword [ebp - 0x508], ecx
mov ecx, esi
push ebx
call fcn.005280df
push eax
mov ecx, esi
call fcn.00528dce
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x58aa57
push 4
mov byte [ebp - 0x4dd], bl
lea eax, [ebp - 0x30]
mov ecx, str.https
pop esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x58ab0b
test dx, dx
je 0x58ab07
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x58ab0b
add eax, esi
add ecx, esi
test dx, dx
jne 0x58aae7
mov eax, ebx
jmp 0x58ab10
sbb eax, eax
or eax, 1
test eax, eax
jne 0x58ab1d
mov byte [ebp - 0x4dd], 1
jmp 0x58ab56
mov ecx, str.http
lea eax, [ebp - 0x30]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x58ab49
test dx, dx
je 0x58ab45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x58ab49
add eax, esi
add ecx, esi
test dx, dx
jne 0x58ab25
mov eax, ebx
jmp 0x58ab4e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x58aa57
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 0x58ad3e
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x520]
lea eax, [ebp - 0x294]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4fc], eax
test eax, eax
je 0x58ad37
cmp byte [ebp - 0x4dd], bl
mov edx, 0x880000
push ebx
mov ecx, 0x80000
cmovne ecx, edx
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x494]
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x58ad2b
call fcn.0067dd1f
mov ebx, eax
call fcn.0067dd1f
push eax
push ebx
push str.___________________________
push str._s_08X_08X
lea eax, [ebp - 0x94]
push 0x2c
push eax
call fcn.0051cb29
xor eax, eax
lea ecx, [ebp - 0x4dc]
add esp, 0x18
mov word [ebp - 0x3e], ax
lea eax, [ebp - 0x94]
push eax
call fcn.00538a60
push str.Content_Type:_multipart_form_data__boundary
lea ecx, [ebp - 0x4c4]
call fcn.00538a60
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x4dc]
push ebx
push eax
lea ecx, [ebp - 0x4c4]
call fcn.0054fc14
push 0x20000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c4]
call fcn.00528dce
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
lea ecx, [ebp - 0x4ac]
call fcn.005171f6
mov edx, dword [ebp - 0x4e8]
lea eax, [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x4dc]
push eax
push dword [ebp - 0x4e4]
call fcn.0058aef9
add esp, 0xc
test al, al
je 0x58ad03
lea ecx, [ebp - 0x4ac]
call fcn.005280df
push eax
lea ecx, [ebp - 0x4ac]
call fcn.00517766
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x58ad03
push ebx
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x4f0], 8
push eax
lea eax, [ebp - 0x10]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x58ad03
push 0xa
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0068c0cd
mov ecx, dword [ebp - 0x4f4]
add esp, 0xc
test ecx, ecx
je 0x58ace8
mov dword [ecx], eax
cmp eax, 0xc8
sete al
test al, al
je 0x58ad01
mov edx, dword [ebp - 0x4f8]
mov ecx, esi
call fcn.0058ad51
mov bl, al
lea ecx, [ebp - 0x4ac]
call fcn.005178bf
lea ecx, [ebp - 0x4c4]
call fcn.005290c0
lea ecx, [ebp - 0x4dc]
call fcn.005290c0
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x4fc]
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.00647fba
mov esp, ebp
pop ebp
ret