Function at 0x180053110
Capabilities:
Create http request
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
mov rax, qword [rsp + 0x2f0]
mov dword [rax], 1
add rcx, 0x48
call fcn.180057d40
test eax, eax
je 0x1800531e8
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x38]
call fcn.1800c0260
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x48]
call fcn.180058ef0
movsxd rdx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp rcx, rdx
jl 0x1800531cb
test eax, eax
je 0x1800531d3
sub rcx, rdx
cmp rcx, 0x278d00
jle 0x1800532f4
lea rdx, str.UpdatePrompt30DaySleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
lea rdx, str.UpdatePrompt30DaySleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
jmp 0x180053319
test eax, eax
jne 0x1800532f4
lea rdx, str.UpdatePrompt30DaySleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
jmp 0x1800532f4
lea rcx, [rbx + 0x48]
call fcn.180057dd0
test eax, eax
je 0x1800532fb
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x38]
call fcn.1800c0260
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x48]
call fcn.180058dd0
movsxd rdx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
cmp rcx, rdx
jl 0x1800532e0
test eax, eax
je 0x1800532e4
sub rcx, rdx
cmp rcx, 0x15180
jle 0x1800532f4
lea rdx, str.UpdatePrompt24HourSleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
lea rcx, [rbx + 0x48]
call fcn.180057e60
cmp eax, 4
jl 0x1800532c3
cmp qword [rbx + 0x338], 8
jb 0x180053278
mov rcx, qword [rbx + 0x320]
jmp 0x18005327f
lea rcx, [rbx + 0x320]
lea rdx, str.UpdatePromptCount
call fcn.18006ee20
cmp qword [rbx + 0x338], 8
jb 0x18005329e
mov rcx, qword [rbx + 0x320]
jmp 0x1800532a5
lea rcx, [rbx + 0x320]
lea rdx, str.UpdatePrompt24HourSleep
call fcn.18006ee20
lea rdx, str.UpdatePrompt30DaySleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
jmp 0x1800532f4
mov edx, eax
lea rcx, [rbx + 0x48]
call fcn.180057ef0
lea rdx, str.UpdatePrompt24HourSleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
jmp 0x180053319
test eax, eax
jne 0x1800532f4
lea rdx, str.UpdatePrompt24HourSleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
xor eax, eax
jmp 0x1800535d3
or edx, 0xffffffff
lea rcx, [rbx + 0x48]
call fcn.180057ef0
lea rdx, str.UpdatePrompt24HourSleep
lea rcx, [rbx + 0x48]
call fcn.180057f70
xor esi, esi
lea r8, [0x180140908]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r8, qword [0x180140908]
cmp qword [rbx + 0x418], 8
jb 0x180053343
mov rdx, qword [rbx + 0x400]
jmp 0x18005334a
lea rdx, [rbx + 0x400]
mov r9d, 4
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x180053366
xor eax, eax
jmp 0x1800535d3
call fcn.180068620
test eax, eax
je 0x1800533af
lea rdx, [rbx + 0x4e0]
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x48]
call fcn.180003570
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.180051ca0
jmp 0x1800535d1
mov word [rsp + 0xa0], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xa2]
call fcn.1800c1250
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x1800535d1
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
mov r8, rcx
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.180012d90
nop
mov rax, qword [rsp + 0x88]
lea rdi, [rax - 1]
cmp rdi, rax
jbe 0x18005344e
call fcn.1800bf138
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae rax, qword [rsp + 0x78]
cmp word [rax + rdi*2], 0x5c
je 0x180053480
mov r8d, 1
lea rdx, [0x180105bd4]
lea rcx, [rsp + 0x70]
call fcn.180010af0
mov r8d, 9
lea rdx, str.Setup.exe
lea rcx, [rsp + 0x70]
call fcn.180010af0
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.BPO_TOOLBAR_UPDATE
call qword [sym.imp.WININET.dll_InternetOpenW]
lea r9, [rsp + 0x78]
cmp qword [rsp + 0x90], 8
cmovae r9, qword [rsp + 0x78]
cmp qword [rbx + 0x500], 8
jb 0x1800534d7
mov r8, qword [rbx + 0x4e8]
jmp 0x1800534de
lea r8, [rbx + 0x4e8]
mov rdx, rax
mov rcx, rbx
call fcn.180054b40
test eax, eax
je 0x18005359b
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov r8d, 1
lea rdx, [0x1801071d0]
lea rcx, [rsp + 0x48]
call fcn.180012d90
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180011460
mov r8d, 1
lea rdx, [0x1801071d0]
lea rcx, [rsp + 0x48]
call fcn.180010af0
cmp qword [rbx + 0x4d0], 0
je 0x18005356d
cmp qword [rbx + 0x4d8], 8
jb 0x180053566
mov rsi, qword [rbx + 0x4c0]
jmp 0x18005356d
lea rsi, [rbx + 0x4c0]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.1800684b0
nop
cmp qword [rsp + 0x68], 8
jb 0x1800535bb
mov rcx, qword [rsp + 0x50]
call fcn.1800bd964
jmp 0x1800535bb
lea rdx, [rbx + 0x4e0]
lea rcx, [rsp + 0x48]
call fcn.180002e40
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.180051ca0
nop
cmp qword [rsp + 0x90], 8
jb 0x1800535d1
mov rcx, qword [rsp + 0x78]
call fcn.1800bd964
nop
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1800bd980
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret