Function at 0x1801d0030
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 0x1801d00ac
mov r8d, ebx
jmp 0x1801d00ba
mov r8, rdi
nop
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801d00b0
lea r14, [r13 + 0x20]
mov rdx, r15
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.lx.dat
mov rcx, r14
call fcn.18005ffc0
lea rsi, [r13 + 0x40]
mov r8d, 0xe
lea rdx, str.WanNengWBInput
mov rcx, rsi
call fcn.18005c660
mov r8d, 0x11
lea rdx, str.__GS_SYS_LX_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 0x1801d012c
mov r8, rbx
jmp 0x1801d013d
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d0133
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801d0159
mov rax, qword [rsi]
jmp 0x1801d015c
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1801d0168
mov rdx, qword [r14]
jmp 0x1801d016b
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 0x1801d05aa
cmp word [r12], bx
jne 0x1801d01ad
mov r8, rbx
jmp 0x1801d01ba
mov r8, rdi
inc r8
cmp word [r12 + r8*2], bx
jne 0x1801d01b0
mov rdx, r12
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.lx.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_LX_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 0x1801d0239
mov r8, rbx
jmp 0x1801d024a
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d0240
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801d0266
mov rax, qword [rsi]
jmp 0x1801d0269
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1801d0275
mov rdx, qword [r14]
jmp 0x1801d0278
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 0x1801d05aa
mov rax, qword [rsp + 0x48]
cmp word [rax], bx
jne 0x1801d02bd
mov r8, rbx
jmp 0x1801d02ca
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d02c0
mov rdx, rax
mov rcx, r14
call fcn.18005c660
mov r8d, 6
lea rdx, str.lx.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_LX_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 0x1801d0349
mov r8, rbx
jmp 0x1801d035a
lea rax, [rbp - 0x80]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1801d0350
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801d0376
mov rax, qword [rsi]
jmp 0x1801d0379
mov rax, rsi
cmp qword [r14 + 0x18], 8
jb 0x1801d0385
mov rdx, qword [r14]
jmp 0x1801d0388
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 0x1801d05aa
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
cmp word [r15], bx
jne 0x1801d03d8
mov r8, rbx
jmp 0x1801d03ea
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [r15 + r8*2], bx
jne 0x1801d03e0
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.18005c660
nop
mov r8d, 6
lea rdx, str.lx.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 0x1801d0444
mov r8, rbx
jmp 0x1801d045b
lea rax, [rbp + 0x190]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1801d0450
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 0x1801d048b
mov rdx, qword [r14]
jmp 0x1801d048e
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_LX_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 0x1801d0504
mov rdi, rbx
jmp 0x1801d051a
lea rax, [rbp - 0x80]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1801d0510
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.18005ffc0
mov dword [rsp + 0x40], ebx
cmp qword [rsi + 0x18], 8
jb 0x1801d0537
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x1801d0541
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 0x1801d0592
cmp r8, 8
jb 0x1801d05e3
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18005cac0
jmp 0x1801d05e3
cmp r8, 8
jb 0x1801d05aa
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18005cac0
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1801d05e3
cmp dword [rcx + 0xc], 0x4e20
jne 0x1801d05e3
lea rdx, str.__GS__
movzx eax, byte [rcx + rbx]
inc rbx
cmp al, byte [rdx + rbx - 1]
jne 0x1801d05e3
cmp rbx, 7
jne 0x1801d05c3
mov dword [r13 + 0x60], 1
lea eax, [rbx - 6]
jmp 0x1801d05e5
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