Function at 0x180142180
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 - 0x5c8]
sub rsp, 0x6c8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov word [rbp - 0x80], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.1800be330
mov word [rbp + 0x190], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.1800be330
lea r9, str.py.markov.dat
mov r8, rbx
lea rdx, [0x1801eb788]
lea rcx, [rbp + 0x190]
call fcn.1800b5a54
mov dword [rsp + 0x28], 0x4e25
lea rbx, str.9.8.9.0309
mov qword [rsp + 0x20], rbx
lea r9, str.__SYS_PY_M_MARKOVE__
lea r8, str.WanNengWBInput
lea rdx, str._s_s_s_d
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x190]
mov rcx, rdi
call fcn.1801531c0
test eax, eax
je 0x180142277
mov rcx, rdi
call fcn.180067ed0
mov qword [rdi + 0x230], rax
add rax, 0xe
mov qword [rdi + 0x228], rax
mov rdx, qword [rdi + 0x230]
lea r13, str.__GS__
mov esi, 1
test rdx, rdx
je 0x1801422b8
cmp dword [rdx + 0xa], 0x4e20
jne 0x1801422b8
mov rcx, r12
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r13 + rcx - 1]
jne 0x1801422b8
cmp rcx, 7
jne 0x1801422a0
mov eax, esi
jmp 0x1801422bb
mov eax, r12d
mov dword [rdi + 0x238], eax
test eax, eax
je 0x1801422cc
mov eax, esi
jmp 0x180142641
lea r9, str.py.markov.dat
mov r8, r15
lea rdx, [0x1801eb788]
lea rcx, [rbp + 0x190]
call fcn.1800b5a54
mov dword [rsp + 0x28], 0x4e25
mov qword [rsp + 0x20], rbx
lea r9, str.__SYS_PY_M_MARKOVE__
lea r8, str.WanNengWBInput
lea rdx, str._sBACK_s_s_d
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x190]
mov rcx, rdi
call fcn.1801531c0
test eax, eax
je 0x180142345
mov rcx, rdi
call fcn.180067ed0
mov qword [rdi + 0x230], rax
add rax, 0xe
mov qword [rdi + 0x228], rax
mov rdx, qword [rdi + 0x230]
test rdx, rdx
je 0x180142378
cmp dword [rdx + 0xa], 0x4e20
jne 0x180142378
mov rcx, r12
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r13 + rcx - 1]
jne 0x180142378
cmp rcx, 7
jne 0x180142360
mov eax, esi
jmp 0x18014237b
mov eax, r12d
mov dword [rdi + 0x238], eax
test eax, eax
jne 0x1801422c5
lea r9, str.py.markov.dat
mov r8, r14
lea rdx, [0x1801eb788]
lea rcx, [rbp + 0x190]
call fcn.1800b5a54
mov dword [rsp + 0x28], 0x4e25
mov qword [rsp + 0x20], rbx
lea r9, str.__SYS_PY_M_MARKOVE__
lea r8, str.WanNengWBInput
lea rdx, str._sUSER_s_s_d
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x190]
mov rcx, rdi
call fcn.1801531c0
test eax, eax
je 0x180142402
mov rcx, rdi
call fcn.180067ed0
mov qword [rdi + 0x230], rax
add rax, 0xe
mov qword [rdi + 0x228], rax
mov rdx, qword [rdi + 0x230]
test rdx, rdx
je 0x180142438
cmp dword [rdx + 0xa], 0x4e20
jne 0x180142438
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r13 + rcx - 1]
jne 0x180142438
cmp rcx, 7
jne 0x180142420
mov eax, esi
jmp 0x18014243b
mov eax, r12d
mov dword [rdi + 0x238], eax
test eax, eax
jne 0x1801422c5
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
or rbx, 0xffffffffffffffff
cmp word [r14], r12w
jne 0x18014246c
mov r8, r12
jmp 0x18014247a
mov r8, rbx
nop
inc r8
cmp word [r14 + r8*2], r12w
jne 0x180142470
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180005450
nop
mov r8d, 0xd
lea rdx, str.py.markov.dat
lea rcx, [rsp + 0x58]
call fcn.180004d10
mov word [rbp + 0x3a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3a2]
call fcn.1800be330
lea rdx, [rbp + 0x3a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
cmp word [rbp + 0x3a0], 0
jne 0x1801424f0
mov rbx, r12
jmp 0x18014250a
lea rax, [rbp + 0x3a0]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180142500
mov r8, rbx
lea rdx, [rbp + 0x3a0]
lea rcx, [rsp + 0x38]
call fcn.180005450
nop
mov r8d, 0xd
lea rdx, str.py.markov.dat
lea rcx, [rsp + 0x38]
call fcn.180004d10
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call fcn.18000f9b0
mov dword [rsp + 0x28], 0x4e25
lea rax, str.9.8.9.0309
mov qword [rsp + 0x20], rax
lea r9, str.__SYS_PY_M_MARKOVE__
lea r8, str.WanNengWBInput
lea rdx, str._sTEMP_s_s_d
lea rcx, [rbp - 0x80]
call fcn.1800b5a54
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x190]
mov rcx, rdi
call fcn.1801531c0
test eax, eax
je 0x1801425c0
mov rcx, rdi
call fcn.180067ed0
mov qword [rdi + 0x230], rax
add rax, 0xe
mov qword [rdi + 0x228], rax
mov rdx, qword [rdi + 0x230]
test rdx, rdx
je 0x1801425f6
cmp dword [rdx + 0xa], 0x4e20
jne 0x1801425f6
mov rcx, r12
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r13 + rcx - 1]
jne 0x1801425f6
cmp rcx, 7
jne 0x1801425e0
jmp 0x1801425f9
mov esi, r12d
mov dword [rdi + 0x238], esi
mov ebx, r12d
test esi, esi
setne bl
cmp qword [rsp + 0x50], 8
jb 0x180142619
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
cmp qword [rsp + 0x70], 8
jb 0x18014263f
mov rcx, qword [rsp + 0x58]
call fcn.1800b5354
mov eax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x6c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret