Function at 0x180150a20
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 0x180150a89
mov r8d, ebx
jmp 0x180150a9a
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x180150a90
lea r12, [r13 + 0x48]
mov rdx, rsi
mov rcx, r12
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.idx
mov rcx, r12
call fcn.180004d10
cmp word [rsi], bx
jne 0x180150ac8
mov r8, rbx
jmp 0x180150ada
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x180150ad0
lea rcx, [r13 + 0x68]
mov rdx, rsi
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.dat
lea rcx, [r13 + 0x68]
call fcn.180004d10
mov dword [rsp + 0x28], 0x4e20
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_BH_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 0x180150b3b
mov r8, rbx
jmp 0x180150b4d
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180150b43
lea rcx, [r13 + 0x88]
lea rdx, [rsp + 0x60]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e20
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_BH_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 0x180150b9d
mov r8, rbx
jmp 0x180150baf
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180150ba5
lea rcx, [r13 + 0xa8]
lea rdx, [rsp + 0x60]
call fcn.180005450
mov byte [r13 + 0xa], 0xd
mov rcx, r13
call fcn.18014c610
test eax, eax
jne 0x180151128
cmp word [r14], bx
jne 0x180150be0
mov r8, rbx
jmp 0x180150bed
mov r8, rdi
inc r8
cmp word [r14 + r8*2], bx
jne 0x180150be3
mov rdx, r14
mov rcx, r12
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.idx
mov rcx, r12
call fcn.180004d10
cmp word [r14], bx
jne 0x180150c18
mov r8, rbx
jmp 0x180150c2a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], bx
jne 0x180150c20
mov rdx, r14
lea r14, [r13 + 0x68]
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.dat
mov rcx, r14
call fcn.180004d10
mov dword [rsp + 0x28], 0x4e20
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_BH_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 0x180150c8d
mov r8, rbx
jmp 0x180150c9f
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180150c95
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e20
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_BH_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 0x180150cef
mov r8, rbx
jmp 0x180150d0a
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180150d00
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.180005450
mov rcx, r13
call fcn.18014c610
test eax, eax
jne 0x180151128
cmp word [r15], bx
jne 0x180150d36
mov r8, rbx
jmp 0x180150d4a
mov r8, rdi
nop dword [rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x180150d40
mov rdx, r15
mov rcx, r12
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.idx
mov rcx, r12
call fcn.180004d10
cmp word [r15], bx
jne 0x180150d75
mov r8, rbx
jmp 0x180150d8a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x180150d80
mov rdx, r15
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.dat
mov rcx, r14
call fcn.180004d10
mov dword [rsp + 0x28], 0x4e20
lea r15, str.9.8.9.0309
mov qword [rsp + 0x20], r15
lea r9, str.__GS_SYS_BH_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 0x180150de9
mov r8, rbx
jmp 0x180150dfb
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x180150df1
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e20
mov qword [rsp + 0x20], r15
lea r9, str.__GS_SYS_BH_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 0x180150e44
mov r8, rbx
jmp 0x180150e5a
lea rax, [rsp + 0x60]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180150e50
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.180005450
mov rcx, r13
call fcn.18014c610
test eax, eax
jne 0x180151128
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp word [rsi], bx
jne 0x180150e98
mov r8, rbx
jmp 0x180150eaa
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x180150ea0
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180005450
nop
mov r8d, 6
lea rdx, str.bh.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 0x180150f0b
mov r8, rbx
jmp 0x180150f20
lea rax, [rbp + 0x170]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180150f15
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 0x180150f50
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 0x180150f74
mov r8, rbx
jmp 0x180150f8b
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x180150f80
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.dat
lea rcx, [rsp + 0x38]
call fcn.180004d10
cmp word [rbp + 0x170], 0
jne 0x180150fbe
mov r8, rbx
jmp 0x180150fdb
lea rax, [rbp + 0x170]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180150fd0
lea rdx, [rbp + 0x170]
mov rcx, r14
call fcn.180005450
mov r8d, 6
lea rdx, str.bh.dat
mov rcx, r14
call fcn.180004d10
cmp qword [r14 + 0x18], 8
jb 0x180151009
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], 0x4e20
lea rsi, str.9.8.9.0309
mov qword [rsp + 0x20], rsi
lea r9, str.__GS_SYS_BH_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 0x180151062
mov r8, rbx
jmp 0x18015107b
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180151070
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.180005450
mov dword [rsp + 0x28], 0x4e20
mov qword [rsp + 0x20], rsi
lea r9, str.__GS_SYS_BH_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 0x1801510c5
mov rdi, rbx
jmp 0x1801510da
lea rax, [rsp + 0x60]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1801510d0
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 0x180151116
cmp qword [rsp + 0x50], 8
jb 0x1801511a6
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
jmp 0x1801511a6
cmp qword [rsp + 0x50], 8
jb 0x180151128
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
mov r8, qword [r13 + 0x28]
test r8, r8
je 0x1801511a6
mov rdx, qword [r13 + 0x38]
test rdx, rdx
je 0x1801511a6
cmp dword [r8 + 0xc], 0x4e20
jne 0x1801511a6
mov rcx, rbx
lea r9, str.__GS__
nop
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1801511a6
cmp rcx, 7
jne 0x180151150
lea rax, [r8 + 0x10]
mov qword [r13 + 0x30], rax
cmp dword [rdx + 0xc], 0x4e20
jne 0x1801511a6
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rbx
cmp al, byte [r9 + rbx - 1]
jne 0x1801511a6
cmp rbx, 7
jne 0x180151180
lea rax, [rdx + 0x10]
mov qword [r13 + 0x40], rax
mov byte [r13 + 9], 1
lea eax, [rbx - 6]
jmp 0x1801511a8
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