Function at 0x180006910
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x18003b080]
xor rax, rsp
mov qword [rbp + 0xa8], rax
movzx esi, dl
mov r14, rcx
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006963
call fcn.1800071b0
mov rcx, qword [0x18003bfc0]
call fcn.180003070
test al, al
jne 0x180007180
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006988
call fcn.1800071b0
mov rcx, qword [0x18003bfc0]
call fcn.180002e40
test al, al
jne 0x180007180
xor ecx, ecx
call fcn.1800151ac
mov rdi, rax
mov rcx, qword [0x18003bfc0]
test rcx, rcx
jne 0x1800069b7
call fcn.1800071b0
mov r9d, 1
lea r8, str.8931f
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.1800020e0
test eax, eax
jne 0x180006adf
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x1800069f0
call fcn.1800071b0
mov rcx, qword [0x18003bfc0]
call fcn.180003030
test al, al
jne 0x180006adf
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006a15
call fcn.1800071b0
xor r9d, r9d
lea r8, str.c402b
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.1800020e0
mov ebx, eax
cmp eax, 0x64
jg 0x180006adf
mov rcx, qword [0x18003bfc0]
test rcx, rcx
jne 0x180006a4e
call fcn.1800071b0
xor r9d, r9d
lea r8, str.2f537
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.1800020e0
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jl 0x180006aac
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006a8e
call fcn.1800071b0
lea r9d, [rbx + 1]
lea r8, str.c402b
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.180003f10
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006abd
call fcn.1800071b0
mov r9d, edi
lea r8, str.2f537
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.180003f10
jmp 0x180007180
test sil, sil
jne 0x180006b57
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006af5
call fcn.1800071b0
or r9d, 0xffffffff
lea r8, str.65f30
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.1800020e0
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jle 0x180007180
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006b3a
call fcn.1800071b0
mov r9d, edi
lea r8, str.65f30
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.180003f10
mov qword [rbp - 0x20], 7
xor esi, esi
mov qword [rbp - 0x28], rsi
mov word [rbp - 0x38], si
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
xor dil, dil
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006b8d
call fcn.1800071b0
xor r9d, r9d
lea r8, str.c235d
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.1800020e0
mov ebx, eax
mov r8d, 0xa
lea rcx, [rbp - 0x38]
test al, 1
jne 0x180006bd2
mov dil, 1
lea rdx, str.mjhsmm.exe
call fcn.1800017f0
lea rdx, [0x180026bc0]
jmp 0x180006be5
lea rdx, str.mjhstp.exe
call fcn.1800017f0
lea rdx, [0x180026be0]
mov r8d, 2
lea rcx, [rbp - 0x78]
call fcn.1800017f0
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006c05
call fcn.1800071b0
mov rcx, qword [0x18003bfc0]
call fcn.18000b420
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
cmp word [rax], 0
jne 0x180006c2c
mov r8, rsi
jmp 0x180006c3b
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180006c30
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1800017f0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.180001580
lea eax, [rbx + 1]
mov ebx, esi
cmp eax, 0x3e8
cmovl ebx, eax
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006c7a
call fcn.1800071b0
mov r9d, ebx
lea r8, str.c235d
lea rdx, str.GZZSSetting
mov rcx, qword [0x18003bfc0]
call fcn.180003f10
cmp qword [rbp - 0x28], 0
je 0x180007112
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x68]
call fcn.1800016b0
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.180009530
test eax, eax
jne 0x1800070f5
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rsi
mov word [rsp + 0x48], si
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.1800016b0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180006d86
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
cmp dword [r14], 0
je 0x180006d5d
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r8b, 1
call fcn.180008cb0
movzx eax, al
jmp 0x180006d7e
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
call fcn.180008a50
test eax, eax
jne 0x1800070d7
mov qword [rbp], 0xf
mov qword [rbp - 8], rsi
mov byte [rbp - 0x18], 0
mov r8d, 0x48
lea rdx, str.823893655236154311653839682550324246475744467137424623390756302310655216
lea rcx, [rbp - 0x18]
call fcn.180004590
nop
mov r8d, 0x48
lea rcx, [rbp - 0x18]
test dil, dil
lea rdx, str.823893655236154311653839682550324246475744467137424623390756302310655216
jne 0x180006dca
lea rdx, str.360482135040475836490368544660044363653853636922436356163638195600095042
call fcn.180004590
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rdx, qword [rbp - 0x18]
lea rcx, [rbp + 0x48]
call fcn.180007d00
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
lea rcx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rcx, qword [rbp + 0x48]
lea r8, [rsp + 0x28]
lea rdx, [0x180026c8c]
call fcn.18000aaa0
mov rbx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
cmp rbx, rdx
je 0x180007082
cmp qword [rbx + 0x18], 0x10
jb 0x180006e33
mov rdx, qword [rbx]
jmp 0x180006e36
mov rdx, rbx
mov qword [rbp + 0x40], 0xf
mov qword [rbp + 0x38], rsi
mov byte [rbp + 0x28], 0
cmp byte [rdx], 0
jne 0x180006e50
mov r8, rsi
jmp 0x180006e5e
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180006e54
lea rcx, [rbp + 0x28]
call fcn.180004590
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x68]
call fcn.18000ae50
mov rdi, rax
lea rax, [rsp + 0x68]
cmp rax, rdi
je 0x180006ebe
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x180006e9e
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.180001940
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180001350
nop
mov r8, qword [rbp + 0x80]
cmp r8, 8
jb 0x180006edb
inc r8
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x68]
call fcn.180001940
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call fcn.180009530
nop
lea rcx, [rbp + 0x28]
call fcn.180001cc0
add rbx, 0x20
mov rdx, qword [rsp + 0x30]
cmp rbx, rdx
jne 0x180006e27
mov rbx, qword [rsp + 0x28]
cmp rbx, rdx
je 0x180007082
nop word [rax + rax]
cmp qword [rbx + 0x18], 0x10
jb 0x180006f2c
mov rdx, qword [rbx]
jmp 0x180006f2f
mov rdx, rbx
mov qword [rbp + 0x20], 0xf
mov qword [rbp + 0x18], rsi
mov byte [rbp + 8], 0
cmp byte [rdx], 0
jne 0x180006f49
mov r8, rsi
jmp 0x180006f5a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180006f50
lea rcx, [rbp + 8]
call fcn.180004590
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x88]
call fcn.18000ae50
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800012e0
mov r8, qword [rbp + 0xa0]
cmp r8, 8
jb 0x180006fa4
inc r8
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0x88]
call fcn.180001940
mov rax, qword [0x18003bfc0]
test rax, rax
jne 0x180006fb5
call fcn.1800071b0
mov rcx, qword [0x18003bfc0]
call fcn.18000b420
cmp word [rax], 0
jne 0x180006fcc
mov r8, rsi
jmp 0x180006fdb
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180006fd0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800017f0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.180001580
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
cmp dword [r14], 0
je 0x180007030
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r8b, 1
call fcn.180008cb0
movzx eax, al
jmp 0x180007052
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
call fcn.180008a50
nop
lea rcx, [rbp + 8]
test eax, eax
jne 0x180007073
call fcn.180001cc0
add rbx, 0x20
mov rdx, qword [rsp + 0x30]
cmp rbx, rdx
jne 0x180006f20
jmp 0x18000707d
call fcn.180001cc0
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1800070c3
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.180006780
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x28]
call fcn.180007c00
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
lea rcx, [rbp + 0x48]
call fcn.180001cc0
nop
lea rcx, [rbp - 0x18]
call fcn.180001cc0
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x1800070f5
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.180001940
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x180007112
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.180001940
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x18000712c
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.180001940
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x180007156
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.180001940
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x180007180
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.180001940
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.18000dae0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret