Function at 0x180006240
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800400b0]
xor rax, rsp
mov qword [rbp + 0x70], rax
movzx esi, dl
mov r14, rcx
xor r15d, r15d
mov rax, qword [0x180041170]
test rax, rax
jne 0x1800062b4
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1800062aa
mov rcx, rax
call fcn.18000eb40
jmp 0x1800062ad
mov rax, r15
mov qword [0x180041170], rax
mov rcx, rax
call fcn.180003800
test al, al
jne 0x180006b66
xor ecx, ecx
call fcn.18001803c
mov rdi, rax
mov rax, qword [0x180041170]
test rax, rax
jne 0x180006302
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1800062f8
mov rcx, rax
call fcn.18000eb40
jmp 0x1800062fb
mov rax, r15
mov qword [0x180041170], rax
mov r9d, 1
lea r8, str.361ab
lea rdx, str.MuBanSetting
mov rcx, rax
call fcn.180002100
test eax, eax
jne 0x180006401
mov rax, qword [0x180041170]
test rax, rax
jne 0x18000635a
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180006350
mov rcx, rax
call fcn.18000eb40
jmp 0x180006353
mov rax, r15
mov qword [0x180041170], rax
mov rcx, rax
call fcn.1800037c0
test al, al
jne 0x180006401
call fcn.180006b90
mov rcx, rax
xor r9d, r9d
lea r8, str.50e06
lea rdx, str.MuBanSetting
call fcn.180002100
mov ebx, eax
cmp eax, 0x64
jg 0x180006401
call fcn.180006b90
mov rcx, rax
xor r9d, r9d
lea r8, str.75a47
lea rdx, str.MuBanSetting
call fcn.180002100
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jl 0x1800063de
call fcn.180006b90
mov rcx, rax
lea r9d, [rbx + 1]
lea r8, str.50e06
lea rdx, str.MuBanSetting
call fcn.180004750
call fcn.180006b90
mov rcx, rax
mov r9d, edi
lea r8, str.75a47
lea rdx, str.MuBanSetting
call fcn.180004750
jmp 0x180006b66
test sil, sil
jne 0x18000648c
mov rax, qword [0x180041170]
test rax, rax
jne 0x18000643e
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180006434
mov rcx, rax
call fcn.18000eb40
jmp 0x180006437
mov rax, r15
mov qword [0x180041170], rax
or r9d, 0xffffffff
lea r8, str.b0ed9
lea rdx, str.MuBanSetting
mov rcx, rax
call fcn.180002100
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jle 0x180006b66
call fcn.180006b90
mov rcx, rax
mov r9d, edi
lea r8, str.b0ed9
lea rdx, str.MuBanSetting
call fcn.180004750
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r15
mov word [rbp + 0x10], r15w
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r15
mov word [rbp - 0x70], r15w
xor dil, dil
mov rax, qword [0x180041170]
test rax, rax
jne 0x1800064e5
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1800064db
mov rcx, rax
call fcn.18000eb40
jmp 0x1800064de
mov rax, r15
mov qword [0x180041170], rax
xor r9d, r9d
lea r8, str.758d5
lea rdx, str.MuBanSetting
mov rcx, rax
call fcn.180002100
mov ebx, eax
mov r8d, 8
lea rcx, [rbp + 0x10]
test al, 1
jne 0x180006526
mov dil, 1
lea rdx, str.jjxw.exe
call fcn.180001930
lea rdx, [0x18002ac08]
jmp 0x180006539
lea rdx, str.jjtn.exe
call fcn.180001930
lea rdx, [0x18002ac28]
mov r8d, 3
lea rcx, [rbp - 0x70]
call fcn.180001930
mov rax, qword [0x180041170]
test rax, rax
jne 0x18000657c
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180006572
mov rcx, rax
call fcn.18000eb40
jmp 0x180006575
mov rax, r15
mov qword [0x180041170], rax
mov rcx, rax
call fcn.180001fa0
mov qword [rbp + 8], 7
mov qword [rbp], r15
mov word [rbp - 0x10], r15w
cmp word [rax], 0
jne 0x1800065a0
mov r8, r15
jmp 0x1800065af
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800065a4
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.180001930
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1800016c0
lea eax, [rbx + 1]
mov ebx, r15d
cmp eax, 0x3e8
cmovl ebx, eax
mov rax, qword [0x180041170]
test rax, rax
jne 0x180006612
mov ecx, 0x170
call fcn.180010734
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180006608
mov rcx, rax
call fcn.18000eb40
jmp 0x18000660b
mov rax, r15
mov qword [0x180041170], rax
mov r9d, ebx
lea r8, str.758d5
lea rdx, str.MuBanSetting
mov rcx, rax
call fcn.180004750
cmp qword [rbp + 0x20], 0
je 0x180006af6
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1800017f0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call fcn.180008fd0
test eax, eax
jne 0x180006ad9
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call fcn.1800017f0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000671b
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
cmp dword [r14], 0
je 0x1800066f2
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov r8b, 1
call fcn.180008780
movzx eax, al
jmp 0x180006713
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
call fcn.180008520
test eax, eax
jne 0x180006abb
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r15
mov byte [rbp + 0x30], 0
mov r8d, 0x20
lea rdx, str.21313670032632400255292410645115
lea rcx, [rbp + 0x30]
call fcn.180004dd0
nop
mov r8d, 0x20
lea rcx, [rbp + 0x30]
test dil, dil
lea rdx, str.21313670032632400255292410645115
jne 0x18000675f
lea rdx, str.02318619072263042337183039134451
call fcn.180004dd0
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.1800077d0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x30], 0
mov r8d, 1
lea rdx, [0x18002ac7c]
lea rcx, [rbp - 0x30]
call fcn.180004dd0
nop
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r15
mov byte [rbp - 0x50], 0
cmp byte [rdx], 0
jne 0x1800067d9
mov r8, r15
jmp 0x1800067ea
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800067e0
lea rcx, [rbp - 0x50]
call fcn.180004dd0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.18000a460
nop
lea rcx, [rbp - 0x50]
call fcn.180001ea0
nop
lea rcx, [rbp - 0x30]
call fcn.180001ea0
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rbx, rdx
je 0x180006a66
nop dword [rax]
cmp qword [rbx + 0x18], 0x10
jb 0x18000683c
mov rdx, qword [rbx]
jmp 0x18000683f
mov rdx, rbx
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x30], 0
cmp byte [rdx], 0
jne 0x180006859
mov r8, r15
jmp 0x18000686a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180006860
lea rcx, [rbp - 0x30]
call fcn.180004dd0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.18000a8a0
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x1800068ca
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1800068aa
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180001a80
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.180001490
nop
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x1800068e4
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.180001a80
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
call fcn.180008fd0
nop
lea rcx, [rbp - 0x30]
call fcn.180001ea0
add rbx, 0x20
mov rdx, qword [rsp + 0x38]
cmp rbx, rdx
jne 0x180006830
mov rbx, qword [rsp + 0x30]
cmp rbx, rdx
je 0x180006a66
cmp qword [rbx + 0x18], 0x10
jb 0x18000692f
mov rdx, qword [rbx]
jmp 0x180006932
mov rdx, rbx
mov qword [rbp - 0x38], 0xf
mov qword [rbp - 0x40], r15
mov byte [rbp - 0x50], 0
cmp byte [rdx], 0
jne 0x18000694c
mov r8, r15
jmp 0x18000695a
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180006950
lea rcx, [rbp - 0x50]
call fcn.180004dd0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18000a8a0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180001420
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x180006998
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.180001a80
call fcn.180006b90
mov rcx, rax
call fcn.180001fa0
cmp word [rax], 0
jne 0x1800069b0
mov r8, r15
jmp 0x1800069bf
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800069b4
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180001930
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800016c0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
cmp dword [r14], 0
je 0x180006a14
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov r8b, 1
call fcn.180008780
movzx eax, al
jmp 0x180006a36
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
call fcn.180008520
nop
lea rcx, [rbp - 0x50]
test eax, eax
jne 0x180006a57
call fcn.180001ea0
add rbx, 0x20
mov rdx, qword [rsp + 0x38]
cmp rbx, rdx
jne 0x180006923
jmp 0x180006a61
call fcn.180001ea0
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x180006aa7
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.180006120
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x30]
call fcn.180006be0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
lea rcx, [rbp + 0x50]
call fcn.180001ea0
nop
lea rcx, [rbp + 0x30]
call fcn.180001ea0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x180006ad9
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.180001a80
nop
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x180006af6
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.180001a80
nop
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x180006b10
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.180001a80
mov qword [rbp + 8], 7
mov qword [rbp], r15
mov word [rbp - 0x10], r15w
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x180006b3b
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.180001a80
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r15
mov word [rbp - 0x70], r15w
mov r8, qword [rbp + 0x28]
cmp r8, 8
jb 0x180006b66
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.180001a80
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180010880
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret