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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov r13, rdx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x60], esi
mov r14, qword [0x140375cd8]
movabs r12, 0x7fffffffffffffff
lea r15d, [rsi + 0x16]
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x14009be2c
lea r15, [0x140376530]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x14009be04
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r15 + rdi], sil
jne 0x14009bc51
cmp rdi, r12
ja 0x14009c360
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14009bc8e
mov qword [rsp + 0x50], rdi
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x40], sil
jmp 0x14009bce0
mov rsi, rdi
or rsi, 0xf
cmp rsi, r12
jbe 0x14009bc9f
mov rsi, r12
jmp 0x14009bcac
cmp rsi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.140005880
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
xor esi, esi
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14009bd31
lea rax, [rcx + 9]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8d, 9
lea rdx, str.discord_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
lea rax, [rsp + 0x40]
jmp 0x14009bd50
mov qword [rsp + 0x20], 9
lea r9, str.discord_
mov edx, 9
lea rcx, [rsp + 0x40]
call fcn.140006260
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov edi, 8
lea rbx, [r14 + 0x18]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140004ff0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14009bdc2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009bdbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009bdbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e124
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14009be08
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009bdfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009bdfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e124
jmp 0x14009be08
lea rbx, [r14 + 0x18]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14009be15
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [reloc.WS2_32.dll_accept], 0
mov r15d, reloc.WLDAP32.dll_Ordinal_22
jmp 0x14009be30
lea rbx, [r14 + 0x18]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], 4
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov dword [rbp - 0x38], 0x6766632e
mov byte [rbp - 0x34], 0
mov qword [r13], rsi
mov qword [r13 + 8], rsi
mov qword [r13 + 0x10], rsi
or edi, 1
mov dword [rsp + 0x60], edi
mov rcx, qword [rbx + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x14009c366
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14009be83
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x140312340]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rbp + 0x170]
lea rcx, [rbp - 0x78]
call fcn.140007110
or edi, 2
mov dword [rsp + 0x60], edi
mov r8d, 4
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140004f10
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 4
mov dword [rsp + 0x60], edi
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x170], rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14009bf5f
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009bf5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009bf5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e124
movdqa xmm0, xmmword [0x1403156d0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14009bfb0
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009bfab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009bfab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e124
movdqa xmm0, xmmword [0x1403156d0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
cmp qword [rbp + 0x170], 0xffffffffffffffff
je 0x14009c2fe
nop
test byte [rbp - 0x10], 0x10
jne 0x14009c16f
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea rax, [rbp + 0x1c]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x14009bff4
cmp rdi, r12
ja 0x14009c35a
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14009c032
mov qword [rsp + 0x50], rdi
mov r8, rdi
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x40], 0
jmp 0x14009c07e
mov rsi, rdi
or rsi, 0xf
cmp rsi, r12
jbe 0x14009c043
mov rsi, r12
jmp 0x14009c04b
cmp rsi, 0x16
cmovb rsi, r15
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.140005880
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov r8, rdi
lea rdx, [rbp + 0x1c]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rbx, [rsp + 0x40]
mov r15, qword [rsp + 0x58]
cmp r15, 0x10
setae r12b
mov rdi, qword [rsp + 0x40]
cmovae rbx, rdi
mov r14, qword [rsp + 0x50]
cmp r14, 4
jb 0x14009c121
lea rsi, [r14 + rbx]
lea r8, [rsi - 3]
sub r8, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14009c121
nop dword [rax]
nop word [rax + rax]
xor ecx, ecx
lea r8, str..cfg
nop dword [rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x14009c0f8
cmp rcx, 4
jne 0x14009c0e0
xor ecx, ecx
jmp 0x14009c0fd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x14009c193
inc rax
lea r8, [rsi - 3]
sub r8, rax
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14009c0d0
mov rax, 0xffffffffffffffff
cmp eax, 0xffffffff
jne 0x14009c198
test r12b, r12b
je 0x14009c163
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14009c15b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c2e9
mov rcx, rdi
call fcn.14007e124
xor esi, esi
movabs r12, 0x7fffffffffffffff
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x14009c2f0
mov r15d, reloc.WLDAP32.dll_Ordinal_22
jmp 0x14009bfd0
sub rax, rbx
jmp 0x14009c128
movsxd r9, eax
test r12b, r12b
je 0x14009c1a7
mov edx, 5
jmp 0x14009c1ca
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x45]
add rdx, r9
add rax, r9
lea rcx, [rsp + 0x40]
mov r9, rax
sub r9, rcx
sub rdx, rax
lea rdi, [rsp + 0x40]
mov rax, r14
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rdi + r9]
sub r14, rdx
mov r8, r14
sub r8, r9
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x50], r14
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
xor esi, esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x14009c220
lea rcx, [rbp - 0x58]
call fcn.1400063f0
nop
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x14009c25c
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
add qword [r13 + 8], 0x20
jmp 0x14009c26c
lea r8, [rbp - 0x58]
mov rcx, r13
call fcn.140017a60
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14009c2a0
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c29a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c2e2
call fcn.14007e124
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14009c165
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c2d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c2e9
call fcn.14007e124
jmp 0x14009c165
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14009c33c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009c337
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e124
mov rax, r13
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140002dc0
nop
call fcn.140002dc0
nop
call fcn.140002dc0
int3