Function at 0x180145310
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 [0x180248950]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov qword [rsp + 0x48], r9
mov r12, r8
mov r15, rdx
mov r13, rcx
xor ebx, ebx
mov word [rbp - 0x80], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1800be330
mov r8d, 0x4e20
lea rdx, [0x1801ebd34]
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
or rdi, 0xffffffffffffffff
cmp word [r15], bx
jne 0x180145390
mov r8d, ebx
jmp 0x18014539d
mov r8, rdi
inc r8
cmp word [r15 + r8*2], bx
jne 0x180145393
lea r14, [r13 + 0x28]
mov rdx, r15
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.180004d10
lea rsi, [r13 + 0x48]
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.180005450
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.180004d10
mov r8d, 0xa
lea rdx, str.9.8.9.0309
mov rcx, rsi
call fcn.180004d10
cmp word [rbp - 0x80], bx
jne 0x18014540f
mov r8, rbx
jmp 0x180145420
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180145416
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180004d10
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x18014543c
mov rax, qword [rsi]
jmp 0x18014543f
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x18014544b
mov rdx, qword [r14]
jmp 0x18014544e
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.180158690
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], ebx
je 0x180145879
cmp word [r12], bx
jne 0x180145490
mov r8, rbx
jmp 0x18014549d
mov r8, rdi
inc r8
cmp word [r12 + r8*2], bx
jne 0x180145493
mov rdx, r12
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.180004d10
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.180005450
mov r8d, 4
lea rdx, str.BACK
mov rcx, rsi
call fcn.180004d10
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.180004d10
mov r8d, 0xa
lea rdx, str.9.8.9.0309
mov rcx, rsi
call fcn.180004d10
cmp word [rbp - 0x80], bx
jne 0x18014551c
mov r8, rbx
jmp 0x18014552d
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180145523
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180004d10
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x180145549
mov rax, qword [rsi]
jmp 0x18014554c
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x180145558
mov rdx, qword [r14]
jmp 0x18014555b
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.180158690
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], ebx
je 0x180145879
mov rax, qword [rsp + 0x48]
cmp word [rax], bx
jne 0x1801455a0
mov r8, rbx
jmp 0x1801455ad
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801455a3
mov rdx, rax
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.180004d10
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.180005450
mov r8d, 4
lea rdx, str.USER
mov rcx, rsi
call fcn.180004d10
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.180004d10
mov r8d, 0xa
lea rdx, str.9.8.9.0309
mov rcx, rsi
call fcn.180004d10
cmp word [rbp - 0x80], bx
jne 0x18014562c
mov r8, rbx
jmp 0x18014563d
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180145633
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180004d10
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x180145659
mov rax, qword [rsi]
jmp 0x18014565c
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x180145668
mov rdx, qword [r14]
jmp 0x18014566b
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.180158690
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], ebx
je 0x180145879
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
cmp word [r15], bx
jne 0x1801456bb
mov r8, rbx
jmp 0x1801456ca
mov r8, rdi
nop
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801456c0
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.180005450
nop
mov r8d, 6
lea rdx, str.dz.dat
lea rcx, [rsp + 0x58]
call fcn.180004d10
mov word [rbp + 0x190], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.1800be330
lea rdx, [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [rbp + 0x190], 0
jne 0x18014572b
mov r8, rbx
jmp 0x180145740
lea rax, [rbp + 0x190]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180145735
lea rdx, [rbp + 0x190]
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r14
call fcn.180004d10
cmp qword [r14 + 0x18], 8
jb 0x180145770
mov rdx, qword [r14]
jmp 0x180145773
mov rdx, r14
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.18000f9b0
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.180005450
mov r8d, 4
lea rdx, str.TEMP
mov rcx, rsi
call fcn.180004d10
mov r8d, 0x11
lea rdx, str.__GS_SYS_DZ_DAT__
mov rcx, rsi
call fcn.180004d10
mov r8d, 0xa
lea rdx, str.9.8.9.0309
mov rcx, rsi
call fcn.180004d10
cmp word [rbp - 0x80], 0
jne 0x1801457e9
mov rdi, rbx
jmp 0x1801457fa
lea rax, [rbp - 0x80]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1801457f0
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.180004d10
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x180145817
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x180145821
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.180158690
mov qword [r13 + 0x18], rax
cmp dword [rsp + 0x40], 0
je 0x180145867
cmp qword [rsp + 0x70], 8
jb 0x1801458bd
mov rcx, qword [rsp + 0x58]
call fcn.1800b5354
jmp 0x1801458bd
cmp qword [rsp + 0x70], 8
jb 0x180145879
mov rcx, qword [rsp + 0x58]
call fcn.1800b5354
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1801458bd
cmp dword [rcx + 0xc], 0x4e20
jne 0x1801458bd
lea rdx, str.__GS__
movzx eax, byte [rcx + rbx]
inc rbx
cmp al, byte [rdx + rbx - 1]
jne 0x1801458bd
cmp rbx, 7
jne 0x180145892
lea rax, [rcx + 0x10]
mov qword [r13 + 0x20], rax
mov dword [r13 + 0x80], 1
lea eax, [rbx - 6]
jmp 0x1801458bf
xor eax, eax
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x4b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret