Function at 0x18001d7a0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x758], rbx
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
add rcx, 0x88
call fcn.180005c00
nop
mov byte [rdi + 0xa8], 1
xor r12d, r12d
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x20], r12d
lea rcx, [rdi + 0x24]
xor edx, edx
lea r8d, [r12 + 0x60]
call fcn.1800a0440
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180006e50
nop
lea rcx, [rsp + 0x78]
call fcn.180005ea0
test al, al
je 0x18001d96c
lea rcx, [rsp + 0x70]
call fcn.180007ae0
lea rdx, [0x1801259c8]
lea rcx, [rsp + 0x70]
call fcn.180007a80
nop
lea rcx, [0x1801259e8]
call fcn.180005ea0
test al, al
jne 0x18001d8ad
lea rcx, [0x1801259e8]
call fcn.180005c20
lea rdx, [rsp + 0x78]
cmp rdx, rax
je 0x18001d962
lea rcx, [0x1801259e8]
call fcn.180005c20
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x18001d8a4
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
jmp 0x18001d957
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp - 0x40]
call fcn.1800a0440
lea rdx, [rbp - 0x40]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x18001d962
mov word [rbp + 0x1ca], r12w
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x1d0]
call fcn.1800a0440
mov r8d, 0x208
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x18001d947
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x18001dca4
mov word [rbp + rax + 0x1d0], r12w
lea rcx, [rbp + 0x1d0]
call fcn.1800063e0
lea rdx, [rbp + 0x1d0]
jmp 0x18001d954
lea rcx, [rbp - 0x40]
call fcn.1800063e0
lea rdx, [rbp - 0x40]
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.180006148
nop
lea rcx, [rsp + 0x70]
call fcn.180007ab0
lea rcx, [rsp + 0x78]
call fcn.180005ea0
test al, al
jne 0x18001dc5d
mov rcx, rsi
call fcn.180005ea0
test al, al
jne 0x18001dc5d
mov r8, rsi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.18006c440
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180005f0c
nop
lea rcx, [rsp + 0x50]
call fcn.180005bf8
mov dword [rbp - 0x60], 0x43002e
mov dword [rbp - 0x5c], 0x650068
mov dword [rbp - 0x58], 0x6b0063
mov dword [rbp - 0x54], 0x740053
mov dword [rbp - 0x50], 0x740061
mov dword [rbp - 0x4c], 0x64002e
mov dword [rbp - 0x48], 0x740061
mov dword [rbp - 0x44], 0x61
lea rcx, [rbp - 0x60]
call fcn.1800063e0
mov r15, rax
lea rcx, [rsp + 0x78]
call fcn.180005c20
mov rbx, rax
mov r14, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov rcx, rax
sub rcx, r14
cmp r15, rcx
ja 0x18001da5c
lea rsi, [r14 + r15]
mov qword [rbx + 0x10], rsi
cmp rax, 8
jb 0x18001da33
mov rbx, qword [rbx]
lea rcx, [rbx + r14*2]
mov r8, r15
lea rdx, [rbp - 0x60]
call fcn.1800063d8
mov word [rsp + 0x20], r12w
lea rcx, [rbx + rsi*2]
lea rdx, [rsp + 0x20]
call fcn.180005cc8
jmp 0x18001dc24
lea rcx, [rsp + 0x78]
call fcn.180006e44
sub rax, r14
cmp rax, r15
jb 0x18001dcaa
lea r13, [r14 + r15]
lea rcx, [rsp + 0x78]
call fcn.180006e44
mov rsi, rax
lea rcx, [rsp + 0x78]
call fcn.180005c20
mov rcx, r13
or rcx, 7
mov qword [rbp - 0x68], rcx
cmp rcx, rsi
ja 0x18001dacc
mov rdx, qword [rax + 0x18]
mov rcx, rdx
shr rcx, 1
mov rax, rsi
sub rax, rcx
cmp rdx, rax
ja 0x18001dacc
lea rax, [rcx + rdx]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1800062cc
mov rsi, qword [rax]
mov rax, rsi
add rax, 1
mov r8, 0xffffffffffffffff
cmovb rax, r8
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x18001daf6
mov rdx, r8
jmp 0x18001daff
cmp rdx, 0x1000
jb 0x18001db29
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r8
call fcn.18009ce08
mov rcx, rax
test rax, rax
je 0x18001dcb0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18001db3b
test rdx, rdx
je 0x18001db38
mov rcx, rdx
call fcn.18009ce08
jmp 0x18001db3b
mov rax, r12
mov qword [rsp + 0x70], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], rsi
mov r12, qword [rsp + 0x70]
mov r8, r14
mov rcx, r12
cmp qword [rsp + 0x28], 8
jb 0x18001dbcf
mov rsi, qword [rbx]
mov rdx, rsi
call fcn.1800063d8
lea rcx, [r12 + r14*2]
mov r8, r15
lea rdx, [rbp - 0x60]
call fcn.1800063d8
xor eax, eax
mov word [rsp + 0x20], ax
lea rcx, [r12 + r13*2]
lea rdx, [rsp + 0x20]
call fcn.180005cc8
mov rax, qword [rsp + 0x28]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x18001dbbd
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x18001dc9e
mov rsi, rcx
mov rcx, rsi
call fcn.18009c654
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
jmp 0x18001dc24
mov rdx, rbx
call fcn.1800063d8
lea rcx, [r12 + r14*2]
mov r8, r15
lea rdx, [rbp - 0x60]
call fcn.1800063d8
xor eax, eax
mov word [rsp + 0x20], ax
lea rcx, [r12 + r13*2]
lea rdx, [rsp + 0x20]
call fcn.180005cc8
mov rcx, rbx
call fcn.180005c20
mov rdx, rax
mov ecx, 8
call fcn.180005d08
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.180005c20
mov rcx, qword [rax]
mov qword [rbx], rcx
lea rcx, [rsp + 0x78]
call fcn.180005c20
lea rbx, [rdi + 0x88]
cmp rbx, rax
je 0x18001dc5d
lea rcx, [rsp + 0x78]
call fcn.180005c20
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x18001dc51
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rbx
call fcn.180006148
mov rcx, rdi
call fcn.18001dd40
nop
lea rcx, [rsp + 0x78]
call fcn.180005bf8
nop
mov rax, rdi
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.18009c630
mov rbx, qword [rsp + 0x758]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800a308c
nop
call fcn.18009c76c
nop
call fcn.180006e30
int3
call fcn.1800a308c
int3