Function at 0x140007210
Capabilities:
Check if file exists
Create directory
Create thread
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x1401b0010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
lea rcx, str.C:_AsyncMacro
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007248
test al, 0x10
jne 0x140007255
lea rcx, str.C:_AsyncMacro
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
lea rcx, str.C:_AsyncMacro_Configs
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000726b
test al, 0x10
jne 0x140007278
lea rcx, str.C:_AsyncMacro_Configs
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
lea rcx, str.C:_AsyncMacro_DefaultColor
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000728e
test al, 0x10
jne 0x14000729b
lea rcx, str.C:_AsyncMacro_DefaultColor
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
lea rcx, str.C:_AsyncMacro_DefaultBinds
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400072b1
test al, 0x10
jne 0x1400072be
lea rcx, str.C:_AsyncMacro_DefaultBinds
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
call fcn.140007610
call fcn.140003510
mov ecx, 8
call fcn.140175398
lea rcx, [0x140005ea0]
mov qword [rax], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140007980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400075ff
cmp dword [rbp - 0x71], 0
jne 0x140007320
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140007340
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
mov ecx, 8
call fcn.140175398
lea rcx, [0x140005c10]
mov qword [rax], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140007980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400075f0
cmp dword [rbp - 0x71], 0
jne 0x1400073a0
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400073c0
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
mov ecx, 8
call fcn.140175398
lea rcx, [0x140001010]
mov qword [rax], rcx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140007980]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400075e1
cmp dword [rbp - 0x71], 0
jne 0x140007420
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140007440
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x17], xmm1
movups xmmword [rbp + 0x27], xmm1
movups xmmword [rbp + 0x37], xmm1
lea r9, [0x140177998]
mov r8d, 1
lea rdx, [rbp + 0x17]
lea rcx, str.1025547642450743356
call qword [sym.imp.discord_rpc.dll_Discord_Initialize]
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401b1070], eax
jle 0x1400074e0
lea rcx, [0x1401b1070]
call fcn.140175288
cmp dword [0x1401b1070], 0xffffffff
jne 0x1400074e0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov r8, rax
movabs rax, 0xd6bf94d5e57a42bd
imul r8
add rdx, r8
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x1401b1078], rdx
lea rcx, [0x1401b1070]
call fcn.140175228
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
lea rax, str.MMMMMM_macros
mov qword [rbp - 0x61], rax
lea rax, str.Gaming
mov qword [rbp - 0x69], rax
mov rax, qword [0x1401b1078]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rbx
lea rax, str.asyncservices
mov qword [rbp - 0x49], rax
lea rax, str.Asynnc_Services
mov qword [rbp - 0x41], rax
mov byte [rbp - 1], 0
lea rcx, [rbp - 0x69]
call qword [sym.imp.discord_rpc.dll_Discord_UpdatePresence]
xorps xmm1, xmm1
movss xmm0, dword [0x1401b02d8]
ucomiss xmm0, xmm1
jp 0x1400075c4
jne 0x1400075c4
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x79]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [rbp - 0x71]
cvtdq2ps xmm1, xmm1
movd xmm2, dword [rbp - 0x6d]
cvtdq2ps xmm2, xmm2
movss dword [0x1401b02d0], xmm1
movss dword [0x1401b02d4], xmm2
subss xmm1, dword [0x1401b02e0]
subss xmm2, dword [0x1401b02e4]
mulss xmm1, dword [0x1401a5130]
mulss xmm2, dword [0x1401a5130]
movss dword [0x1401b02d8], xmm1
movss dword [0x1401b02dc], xmm2
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140175110
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rbp
ret
mov dword [rbp - 0x71], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x71], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x71], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3