Function at 0x18000ff80
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x18014f1c0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x50], r12d
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x10]
xor ecx, ecx
call qword [sym.imp.shell32.dll_SHGetFolderPathA]
test eax, eax
js 0x180010648
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x180010003
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.18000f5d0
nop
mov r8d, 0xb
lea rdx, [0x180132330]
lea rcx, [rsp + 0x68]
call fcn.1800162e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov ebx, 0xf
mov qword [rax + 0x18], rbx
mov byte [rax], 0
or edi, 1
mov rdx, qword [rbp - 0x80]
cmp rdx, rbx
jbe 0x18001009e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010099
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800106a8
call fcn.1800d21b0
movdqa xmm0, xmmword [0x180138760]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rsi, qword [rbp - 0x68]
lea r14, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r14, qword [rbp - 0x78]
call fcn.1800d03b8
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
or edi, 8
mov dword [rsp + 0x50], edi
test rsi, rsi
je 0x180010170
cmp rsi, 0x7fffffff
ja 0x1800106ae
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.1800d03e0
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x1800106b4
xor r8d, r8d
movsxd rdx, edi
lea rcx, [rsp + 0x30]
call fcn.180015e90
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova r9, qword [rsp + 0x30]
mov dword [rsp + 0x20], edi
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.1800d03e0
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x1800106c0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.1800043d0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x58], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x50], ecx
lea rax, [0x18014ff30]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x18001021d
cmp eax, 1
setne dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1800101f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800101ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800106ca
call fcn.1800d21b0
test dil, dil
jne 0x18001060a
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x18001022a
xor bl, bl
jmp 0x18001060c
xor dil, dil
test ecx, ecx
jne 0x180010680
jmp 0x1800101b1
mov r14, qword [rbp - 0x68]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, r14
cmp rax, 0xa
jb 0x1800106d0
lea r12, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r12, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r15, [r14 + 0xa]
mov rdi, rbx
lea rsi, [rsp + 0x30]
movabs rax, 0x8000000000000000
mov ecx, 0x16
cmp r15, rbx
jbe 0x1800102f2
mov rdi, r15
or rdi, 0xf
cmp rdi, r13
jbe 0x1800102b9
mov rdi, r13
add rax, 0x27
mov rcx, rax
call fcn.1800d21e4
test rax, rax
je 0x1800106d6
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1800102ed
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1800102dc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180010696
jmp 0x18001029a
test rcx, rcx
je 0x1800102eb
call fcn.1800d21e4
mov rsi, rax
jmp 0x1800102ed
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
mov r8, r14
mov rdx, r12
mov rcx, rsi
call fcn.1801110c0
movsd xmm0, qword [0x180132340]
movsd qword [rsi + r14], xmm0
movzx eax, word [0x180132348]
mov word [rsi + r14 + 8], ax
mov byte [rsi + r15], 0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180010380
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001037b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800106d6
call fcn.1800d21b0
mov r14, qword [rbp - 0x68]
mov rax, r13
sub rax, r14
cmp rax, 9
jb 0x1800106dc
lea r12, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r12, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r15, [r14 + 9]
mov rdi, rbx
lea rsi, [rsp + 0x30]
cmp r15, rbx
jbe 0x18001043f
mov rdi, r15
or rdi, 0xf
cmp rdi, r13
jbe 0x180010400
mov rdi, r13
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d21e4
test rax, rax
je 0x1800106e2
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18001043a
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x180010429
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18001069c
jmp 0x1800103e1
test rcx, rcx
je 0x180010438
call fcn.1800d21e4
mov rsi, rax
jmp 0x18001043a
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
mov r8, r14
mov rdx, r12
mov rcx, rsi
call fcn.1801110c0
movsd xmm0, qword [0x180132350]
movsd qword [rsi + r14], xmm0
movzx eax, byte [0x180132358]
mov byte [rsi + r14 + 8], al
mov byte [rsi + r15], 0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1800104cc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800104c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800106e2
call fcn.1800d21b0
mov rsi, qword [rbp - 0x68]
mov rax, r13
sub rax, rsi
cmp rax, 8
jb 0x1800106e8
lea r15, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova r15, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r14, [rsi + 8]
lea rdi, [rsp + 0x30]
cmp r14, 0xf
jbe 0x180010589
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
jbe 0x18001054a
mov rbx, r13
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d21e4
test rax, rax
je 0x1800106ee
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180010584
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180010573
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800106a2
jmp 0x18001052b
test rcx, rcx
je 0x180010582
call fcn.1800d21e4
mov rdi, rax
jmp 0x180010584
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.1801110c0
movabs rax, 0x737470697263735c
mov qword [rdi + rsi], rax
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18001060a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800106ee
call fcn.1800d21b0
mov bl, 1
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180010643
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001063e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001067a
call fcn.1800d21b0
movzx eax, bl
jmp 0x18001064a
xor al, al
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1800d2190
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800dbbc0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [0x180131bf8]
call fcn.180003b10
nop
call fcn.180001c90
int3
call fcn.180001c90
int3
call fcn.180001c90
int3
call fcn.1800dbbc0
nop
call fcn.1800021b0
int3
shr rdi, 0x20
mov ecx, edi
call fcn.180002520
int3
shr rcx, 0x20
call fcn.180002520
nop
call fcn.1800dbbc0
int3
call fcn.180001d30
int3
call fcn.1800dbbc0
int3
call fcn.180001d30
int3
call fcn.1800dbbc0
int3
call fcn.180001d30
int3
call fcn.1800dbbc0
int3