Function at 0x4849f0
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, 0x4ec
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4b0], ecx
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x494], ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x484a4c
mov dword [ebx], 0
push ecx
call fcn.00483eb0
add esp, 4
test al, al
jne 0x484a6c
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push 0x3c
lea eax, [ebp - 0x4ec]
push 0
push eax
call fcn.00488e30
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4ec], 0x3c
mov dword [ebp - 0x4e8], eax
add esp, 0xc
cmp dword [esi + 0x14], 8
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x4c0], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x4e4], 0x10
mov dword [ebp - 0x4d8], 0x100
mov dword [ebp - 0x4bc], 0x100
jb 0x484ad3
mov esi, dword [esi]
lea ecx, [ebp - 0x4ec]
push ecx
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x484a59
mov byte [ebp - 0x48d], 0
lea eax, [ebp - 0x2c]
mov ecx, str.https
jmp 0x484b00
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484b26
test dx, dx
je 0x484b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x484b00
xor eax, eax
jmp 0x484b2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x484b38
mov byte [ebp - 0x48d], 1
jmp 0x484b73
mov ecx, str.http
lea eax, [ebp - 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x484b66
test dx, dx
je 0x484b62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x484b66
add eax, 4
add ecx, 4
test dx, dx
jne 0x484b40
xor eax, eax
jmp 0x484b6b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x484a59
push edi
lea eax, [ebp - 0x45c]
push str.Breakpad_1.0__Windows_
push eax
call fcn.00433b5c
add esp, 0xc
lea eax, [ebp - 0x45c]
cmp dword [ebp - 0x448], 8
cmovae eax, dword [ebp - 0x45c]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x49c], eax
test eax, eax
jne 0x484bbc
xor bl, bl
jmp 0x484dd9
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x4d4]
lea ecx, [ebp - 0x42c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
test edi, edi
jne 0x484be7
xor bl, bl
jmp 0x484dcd
xor eax, eax
mov ecx, 0x800000
cmp byte [ebp - 0x48d], al
push 0
cmovne eax, ecx
or eax, 0x80000
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x484c2b
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x484dca
lea eax, [ebp - 0x48c]
push eax
call fcn.00483f70
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00484630
add esp, 0xc
lea eax, [ebp - 0x474]
cmp dword [ebp - 0x460], 8
cmovae eax, dword [ebp - 0x474]
push 0x20000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
lea eax, [ebp - 0x444]
mov dword [ebp - 0x430], 0xf
push eax
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x434], 0
push eax
push dword [ebp - 0x4a8]
mov byte [ebp - 0x444], 0
push dword [ebp - 0x4a0]
push dword [ebp - 0x4b0]
call fcn.00483fd0
add esp, 0x14
test al, al
je 0x484d9e
mov eax, dword [ebp - 0x498]
test eax, eax
je 0x484d1b
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
push eax
push 5
push esi
call ebx
test eax, eax
jne 0x484ced
push str.Could_not_unset_send_timeout__continuing..._n
call fcn.0048816f
add eax, 0x40
push eax
call fcn.0048db7f
add esp, 8
mov eax, dword [ebp - 0x498]
push 4
push eax
push 6
push esi
call ebx
test eax, eax
jne 0x484d15
push str.Could_not_unset_receive_timeout__continuing..._n
call fcn.0048816f
add eax, 0x40
push eax
call fcn.0048db7f
add esp, 8
mov ebx, dword [ebp - 0x494]
push dword [ebp - 0x434]
cmp dword [ebp - 0x430], 0x10
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x484d9e
push 0
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4ac], 8
push eax
lea eax, [ebp - 0xc]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x484d9e
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.0048e647
add esp, 0xc
test ebx, ebx
je 0x484d7f
mov dword [ebx], eax
cmp eax, 0xc8
sete bl
test bl, bl
je 0x484da0
push dword [ebp - 0x4a4]
push esi
call fcn.004847d0
add esp, 8
mov bl, al
jmp 0x484da0
xor bl, bl
lea ecx, [ebp - 0x444]
call fcn.00404052
lea ecx, [ebp - 0x474]
call fcn.004040f3
lea ecx, [ebp - 0x48c]
call fcn.004040f3
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push dword [ebp - 0x49c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x448], 8
jb 0x484df0
push dword [ebp - 0x45c]
call fcn.004835e0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret