Function at 0x1800d38a0
Capabilities:
Check if file exists
Create directory
Get file attributes
Log keystrokes via polling
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r14d, r14d
mov eax, dword [0x18034ea30]
cmp eax, 0xffffffff
jne 0x1800d3941
mov esi, 0x8000
nop dword [rax + rax]
or edi, 0xffffffff
mov ebx, r14d
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x1800d390d
test ebx, ebx
je 0x1800d390d
cmp ebx, 0x65
cmovne edi, ebx
inc ebx
cmp ebx, 0xff
jl 0x1800d38f6
mov dword [0x18034ea30], edi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x180341784], eax
mov rcx, qword [0x180341880]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov eax, dword [0x18034ea30]
cmp eax, 0xffffffff
je 0x1800d38f0
mov dword [0x180347e90], eax
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x27], 0xf
mov qword [rbp + 0x1f], r14
mov byte [rbp + 0xf], r14b
cmp byte [rax], r14b
jne 0x1800d396e
mov r8, r14
jmp 0x1800d397b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x1800d3972
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.18003d620
nop
lea r8, str.._bool_
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.1800a97a0
nop
lea r8, str.._bool.ini
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.1800a97a0
nop
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800d39cf
test al, 0x10
jne 0x1800d39e5
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x20
call fcn.1801e61b4
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x61], 0xf
mov qword [rbp - 0x69], r14
mov byte [rbp - 0x79], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x2f]
lea rcx, [rbp - 0x79]
call fcn.18003d1d0
lea rdx, [rbp - 0x79]
mov rcx, rbx
call fcn.1800cf800
mov rbx, rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r14
mov byte [rbp - 0x59], 0
mov r8d, 0xe
lea rdx, str.GodeModeHotKey
lea rcx, [rbp - 0x59]
call fcn.18003d620
nop
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], r14
mov byte [rbp - 0x39], 0
mov r8d, 7
lea rdx, str.Hotkeys
lea rcx, [rbp - 0x39]
call fcn.18003d620
nop
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x39]
mov edx, dword [0x18034ea30]
mov rcx, rbx
call fcn.1800cf9a0
lea rcx, str.g_God_Mode_Key_Changed_and_saved_successfully
call fcn.1800b2f70
test rbx, rbx
je 0x1800d3abe
mov rcx, rbx
call fcn.18003d070
mov edx, 0x20
mov rcx, rbx
call fcn.1801e6550
nop
mov rax, qword [rbp + 0x47]
cmp rax, 0x10
jb 0x1800d3b18
inc rax
mov rcx, qword [rbp + 0x2f]
cmp rax, 0x1000
jb 0x1800d3b13
test cl, 0x1f
je 0x1800d3ae3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800d3af3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800d3b03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1800d3b10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 0x47], 0xf
mov qword [rbp + 0x3f], r14
mov byte [rbp + 0x2f], 0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x1800d3b82
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x1800d3b7d
test cl, 0x1f
je 0x1800d3b4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800d3b5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800d3b6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1800d3b7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov qword [rbp + 7], 0xf
mov qword [rbp - 1], r14
mov byte [rbp - 0x11], 0
mov rax, qword [rbp + 0x27]
cmp rax, 0x10
jb 0x1800d3bec
inc rax
mov rcx, qword [rbp + 0xf]
cmp rax, 0x1000
jb 0x1800d3be7
test cl, 0x1f
je 0x1800d3bb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800d3bc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800d3bd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1800d3be4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6174
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1801e6190
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret