Function at 0x180032360
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x670
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x660], rax
call fcn.180032280
mov rbx, rax
xor esi, esi
cmp qword [0x180278760], rsi
jne 0x1800323cc
lea ecx, [rsi + 0x20]
call fcn.1800b543c
test rax, rax
je 0x1800323c2
mov byte [rax], 1
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
mov qword [rax + 0x18], rsi
jmp 0x1800323c5
mov rax, rsi
mov qword [0x180278760], rax
mov rax, qword [0x1802787a8]
test rax, rax
jne 0x180032400
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800323f6
mov rcx, rax
call fcn.180072da0
jmp 0x1800323f9
mov rax, rsi
mov qword [0x1802787a8], rax
mov rdi, qword [rax + 8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1800325e1
mov word [rsp + 0x240], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x242]
call fcn.1800be330
mov word [rsp + 0x30], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x32]
call fcn.1800be330
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x180032486
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18003247c
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], esi
jmp 0x18003247f
mov rbx, rsi
mov qword [0x180278790], rbx
lea rcx, [rbx + 0xc8]
cmp qword [rcx + 0x18], 8
jb 0x180032497
mov rcx, qword [rcx]
lea rdx, [rsp + 0x30]
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x1800324a0
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800324c0
mov rax, qword [str.WnTool.exe]
mov qword [rcx], rax
mov rax, qword [0x1801ecdd0]
mov qword [rcx + 8], rax
mov eax, dword [0x1801ecdd8]
mov dword [rcx + 0x10], eax
movzx eax, word [0x1801ecddc]
mov word [rcx + 0x14], ax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180032603
mov rcx, rsi
lea rdx, [0x1801ebb00]
movzx eax, word [rcx + rdx]
mov word [rsp + rcx + 0x240], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180032510
lea rcx, [rsp + 0x240]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180032531
lea r9, [rsp + 0x30]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r9 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x180032550
mov word [rsp + 0x450], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x452]
call fcn.1800be330
mov r8, rdi
lea rdx, str.__RunVipTipRegister__d
lea rcx, [rsp + 0x450]
call fcn.1800b5a54
lea rcx, [rsp + 0x240]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800325a2
lea r8, [rsp + 0x450]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1800325c0
lea rcx, [rsp + 0x240]
call fcn.18002c6e0
jmp 0x180032603
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
mov r8, rdi
mov edx, 0x532
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret