Function at 0x1801b7680
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 - 0x608]
sub rsp, 0x708
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.180233580
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.180233580
mov qword [rsp + 0x70], 7
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
lea rcx, [rsp + 0x58]
cmp dword [rbp + 0x670], r12d
je 0x1801b773f
lea r8d, [r12 + 0xe]
lea rdx, str.py.markov.eudc
call fcn.18005c660
lea r8d, [r12 + 0x16]
lea rdx, str.__SYS_EDUC_M_MARKOVE__
jmp 0x1801b775e
mov r8d, 0xd
lea rdx, str.py.markov.dat
call fcn.18005c660
mov r8d, 0x14
lea rdx, str.__SYS_PY_M_MARKOVE__
lea rcx, [rsp + 0x38]
call fcn.18005c660
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov r8, rdi
lea rdx, [0x1802abef8]
lea rcx, [rbp + 0x1d0]
call fcn.18005c530
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0x4e25
lea rdi, [0x1802ace18]
mov qword [rsp + 0x20], rdi
lea r8, str.WanNengWBInput
lea rdx, str._s_s_s_d
lea rcx, [rbp - 0x40]
call fcn.18005c530
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.1801db860
test eax, eax
je 0x1801b77f8
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x230], rax
add rax, 0xe
mov qword [rbx + 0x228], rax
mov rdx, qword [rbx + 0x230]
lea r13, str.__GS__
mov esi, 1
test rdx, rdx
je 0x1801b7838
cmp dword [rdx + 0xa], 0x4e20
jne 0x1801b7838
mov rcx, r12
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x1801b7838
cmp rcx, 7
jne 0x1801b7820
mov eax, esi
jmp 0x1801b783b
mov eax, r12d
mov dword [rbx + 0x238], eax
test eax, eax
jne 0x1801b7c28
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov r8, r15
lea rdx, [0x1802abef8]
lea rcx, [rbp + 0x1d0]
call fcn.18005c530
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0x4e25
mov qword [rsp + 0x20], rdi
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rbp - 0x40]
call fcn.18005c530
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.1801db860
test eax, eax
je 0x1801b78d2
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x230], rax
add rax, 0xe
mov qword [rbx + 0x228], rax
mov rdx, qword [rbx + 0x230]
test rdx, rdx
je 0x1801b7908
cmp dword [rdx + 0xa], 0x4e20
jne 0x1801b7908
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x1801b7908
cmp rcx, 7
jne 0x1801b78f0
mov eax, esi
jmp 0x1801b790b
mov eax, r12d
mov dword [rbx + 0x238], eax
test eax, eax
jne 0x1801b7c28
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r9, qword [rsp + 0x58]
mov r8, r14
lea rdx, [0x1802abef8]
lea rcx, [rbp + 0x1d0]
call fcn.18005c530
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0x4e25
mov qword [rsp + 0x20], rdi
lea r8, str.WanNengWBInput
lea rdx, str._sUSER_s_s_d
lea rcx, [rbp - 0x40]
call fcn.18005c530
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.1801db860
test eax, eax
je 0x1801b79a2
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x230], rax
add rax, 0xe
mov qword [rbx + 0x228], rax
mov rdx, qword [rbx + 0x230]
test rdx, rdx
je 0x1801b79d8
cmp dword [rdx + 0xa], 0x4e20
jne 0x1801b79d8
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x1801b79d8
cmp rcx, 7
jne 0x1801b79c0
mov eax, esi
jmp 0x1801b79db
mov eax, r12d
mov dword [rbx + 0x238], eax
test eax, eax
jne 0x1801b7c28
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
or rdi, 0xffffffffffffffff
cmp word [r14], ax
jne 0x1801b7a09
mov r8, r12
jmp 0x1801b7a1b
mov r8, rdi
nop dword [rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x1801b7a10
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.18005c660
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
cmp word [rdx], 0
jne 0x1801b7a44
mov r8, r12
jmp 0x1801b7a5b
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1801b7a50
lea rcx, [rbp - 0x68]
call fcn.18005ffc0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call fcn.180233580
lea rdx, [rbp + 0x3e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
cmp word [rbp + 0x3e0], 0
jne 0x1801b7aab
mov r8, r12
jmp 0x1801b7ac0
lea rax, [rbp + 0x3e0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1801b7ab5
lea rdx, [rbp + 0x3e0]
lea rcx, [rsp + 0x78]
call fcn.18005c660
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
cmp word [rdx], 0
jne 0x1801b7af0
mov rdi, r12
jmp 0x1801b7afa
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x1801b7af0
mov r8, rdi
lea rcx, [rsp + 0x78]
call fcn.18005ffc0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call fcn.180064870
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0x4e25
lea rax, [0x1802ace18]
mov qword [rsp + 0x20], rax
lea r8, str.WanNengWBInput
lea rdx, str._sTEMP_s_s_d
lea rcx, [rbp - 0x40]
call fcn.18005c530
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.1801db860
test eax, eax
je 0x1801b7b93
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x230], rax
add rax, 0xe
mov qword [rbx + 0x228], rax
mov rdx, qword [rbx + 0x230]
test rdx, rdx
je 0x1801b7bc6
cmp dword [rdx + 0xa], 0x4e20
jne 0x1801b7bc6
mov rcx, r12
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x1801b7bc6
cmp rcx, 7
jne 0x1801b7bb0
jmp 0x1801b7bc9
mov esi, r12d
mov dword [rbx + 0x238], esi
mov r8, qword [rbp - 0x70]
cmp r8, 8
jb 0x1801b7beb
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.18005cac0
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x1801b7c17
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.18005cac0
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x1801b7c45
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.18005cac0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x1801b7c76
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.18005cac0
mov eax, esi
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x708
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret