Function at 0x18014e2d0
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 - 0x398]
sub rsp, 0x498
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r13, rcx
xor ebx, ebx
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1800be330
or rdi, 0xffffffffffffffff
cmp word [rsi], bx
jne 0x18014e339
mov r8d, ebx
jmp 0x18014e34a
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x18014e340
lea r12, [r13 + 0x48]
mov rdx, rsi
mov rcx, r12
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.idx
mov rcx, r12
call fcn.180004d10
cmp word [rsi], bx
jne 0x18014e378
mov r8, rbx
jmp 0x18014e38a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x18014e380
lea rcx, [r13 + 0x68]
mov rdx, rsi
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.dat
lea rcx, [r13 + 0x68]
call fcn.180004d10
mov dword [rsp + 0x28], 0x4e21
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_GBK_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._s_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], bx
jne 0x18014e3eb
mov r8, rbx
jmp 0x18014e3fd
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x18014e3f3
lea rcx, [r13 + 0x88]
lea rdx, [rsp + 0x60]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e21
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_GBK_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._s_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], bx
jne 0x18014e44d
mov r8, rbx
jmp 0x18014e45f
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x18014e455
lea rcx, [r13 + 0xa8]
lea rdx, [rsp + 0x60]
call fcn.180005450
mov byte [r13 + 0xa], 0xf
mov rcx, r13
call fcn.18014c610
test eax, eax
jne 0x18014e9d5
cmp word [r14], bx
jne 0x18014e490
mov r8, rbx
jmp 0x18014e49d
mov r8, rdi
inc r8
cmp word [r14 + r8*2], bx
jne 0x18014e493
mov rdx, r14
mov rcx, r12
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.idx
mov rcx, r12
call fcn.180004d10
cmp word [r14], bx
jne 0x18014e4c8
mov r8, rbx
jmp 0x18014e4da
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], bx
jne 0x18014e4d0
mov rdx, r14
lea r14, [r13 + 0x68]
mov rcx, r14
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.dat
mov rcx, r14
call fcn.180004d10
mov dword [rsp + 0x28], 0x4e21
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_GBK_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], bx
jne 0x18014e53d
mov r8, rbx
jmp 0x18014e54f
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x18014e545
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e21
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_GBK_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], bx
jne 0x18014e59f
mov r8, rbx
jmp 0x18014e5ba
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x18014e5b0
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.180005450
mov rcx, r13
call fcn.18014c610
test eax, eax
jne 0x18014e9d5
cmp word [r15], bx
jne 0x18014e5e6
mov r8, rbx
jmp 0x18014e5fa
mov r8, rdi
nop dword [rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x18014e5f0
mov rdx, r15
mov rcx, r12
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.idx
mov rcx, r12
call fcn.180004d10
cmp word [r15], bx
jne 0x18014e625
mov r8, rbx
jmp 0x18014e63a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x18014e630
mov rdx, r15
mov rcx, r14
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.dat
mov rcx, r14
call fcn.180004d10
mov dword [rsp + 0x28], 0x4e21
lea r15, str.9.8.9.0309
mov qword [rsp + 0x20], r15
lea r9, str.__GS_SYS_GBK_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], bx
jne 0x18014e699
mov r8, rbx
jmp 0x18014e6ab
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x18014e6a1
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e21
mov qword [rsp + 0x20], r15
lea r9, str.__GS_SYS_GBK_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], bx
jne 0x18014e6f4
mov r8, rbx
jmp 0x18014e70a
lea rax, [rsp + 0x60]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x18014e700
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.180005450
mov rcx, r13
call fcn.18014c610
test eax, eax
jne 0x18014e9d5
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp word [rsi], bx
jne 0x18014e748
mov r8, rbx
jmp 0x18014e75a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x18014e750
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180005450
nop
mov r8d, 7
lea rdx, str.gbk.idx
lea rcx, [rsp + 0x38]
call fcn.180004d10
mov word [rbp + 0x170], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x172]
call fcn.1800be330
lea rdx, [rbp + 0x170]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [rbp + 0x170], 0
jne 0x18014e7bb
mov r8, rbx
jmp 0x18014e7d0
lea rax, [rbp + 0x170]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x18014e7c5
lea rdx, [rbp + 0x170]
mov rcx, r12
call fcn.180005450
mov r8d, 6
lea rdx, str.dz.dat
mov rcx, r12
call fcn.180004d10
cmp qword [r12 + 0x18], 8
jb 0x18014e800
mov r12, qword [r12]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.18000f9b0
cmp word [rsi], 0
jne 0x18014e824
mov r8, rbx
jmp 0x18014e83b
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x18014e830
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.dat
lea rcx, [rsp + 0x38]
call fcn.180004d10
cmp word [rbp + 0x170], 0
jne 0x18014e86e
mov r8, rbx
jmp 0x18014e88b
lea rax, [rbp + 0x170]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18014e880
lea rdx, [rbp + 0x170]
mov rcx, r14
call fcn.180005450
mov r8d, 7
lea rdx, str.gbk.dat
mov rcx, r14
call fcn.180004d10
cmp qword [r14 + 0x18], 8
jb 0x18014e8b9
mov r14, qword [r14]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.18000f9b0
mov dword [rsp + 0x28], 0x4e21
lea rsi, str.9.8.9.0309
mov qword [rsp + 0x20], rsi
lea r9, str.__GS_SYS_GBK_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sTEMP_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], 0
jne 0x18014e912
mov r8, rbx
jmp 0x18014e92b
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18014e920
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e21
mov qword [rsp + 0x20], rsi
lea r9, str.__GS_SYS_GBK_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._sTEMP_s_s_d
lea rcx, [rsp + 0x60]
call fcn.1800b5a54
cmp word [rsp + 0x60], 0
jne 0x18014e975
mov rdi, rbx
jmp 0x18014e98a
lea rax, [rsp + 0x60]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x18014e980
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.180005450
mov rcx, r13
call fcn.18014c610
nop
test eax, eax
jne 0x18014e9c3
cmp qword [rsp + 0x50], 8
jb 0x18014ea36
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
jmp 0x18014ea36
cmp qword [rsp + 0x50], 8
jb 0x18014e9d5
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
mov r8, qword [r13 + 0x28]
test r8, r8
je 0x18014ea36
mov rdx, qword [r13 + 0x38]
test rdx, rdx
je 0x18014ea36
mov rcx, rbx
lea r9, str.__GS__
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x18014ea36
cmp rcx, 7
jne 0x18014e9f1
lea rax, [r8 + 0x10]
mov qword [r13 + 0x30], rax
nop
movzx eax, byte [rdx + rbx]
inc rbx
cmp al, byte [r9 + rbx - 1]
jne 0x18014ea36
cmp rbx, 7
jne 0x18014ea10
lea rax, [rdx + 0x10]
mov qword [r13 + 0x40], rax
mov byte [r13 + 9], 1
lea eax, [rbx - 6]
jmp 0x18014ea38
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret