Function at 0x18002f580
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 [0x18012c040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor edi, edi
lea r9, [rsp + 0x78]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800dde58]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8d, 6
lea rdx, str.Carbon
lea rcx, [rbp - 0x68]
call fcn.180027b90
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
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18002f610
lea rcx, [rsp + 0x30]
call fcn.180027b90
nop
lea rdx, [0x180101ad0]
lea rcx, [rsp + 0x30]
call fcn.18003ba00
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.180036f10
nop
lea rcx, [rsp + 0x58]
call fcn.1800279c0
nop
lea rcx, [rsp + 0x30]
call fcn.1800279c0
nop
lea rcx, [rbp - 0x68]
call fcn.1800279c0
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180034480
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.180027b90
nop
lea rcx, [rsp + 0x30]
call fcn.18003eaf0
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.1800279c0
test bl, bl
jne 0x18002f703
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.18003d2f0
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.1800345f0
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.18003d9c0
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.1800345f0
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.18003d9c0
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.1800345f0
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.18003d9c0
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
mov ecx, 0x20
call fcn.1800d4dec
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, [0x180101b58]
mov rcx, rbx
call fcn.180013310
nop
mov qword [rsp + 0x38], rbx
lea rdx, str.BackendURL
lea rcx, [rbp - 0x78]
call fcn.1800345f0
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.18003d9c0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x28]
lea rcx, [rbp]
call fcn.180030c00
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.180030ed0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x18002f8ff
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call fcn.18000db70
nop
lea rcx, [rsp + 0x58]
call fcn.180027960
lea rcx, [rbp + 8]
call fcn.18000c6a0
test rax, rax
jne 0x18002f942
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
mov edx, 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.18000c0c0
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.18003d9c0
nop
lea rcx, [rbp - 0x28]
call fcn.1800279c0
nop
lea rcx, [rbp - 0x48]
call fcn.1800279c0
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1800d4da0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret