Function at 0x1800255d0
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 [0x18011c040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor edi, edi
lea r9, [rsp + 0x78]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800d0e78]
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.18001f670
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 0x180025655
lea rcx, [rsp + 0x30]
call fcn.18001f670
nop
mov r8d, 1
lea rdx, [0x1800f45b8]
lea rcx, [rsp + 0x30]
call fcn.180031040
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.18002c580
nop
lea rcx, [rsp + 0x58]
call fcn.18001f940
nop
lea rcx, [rsp + 0x30]
call fcn.18001f940
nop
lea rcx, [rbp - 0x68]
call fcn.18001f940
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180029af0
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.18001f670
nop
lea rcx, [rsp + 0x30]
call fcn.1800347b0
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.18001f940
test bl, bl
jne 0x18002574e
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.180032d60
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.180029c70
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.180033440
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.180029c70
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.180033440
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.180029c70
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.180033440
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.1800c8eb0
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, [0x1800f4640]
mov rcx, rbx
call fcn.18001d4b0
nop
mov qword [rsp + 0x38], rbx
lea rdx, str.BackendURL
lea rcx, [rbp - 0x78]
call fcn.180029c70
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.180033440
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x28]
lea rcx, [rbp]
call fcn.180026410
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.180026540
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180025948
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call fcn.18000f5f0
nop
lea rcx, [rsp + 0x58]
call fcn.18001f9d0
lea rcx, [rbp + 8]
call fcn.18000dbc0
test rax, rax
jne 0x18002598a
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.18000d5e0
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.180033440
nop
lea rcx, [rbp - 0x28]
call fcn.18001f940
nop
lea rcx, [rbp - 0x48]
call fcn.18001f940
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1800c8b10
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret