Function at 0x1801bb560
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov qword [rsp + 0x48], r9
mov r12, r8
mov r15, rdx
mov r13, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.180233580
mov r8d, 0x4e20
lea rdx, [0x1802abc24]
lea rcx, [rbp - 0x80]
call fcn.18005c530
or rdi, 0xffffffffffffffff
xor ebx, ebx
cmp word [r15], bx
jne 0x1801bb5dc
mov r8d, ebx
jmp 0x1801bb5ea
mov r8, rdi
nop
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801bb5e0
lea r14, [r13 + 0x28]
mov rdx, r15
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.18005ffc0
lea rsi, [r13 + 0x48]
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.18005c660
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0xc
lea rdx, [0x1802ace18]
mov rcx, rsi
call fcn.18005ffc0
cmp word [rbp - 0x80], bx
jne 0x1801bb65c
mov r8, rbx
jmp 0x1801bb66d
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801bb663
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801bb689
mov rax, qword [rsi]
jmp 0x1801bb68c
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1801bb698
mov rdx, qword [r14]
jmp 0x1801bb69b
mov rdx, r14
lea rcx, [r13 + 8]
lea r8, [r13 + 0xc]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x40]
lea r8, [r13 + 0x10]
mov rcx, r13
call fcn.1801dfea0
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], ebx
je 0x1801bbada
cmp word [r12], bx
jne 0x1801bb6dd
mov r8, rbx
jmp 0x1801bb6ea
mov r8, rdi
inc r8
cmp word [r12 + r8*2], bx
jne 0x1801bb6e0
mov rdx, r12
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.18005ffc0
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.18005c660
mov r8d, 4
lea rdx, str.BACK
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0xc
lea rdx, [0x1802ace18]
mov rcx, rsi
call fcn.18005ffc0
cmp word [rbp - 0x80], bx
jne 0x1801bb769
mov r8, rbx
jmp 0x1801bb77a
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801bb770
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801bb796
mov rax, qword [rsi]
jmp 0x1801bb799
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1801bb7a5
mov rdx, qword [r14]
jmp 0x1801bb7a8
mov rdx, r14
mov qword [rsp + 0x30], rax
lea r12, [r13 + 8]
mov qword [rsp + 0x28], r12
lea rax, [r13 + 0xc]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [r13 + 0x10]
mov rcx, r13
call fcn.1801dfea0
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], ebx
je 0x1801bbada
mov rax, qword [rsp + 0x48]
cmp word [rax], bx
jne 0x1801bb7ed
mov r8, rbx
jmp 0x1801bb7fa
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801bb7f0
mov rdx, rax
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.18005ffc0
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.18005c660
mov r8d, 4
lea rdx, str.USER
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0xc
lea rdx, [0x1802ace18]
mov rcx, rsi
call fcn.18005ffc0
cmp word [rbp - 0x80], bx
jne 0x1801bb879
mov r8, rbx
jmp 0x1801bb88a
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801bb880
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801bb8a6
mov rax, qword [rsi]
jmp 0x1801bb8a9
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1801bb8b5
mov rdx, qword [r14]
jmp 0x1801bb8b8
mov rdx, r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea rax, [r13 + 0xc]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [r13 + 0x10]
mov rcx, r13
call fcn.1801dfea0
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], ebx
je 0x1801bbada
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
cmp word [r15], bx
jne 0x1801bb908
mov r8, rbx
jmp 0x1801bb91a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801bb910
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.18005c660
nop
mov r8d, 6
lea rdx, str.dz.dat
lea rcx, [rsp + 0x58]
call fcn.18005ffc0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.180233580
lea rdx, [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [rbp + 0x190], 0
jne 0x1801bb974
mov r8, rbx
jmp 0x1801bb98b
lea rax, [rbp + 0x190]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1801bb980
lea rdx, [rbp + 0x190]
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.18005ffc0
cmp qword [r14 + 0x18], 8
jb 0x1801bb9bb
mov rdx, qword [r14]
jmp 0x1801bb9be
mov rdx, r14
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.180064870
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.18005c660
mov r8d, 4
lea rdx, str.TEMP
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.18005ffc0
mov r8d, 0xc
lea rdx, [0x1802ace18]
mov rcx, rsi
call fcn.18005ffc0
cmp word [rbp - 0x80], 0
jne 0x1801bba34
mov rdi, rbx
jmp 0x1801bba4a
lea rax, [rbp - 0x80]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1801bba40
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801bba67
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x1801bba71
mov r14, qword [r14]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r12
lea rax, [r13 + 0xc]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [r13 + 0x10]
mov rdx, r14
mov rcx, r13
call fcn.1801dfea0
mov qword [r13 + 0x18], rax
mov r8, qword [rsp + 0x70]
cmp dword [rsp + 0x40], 0
je 0x1801bbac2
cmp r8, 8
jb 0x1801bbb13
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18005cac0
jmp 0x1801bbb13
cmp r8, 8
jb 0x1801bbada
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18005cac0
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1801bbb13
cmp dword [rcx + 0xc], 0x4e20
jne 0x1801bbb13
lea rdx, str.__GS__
movzx eax, byte [rcx + rbx]
inc rbx
cmp al, byte [rdx + rbx - 1]
jne 0x1801bbb13
cmp rbx, 7
jne 0x1801bbaf3
lea rax, [rcx + 0x10]
mov qword [r13 + 0x20], rax
lea eax, [rbx - 6]
jmp 0x1801bbb15
xor eax, eax
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x4b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret