Function at 0x180191e20
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x708], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov qword [rsp + 0x38], r9
mov r13, r8
movzx r12d, dl
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x80], xmm1
xor ebx, ebx
mov word [rbp + 0x70], bx
lea r8d, [rbx + 0xb]
lea rdx, str.upgrade.hzt
lea rcx, [rbp + 0x70]
call fcn.180007110
nop
lea rdx, [rsi + 8]
lea r8, [rbp + 0x70]
lea rcx, [rbp + 0x130]
call fcn.1800f8180
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x180191f02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180191efd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180191efd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], bx
lea rcx, [rbp + 0x130]
call fcn.1800f3bb0
test al, al
jne 0x180191f35
mov rcx, rsi
call fcn.180191660
xor bl, bl
jmp 0x1801926fa
lea r8, [rbp + 0x130]
lea rdx, [rbp + 0x10]
call fcn.180190fa0
nop
cmp qword [rbp + 0x20], 0
jne 0x180191f5c
mov rcx, rsi
call fcn.180191660
xor bl, bl
jmp 0x1801926f0
mov qword [rsp + 0x20], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov edx, 0x3b
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.1800fff70
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
cmp rdi, r14
je 0x1801926db
mov r10, rdi
mov r11, qword [rdi + 0x18]
cmp r11, 8
jb 0x180191fa0
mov r10, qword [rdi]
mov rbx, qword [rdi + 0x10]
mov r9d, InitCommonControls
lea rcx, str.AUTOUPDATERUN
lea rax, [0x18028d380]
cmp rbx, 3
jne 0x180191fe6
mov r8, rbx
mov rdx, rax
sub r10, rax
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [r10 + rdx], ax
jne 0x180191fe6
add rdx, 2
sub r8, 1
jne 0x180191fd0
jmp 0x180192028
mov r10, rdi
cmp r11, 8
jb 0x180191ff2
mov r10, qword [rdi]
cmp rbx, r9
jne 0x1801926db
mov r8, r9
mov rdx, rcx
sub r10, rcx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx]
cmp word [r10 + rdx], ax
jne 0x1801926db
add rdx, 2
sub r8, 1
jne 0x180192010
mov rdx, rdi
cmp r11, 8
jb 0x180192034
mov rdx, qword [rdi]
cmp rbx, r9
jne 0x180192058
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [rdx + rcx], ax
jne 0x180192058
add rcx, 2
sub r9, 1
jne 0x180192040
mov r15b, 1
jmp 0x18019205b
xor r15b, r15b
test r12b, r12b
je 0x18019206b
test r15b, r15b
jne 0x1801926e3
jmp 0x180192074
test r15b, r15b
je 0x1801926e3
lea rbx, [rdi + 0x20]
cmp rbx, r14
je 0x1801920c1
xor esi, esi
nop
cmp rdi, rbx
je 0x1801920aa
mov rcx, rdi
call fcn.180007090
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
add rdi, 0x20
add rbx, 0x20
cmp rbx, r14
jne 0x180192080
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
lea rcx, [r14 - 0x20]
call fcn.180007090
mov rax, qword [rsp + 0x28]
sub rax, 0x20
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x20]
sub rax, rdx
sar rax, 5
sub rax, 3
cmp rax, 1
ja 0x1801926db
lea rcx, [rbp + 0x50]
call fcn.180007b10
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0x20
lea rcx, [rbp + 0x110]
call fcn.180007b10
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0xa0], xmm1
xor r14d, r14d
mov word [rbp + 0x90], r14w
lea r8d, [r14 + 8]
lea rdx, str._upgrade
lea rcx, [rbp + 0x90]
call fcn.180007110
nop
lea rcx, [rsp + 0x50]
call fcn.180115450
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1801157e0
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.180115630
nop
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae rcx, qword [rbp + 0x110]
lea r8, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0x100]
cmp rdx, qword [rbp + 0x120]
jne 0x180192683
test rdx, rdx
je 0x1801921e8
sub r8, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x180192683
add rcx, 2
sub rdx, 1
jne 0x1801921d0
test r15b, r15b
je 0x180192246
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rax, rdx
sar rax, 5
cmp rax, 4
jb 0x180192683
add rdx, 0x60
lea rcx, [rbp + 0x150]
call fcn.180007b10
nop
mov r9, qword [rsp + 0x38]
lea r8, [rbp + 0x150]
lea rdx, [rbp + 0x50]
mov rcx, rsi
call fcn.180192740
nop
lea rcx, [rbp + 0x150]
test al, al
je 0x180192657
call fcn.180007090
lea rdx, [rsi + 8]
lea rcx, [rbp - 0x10]
call fcn.180007b10
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x50]
call fcn.1800f3bb0
test al, al
je 0x180192331
call fcn.1801d6e60
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov rcx, rax
call fcn.1801d6e30
test al, al
je 0x180192331
cmp qword [rbx + 0x10], 0
jne 0x1801922a2
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1800f68f0
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x80], WSAStartup
mov rax, qword [rsi + 0x28]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x7c], 0x540
call fcn.1801d8970
lea rcx, str.runas
test al, al
cmove rcx, qword [rbp - 0x70]
mov qword [rbp - 0x70], rcx
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rax, qword [rbp + 0x50]
mov qword [rbp - 0x68], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1801922fd
mov rax, qword [rbx]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rax, qword [rbp + 0x90]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x50], 1
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x180192352
mov rcx, rbx
call fcn.180007090
mov rcx, rsi
call fcn.180191660
lea rcx, [rbp + 0x130]
call fcn.18010a9d0
jmp 0x18019268b
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180192362
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rbx
call fcn.180007090
mov bl, 1
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0xe0], xmm1
mov word [rbp + 0xd0], r14w
mov r8d, 0xb
lea rdx, str.restart.hzt
lea rcx, [rbp + 0xd0]
call fcn.180007110
nop
lea r8, [rbp + 0xd0]
lea rdx, [rsi + 8]
lea rcx, [rbp + 0x170]
call fcn.1800f8180
nop
lea rcx, [rbp + 0xd0]
call fcn.180007090
xor edx, edx
lea rcx, [rbp + 0xb0]
call fcn.180110ca0
nop
lea rcx, [rbp + 0x10]
test r15b, r15b
je 0x180192423
mov r8d, 4
lea rdx, str.EXIT
call fcn.180007110
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov edi, 0x3b
cmp rcx, rdx
jae 0x180192461
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, qword [rbp + 0x10]
mov dword [rax + rcx*2], edi
jmp 0x180192474
mov r8d, 3
lea rdx, [0x18028d380]
call fcn.180007110
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov edi, 0x3b
cmp rcx, rdx
jae 0x180192461
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, qword [rbp + 0x10]
mov dword [rax + rcx*2], edi
jmp 0x180192474
mov r9d, edi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.180023220
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rbp + 0x10]
call fcn.180007c10
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
cmp rcx, rdx
jae 0x1801924c6
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, qword [rbp + 0x10]
mov dword [rax + rcx*2], 0x3b
jmp 0x1801924d9
mov r9d, edi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.180023220
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x40], xmm1
mov word [rbp + 0x30], r14w
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], r14w
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x190]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x206
ja 0x180192562
mov word [rbp + 0x5a0], r14w
lea rax, [rbp + 0x190]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180192541
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x30]
call fcn.180007110
mov r8, qword [rbp + 0x40]
jmp 0x18019256e
mov r8, r14
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], r14w
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.180007c10
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
cmp rcx, rdx
jae 0x1801925b0
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, qword [rbp + 0x10]
mov dword [rax + rcx*2], 0x3b
jmp 0x1801925c3
mov r9d, edi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.180023220
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x1801925d1
mov rdx, qword [r13]
mov r8, qword [r13 + 0x10]
lea rcx, [rbp + 0x10]
call fcn.180007c10
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
cmp rcx, rdx
jae 0x180192609
lea rax, [rcx + 1]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x10]
cmp rdx, 8
cmovae rax, qword [rbp + 0x10]
mov dword [rax + rcx*2], 0x3b
jmp 0x18019261c
mov r9d, edi
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x10]
call fcn.180023220
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x10]
call fcn.180190bc0
test al, al
jne 0x18019265e
mov rcx, rsi
call fcn.180191660
nop
lea rcx, [rbp + 0x30]
call fcn.180007090
nop
lea rcx, [rbp + 0xb0]
call fcn.180007090
nop
lea rcx, [rbp + 0x170]
call fcn.180007090
jmp 0x18019268b
lea rcx, [rbp + 0x30]
call fcn.180007090
nop
lea rcx, [rbp + 0xb0]
call fcn.180007090
nop
lea rcx, [rbp + 0x170]
call fcn.180007090
jmp 0x18019268d
mov rcx, rsi
call fcn.180191660
xor bl, bl
lea rcx, [rbp + 0xf0]
call fcn.180007090
nop
lea rcx, [rsp + 0x68]
call fcn.180109550
nop
lea rax, vtable.RC::RCFileHash.0
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x60], 1
lea rcx, [rbp + 0x90]
call fcn.180007090
nop
lea rcx, [rbp + 0x110]
call fcn.180007090
nop
lea rcx, [rbp + 0x50]
call fcn.180007090
jmp 0x1801926e5
mov rcx, rsi
call fcn.180191660
xor bl, bl
lea rcx, [rsp + 0x20]
call fcn.18001be20
nop
lea rcx, [rbp + 0x10]
call fcn.180007090
nop
lea rcx, [rbp + 0x130]
call fcn.180007090
movzx eax, bl
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x708]
add rsp, 0x6c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret