Function at 0x1801d7a40
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 [0x180332088]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r13, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.180233580
or rdi, 0xffffffffffffffff
xor ebx, ebx
cmp word [rsi], bx
jne 0x1801d7aa4
mov r8d, ebx
jmp 0x1801d7aba
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x1801d7ab0
lea r12, [r13 + 0x48]
mov rdx, rsi
mov rcx, r12
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.idx
mov rcx, r12
call fcn.18005ffc0
cmp word [rsi], bx
jne 0x1801d7ae8
mov r8, rbx
jmp 0x1801d7afa
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x1801d7af0
lea rcx, [r13 + 0x68]
mov rdx, rsi
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.dat
lea rcx, [r13 + 0x68]
call fcn.18005ffc0
mov dword [rsp + 0x28], 0x4e20
lea rax, [0x1802ace18]
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_YY_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._s_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], bx
jne 0x1801d7b5b
mov r8, rbx
jmp 0x1801d7b6d
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d7b63
lea rcx, [r13 + 0x88]
lea rdx, [rsp + 0x60]
call fcn.18005c660
mov dword [rsp + 0x28], 0x4e20
lea rax, [0x1802ace18]
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_YY_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._s_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], bx
jne 0x1801d7bbd
mov r8, rbx
jmp 0x1801d7bcf
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d7bc5
lea rcx, [r13 + 0xa8]
lea rdx, [rsp + 0x60]
call fcn.18005c660
mov byte [r13 + 0xa], 9
mov rcx, r13
call fcn.1801b9ae0
test eax, eax
jne 0x1801d8149
cmp word [r14], bx
jne 0x1801d7c00
mov r8, rbx
jmp 0x1801d7c0d
mov r8, rdi
inc r8
cmp word [r14 + r8*2], bx
jne 0x1801d7c03
mov rdx, r14
mov rcx, r12
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.idx
mov rcx, r12
call fcn.18005ffc0
cmp word [r14], bx
jne 0x1801d7c38
mov r8, rbx
jmp 0x1801d7c4a
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r14 + r8*2], bx
jne 0x1801d7c40
mov rdx, r14
lea r14, [r13 + 0x68]
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.dat
mov rcx, r14
call fcn.18005ffc0
mov dword [rsp + 0x28], 0x4e20
lea rax, [0x1802ace18]
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_YY_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], bx
jne 0x1801d7cad
mov r8, rbx
jmp 0x1801d7cbf
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d7cb5
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.18005c660
mov dword [rsp + 0x28], 0x4e20
lea rax, [0x1802ace18]
mov qword [rsp + 0x20], rax
lea r9, str.__GS_SYS_YY_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], bx
jne 0x1801d7d0f
mov r8, rbx
jmp 0x1801d7d2a
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d7d20
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.18005c660
mov rcx, r13
call fcn.1801b9ae0
test eax, eax
jne 0x1801d8149
cmp word [r15], bx
jne 0x1801d7d56
mov r8, rbx
jmp 0x1801d7d6a
mov r8, rdi
nop dword [rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801d7d60
mov rdx, r15
mov rcx, r12
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.idx
mov rcx, r12
call fcn.18005ffc0
cmp word [r15], bx
jne 0x1801d7d95
mov r8, rbx
jmp 0x1801d7daa
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801d7da0
mov rdx, r15
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.dat
mov rcx, r14
call fcn.18005ffc0
mov dword [rsp + 0x28], 0x4e20
lea r15, [0x1802ace18]
mov qword [rsp + 0x20], r15
lea r9, str.__GS_SYS_YY_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], bx
jne 0x1801d7e09
mov r8, rbx
jmp 0x1801d7e1b
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d7e11
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.18005c660
mov dword [rsp + 0x28], 0x4e20
mov qword [rsp + 0x20], r15
lea r9, str.__GS_SYS_YY_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], bx
jne 0x1801d7e64
mov r8, rbx
jmp 0x1801d7e7a
lea rax, [rsp + 0x60]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d7e70
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.18005c660
mov rcx, r13
call fcn.1801b9ae0
test eax, eax
jne 0x1801d8149
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp word [rsi], bx
jne 0x1801d7eb8
mov r8, rbx
jmp 0x1801d7eca
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x1801d7ec0
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.18005c660
nop
mov r8d, 6
lea rdx, str.yy.idx
lea rcx, [rsp + 0x38]
call fcn.18005ffc0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.180233580
lea rdx, [rbp + 0x170]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [rbp + 0x170], 0
jne 0x1801d7f24
mov r8, rbx
jmp 0x1801d7f3b
lea rax, [rbp + 0x170]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1801d7f30
lea rdx, [rbp + 0x170]
mov rcx, r12
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.idx
mov rcx, r12
call fcn.18005ffc0
cmp qword [r12 + 0x18], 8
jb 0x1801d7f6b
mov r12, qword [r12]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.180064870
cmp word [rsi], 0
jne 0x1801d7f8f
mov r8, rbx
jmp 0x1801d7f9d
mov r8, rdi
inc r8
cmp word [rsi + r8*2], 0
jne 0x1801d7f92
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.dat
lea rcx, [rsp + 0x38]
call fcn.18005ffc0
cmp word [rbp + 0x170], 0
jne 0x1801d7fd0
mov r8, rbx
jmp 0x1801d7feb
lea rax, [rbp + 0x170]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1801d7fe0
lea rdx, [rbp + 0x170]
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.yy.dat
mov rcx, r14
call fcn.18005ffc0
cmp qword [r14 + 0x18], 8
jb 0x1801d8019
mov r14, qword [r14]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.180064870
mov dword [rsp + 0x28], 0x4e20
lea rsi, [0x1802ace18]
mov qword [rsp + 0x20], rsi
lea r9, str.__GS_SYS_YY_IDX__
lea r8, str.WanNengWBInput
lea rdx, str._sTEMP_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], 0
jne 0x1801d8072
mov r8, rbx
jmp 0x1801d808b
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1801d8080
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x88]
call fcn.18005c660
mov dword [rsp + 0x28], 0x4e20
mov qword [rsp + 0x20], rsi
lea r9, str.__GS_SYS_YY_DAT__
lea r8, str.WanNengWBInput
lea rdx, str._sTEMP_s_s_d
lea rcx, [rsp + 0x60]
call fcn.18005c530
cmp word [rsp + 0x60], 0
jne 0x1801d80d5
mov rdi, rbx
jmp 0x1801d80ea
lea rax, [rsp + 0x60]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1801d80e0
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0xa8]
call fcn.18005c660
mov rcx, r13
call fcn.1801b9ae0
nop
mov r8, qword [rsp + 0x50]
test eax, eax
jne 0x1801d8131
cmp r8, 8
jb 0x1801d81c6
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18005cac0
jmp 0x1801d81c6
cmp r8, 8
jb 0x1801d8149
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18005cac0
mov r8, qword [r13 + 0x28]
test r8, r8
je 0x1801d81c6
mov rdx, qword [r13 + 0x38]
test rdx, rdx
je 0x1801d81c6
cmp dword [r8 + 0xc], 0x4e20
jne 0x1801d81c6
mov rcx, rbx
lea r9, str.__GS__
nop
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1801d81c6
cmp rcx, 7
jne 0x1801d8170
lea rax, [r8 + 0x10]
mov qword [r13 + 0x30], rax
cmp dword [rdx + 0xc], 0x4e20
jne 0x1801d81c6
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
inc rbx
cmp al, byte [r9 + rbx - 1]
jne 0x1801d81c6
cmp rbx, 7
jne 0x1801d81a0
lea rax, [rdx + 0x10]
mov qword [r13 + 0x40], rax
mov byte [r13 + 9], 1
lea eax, [rbx - 6]
jmp 0x1801d81c8
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x498
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret