Function at 0x18000f930
Capabilities:
Allocate thread local storage
Get common file path
Get thread local storage value
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov edx, 0x8d
lea rcx, [0x1801eee70]
call fcn.1800d4760
xor edi, edi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], ILRemoveLastID
mov byte [rsp + 0x70], dil
mov dword [rsp + 0x20], 0x126
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.18000b780
test al, al
jne 0x18000fae4
mov word [rbp - 0x50], di
lea rax, [rbp - 0x50]
sub rax, 2
nop dword [rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x18000f9b0
movsd xmm0, qword [0x1801deef8]
movsd qword [rax], xmm0
lea rcx, [rbp - 0x50]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18000f9d0
mov eax, dword [0x1801de098]
mov dword [rcx], eax
movups xmm0, xmmword [0x1801def00]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [0x1801def10]
movups xmmword [rbp - 0x38], xmm1
movabs rax, 0x3200400072
mov qword [rbp - 0x2a], rax
mov r8d, 6
lea rdx, str._devi
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, dword [str.ceChan]
mov dword [rbp - 0x5b], eax
movzx eax, word [0x1801def2c]
mov word [rbp - 0x57], ax
mov eax, 0x67
mov word [rbp - 0x55], ax
lea rcx, [rbp - 0x60]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x18000fa41
movzx eax, word [0x1800dfff0]
mov word [rcx], ax
mov r8d, 3
lea rdx, [0x1801def75]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp - 0x6d], 0
mov r8d, 2
lea rdx, [0x1801df03d]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 1
lea rdx, [0x1801df05e]
lea rcx, [rbp - 0x6b]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp - 0x6a], 0
mov r8d, 4
lea rdx, [0x1801df099]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExW]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x18000fc30
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], ILRemoveLastID
mov byte [rsp + 0x50], 0
movsd xmm0, qword [0x1801eef18]
mulsd xmm0, qword [0x1801e4820]
addsd xmm0, qword [0x1801e47f0]
cvttsd2si rax, xmm0
mov dword [rsp + 0x30], eax
lea rax, [0x1801eee98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov edx, 0x65
lea rcx, [rsp + 0x30]
call fcn.180009390
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xd3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180030230
test al, al
jne 0x18000fba1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp eax, 0xffffffff
je 0x18000fb7f
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsFree]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
jmp 0x18000fbdd
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_DragQueryPoint]
mov edx, 0x7f
xor ecx, ecx
lea r9d, [rdx - 0x7e]
mov r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov dword [rsp + 0x20], pe_nt_image_headers64
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18006bdc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000fc1d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fc18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000fc18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d6a9c
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], ILRemoveLastID
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000fc6f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fc6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000fc6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d6a9c
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1800d7250
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret