Function at 0x1400122d0
Capabilities:
Create directory
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1402e6100]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov qword [rbp - 0x80], rdx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
movabs rbx, 0x7fffffffffffffff
lea rsi, [0x140315ce8]
cmp byte [0x1402e6d40], r14b
je 0x14001242c
lea r15, [0x140319a90]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14001242c
mov rdx, r15
lea rcx, [rbp - 0x18]
call fcn.14001ba90
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x18]
cmova rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.14001e220
nop
mov rax, rbx
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 9
jb 0x14001285d
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 9
lea rax, str.discord_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140020340
mov dword [rsp + 0x48], 8
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14001bdd0
lea rcx, [rsp + 0x60]
call fcn.14000a800
mov rcx, rsi
cmp qword [0x140315d00], 0xf
cmova rcx, qword [0x140315ce8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [0x1402e6d40], r14b
lea rcx, [rbp - 0x38]
call fcn.14000a800
nop
lea rcx, [rbp - 0x18]
call fcn.14001d5a0
movabs r13, 0xc899a24ad3aaa131
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs r15, 0xeabcec2368f48398
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs r12, 0xc899a24ab4ccc21f
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400124c0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.140008f10
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
or dword [rsp + 0x48], 1
movabs rax, 0xc899a24ab4ccc235
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [0x140315cf8]
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140012560
sub rbx, rcx
cmp rbx, rax
jb 0x140012857
cmp qword [0x140315d00], 0xf
cmova rsi, qword [0x140315ce8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea rcx, [rbp - 0x78]
call fcn.140020340
mov ebx, dword [rsp + 0x48]
or ebx, 2
mov dword [rsp + 0x48], ebx
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x78]
call fcn.14000a8a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 4
mov dword [rsp + 0x48], ebx
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
lea rcx, [rbp - 0x18]
call fcn.14000a800
nop
lea rcx, [rbp - 0x78]
call fcn.14000a800
cmp rsi, 0xffffffffffffffff
je 0x14001281b
nop word [rax + rax]
test byte [rbp + 0x10], 0x10
jne 0x1400127fc
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
lea rax, [rbp + 0x3c]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140012664
lea rdx, [rbp + 0x3c]
lea rcx, [rbp - 0x58]
call fcn.140008f10
nop
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x150], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.14001bc40
cmp eax, 0xffffffff
je 0x1400127f3
lea r10, [rbp - 0x58]
mov r9, qword [rbp - 0x58]
mov r8, qword [rbp - 0x40]
cmp r8, 0xf
cmova r10, r9
movsxd rcx, eax
add r10, 5
add r10, rcx
lea rax, [rbp - 0x58]
cmp r8, 0xf
cmova rax, r9
add rax, rcx
lea rcx, [rbp - 0x58]
cmp r8, 0xf
cmova rcx, r9
mov rdx, rax
sub rdx, rcx
sub r10, rax
mov rbx, qword [rbp - 0x48]
mov rax, rbx
sub rax, rdx
cmp rax, r10
cmovb r10, rax
lea rcx, [rbp - 0x58]
cmp r8, 0xf
cmova rcx, r9
add rcx, rdx
sub rbx, r10
mov r8, rbx
sub r8, rdx
inc r8
lea rdx, [rcx + r10]
call fcn.1400c7a00
mov qword [rbp - 0x48], rbx
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140012790
lea rcx, [rsp + 0x60]
call fcn.140008f10
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400127da
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
add qword [rdi + 8], 0x20
jmp 0x1400127e8
lea r8, [rsp + 0x60]
mov rcx, rdi
call fcn.140023420
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
nop
lea rcx, [rbp - 0x58]
call fcn.14000a800
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140012640
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x38]
call fcn.14000a800
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400998e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140005580
nop
call fcn.140005580
int3