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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x18011b040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor edi, edi
lea r9, [rsp + 0x78]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800cee38]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea r8d, [rdi + 6]
lea rdx, str.Carbon
lea rcx, [rbp - 0x68]
call fcn.18001f790
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rdx, qword [rsp + 0x78]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180025af5
lea rcx, [rsp + 0x30]
call fcn.18001f790
nop
mov r8d, 1
lea rdx, [0x1800f2578]
lea rcx, [rsp + 0x30]
call fcn.180031530
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.18002ca70
nop
lea rcx, [rsp + 0x58]
call fcn.18001fa60
nop
lea rcx, [rsp + 0x30]
call fcn.18001fa60
nop
lea rcx, [rbp - 0x68]
call fcn.18001fa60
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180029fe0
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8, qword [rbp - 0x38]
lea rcx, [rsp + 0x30]
call fcn.18001f790
nop
lea rcx, [rsp + 0x30]
call fcn.180034ca0
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.18001fa60
test bl, bl
jne 0x180025bee
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov byte [rbp - 0x78], 0
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.180033250
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 4
mov byte [rbp - 0x68], 1
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.bIsHookingEnabled
lea rcx, [rbp - 0x78]
call fcn.18002a160
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180033930
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
xor eax, eax
mov byte [rsp + 0x30], 4
mov byte [rbp - 0x68], al
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.bEnableGUI
lea rcx, [rbp - 0x78]
call fcn.18002a160
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180033930
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 5
mov qword [rsp + 0x38], 0x15db
lea rdx, str.ListenToPort
lea rcx, [rbp - 0x78]
call fcn.18002a160
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180033930
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
lea ecx, [rax + 0x20]
call fcn.1800c6c90
mov rbx, rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rbx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8d, 9
lea rdx, [0x1800f2600]
mov rcx, rbx
call fcn.18001d5d0
nop
mov qword [rsp + 0x38], rbx
lea rdx, str.BackendURL
lea rcx, [rbp - 0x78]
call fcn.18002a160
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180033930
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x28]
lea rcx, [rbp]
call fcn.180026900
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.180026a30
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180025de8
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call fcn.18000f720
nop
lea rcx, [rsp + 0x58]
call fcn.18001faf0
lea rcx, [rbp + 8]
call fcn.18000dcd0
test rax, rax
jne 0x180025e2a
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.18000d6f0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp - 0x78]
lea rcx, [rbp - 0x70]
call fcn.180033930
nop
lea rcx, [rbp - 0x28]
call fcn.18001fa60
nop
lea rcx, [rbp - 0x48]
call fcn.18001fa60
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1800c68f0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret