Function at 0x1800229b0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x180136280]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rsi, rcx
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov qword [rcx + 0x80], rax
mov byte [rcx + 0xc], 1
mov dword [rcx + 0x18], 3
mov dword [rcx + 0x1c], 1
mov dword [rcx + 0x44], 0x7f7fffff
mov dword [rcx + 0x50], 0x3f800000
mov word [rcx + 0x54], 0xffff
mov qword [rcx + 0x88], r12
mov qword [rcx + 0x90], r12
mov qword [rcx + 0x98], r12
mov qword [rcx + 0xa0], r12
mov qword [rcx + 0xa8], r12
mov rax, qword [0x18014fe60]
mov rcx, qword [rax + 0x28]
mov qword [rsi + 0xb0], rcx
mov qword [rsi + 0xb8], r12
mov qword [rsi + 0xc0], r12
mov rax, qword [rcx]
lea r8, [rsi + 0xb8]
lea rdx, [0x1800b5910]
call qword [rax + 0x38]
test eax, eax
jns 0x180022ad3
lea rdx, str.Failed_to_get_D3D_Device
mov rcx, qword [0x18014fe40]
call fcn.18008a8e0
mov rcx, qword [rsi + 0xb8]
mov rax, qword [rcx]
lea rdx, [rsi + 0xc0]
call qword [rax + 0x140]
mov rdi, qword [0x180157948]
test rdi, rdi
je 0x180022afc
inc dword [rdi + 0xf4]
mov ecx, 0x5e08
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x160], rax
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x1b0], rcx
mov qword [rbp + 0x60], rax
test rax, rax
je 0x180022b2f
xor edx, edx
mov rcx, rax
call fcn.180042800
jmp 0x180022b32
mov rax, r12
mov qword [0x180157948], rax
call fcn.180046310
test rdi, rdi
je 0x180022b4c
mov qword [0x180157948], rdi
jmp 0x180022b53
mov rdi, qword [0x180157948]
mov r15, qword [rsi + 0xc0]
mov r14, qword [rsi + 0xb8]
test rdi, rdi
je 0x180022b6c
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0x160], rax
test rax, rax
je 0x180022bba
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x180022bbd
mov rbx, r12
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x60], r12
mov rax, qword [r14]
lea r8, [rbp + 0x68]
lea rdx, [0x1801210b8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x180022c3a
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
lea r8, [rbp + 0x70]
lea rdx, [0x1801210a8]
call qword [rax + 0x30]
test eax, eax
jne 0x180022c3a
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
lea r8, [rbp + 0x60]
lea rdx, [0x180121098]
call qword [rax + 0x30]
test eax, eax
jne 0x180022c3a
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0x60]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x180022c49
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x180022c58
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [0x18014fe60]
mov r14, qword [rax + 0x20]
mov rbx, qword [0x180157948]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180022dca
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180022dca
mov rax, qword [0x180157948]
test rax, rax
je 0x180022cb9
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rbp + 0x50], rax
test rax, rax
je 0x180022cea
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x180022ced
mov rdi, r12
mov qword [rbx + 0x98], rdi
lea rax, [0x1801210c8]
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rdi], r14
mov rax, qword [rbp + 0x1b0]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x160]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x180157948]
mov rax, qword [rax + 0x48a0]
mov rcx, qword [rax]
mov qword [rcx + 0x28], r14
mov byte [rdi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x60], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x78], rax
mov rbx, r12
nop
mov rcx, qword [rsp + rbx*8 + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x180022d9e
inc rbx
cmp rbx, 5
jl 0x180022d80
jmp 0x180022dca
mov qword [rdi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r15, [0x1800b25c8]
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0xf
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [r14 + rbx], 0
jne 0x180022e83
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.180031010
nop
lea rcx, [rsp + 0x58]
call fcn.180032d20
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
test bl, bl
jne 0x180022fec
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0xf
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rbx, rdi
inc rbx
cmp byte [r14 + rbx], 0
jne 0x180022f80
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rbp + 0x1b0]
call fcn.180031010
nop
lea rcx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova rcx, qword [rbp + 0x1b0]
call fcn.18008ec64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180023f7b
lea rcx, [rbp + 0x1b0]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r15, str.DocumentsFont
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0x14
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rbx, rdi
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1800230a0
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.180031010
nop
lea rcx, [rsp + 0x58]
call fcn.180032d20
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
test bl, bl
jne 0x18002320c
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0x14
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rbx, rdi
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1800231a0
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rbp + 0x1b0]
call fcn.180031010
nop
lea rcx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova rcx, qword [rbp + 0x1b0]
call fcn.18008ec64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180023f8c
lea rcx, [rbp + 0x1b0]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r15, str.DocumentsTextures
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0x18
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rbx, rdi
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1800232c0
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.180031010
nop
lea rcx, [rsp + 0x58]
call fcn.180032d20
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
test bl, bl
jne 0x18002342c
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0x18
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rbx, rdi
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1800233c0
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rbp + 0x1b0]
call fcn.180031010
nop
lea rcx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova rcx, qword [rbp + 0x1b0]
call fcn.18008ec64
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180023f6a
lea rcx, [rbp + 0x1b0]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r15, str.DocumentsFont_novoria.ttf
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0x20
mov qword [rbp + 0x190], rax
movabs rax, 0xb000000000000000
mov qword [rbp + 0x180], rax
lea rax, [0x1800b25b0]
mov qword [rbp + 0x198], rax
movabs rax, 0xb000000000000008
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp + 0x180]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x38]
call fcn.180024280
nop
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r14, qword [rsp + 0x38]
mov rbx, rdi
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1800234e0
call fcn.18008eb28
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.180031010
nop
lea rcx, [rsp + 0x58]
call fcn.180032d20
movzx ebx, al
lea rcx, [rsp + 0x58]
call fcn.180032850
nop
lea rcx, [rsp + 0x38]
call fcn.180032ad0
test bl, bl
jne 0x18002378e
lea rax, [rsp + 0x38]
mov qword [rbp + 0x50], rax
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], 0x20
mov qword [rbp - 0x70], rax
movabs rbx, 0xb000000000000000
mov qword [rbp - 0x80], rbx
lea r14, [0x1800b25b0]
mov qword [rbp - 0x68], r14
movabs rax, 0xb000000000000008
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x160], 2
lea rax, [rbp - 0x80]
mov qword [rbp + 0x168], rax
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
movaps xmm1, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x1b0], xmm1
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x58]
call fcn.180024280
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180023600
lea rcx, [rsp + 0x38]
call fcn.180032340
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], r12
mov r8d, 0x5a
lea rdx, str.https:__cdn.discordapp.com_attachments_1161376936585596971_1176895994504433694_novoria.ttf
lea rcx, [rbp + 0x180]
call fcn.180032340
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x180]
call fcn.180038100
nop
lea rcx, [rsp + 0x58]
call fcn.180032ad0
lea rax, [rbp + 0x180]
mov qword [rbp + 0x50], rax
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, str.DocumentsTexturesToggle.png
mov qword [rbp + 0x1b0], rcx
mov qword [rbp + 0x1b8], 0x23
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x70], r14
movabs rax, 0xb000000000000008
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x160], 2
lea rax, [rsp + 0x58]
mov qword [rbp + 0x168], rax
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
movaps xmm1, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x1b0], xmm1
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x80]
call fcn.180024280
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], r12
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180023730
lea rcx, [rbp + 0x180]
call fcn.180032340
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8d, 0x59
lea rdx, str.https:__cdn.discordapp.com_attachments_1036758529794646066_1188241003828756591_Toggle.png
lea rcx, [rsp + 0x38]
call fcn.180032340
nop
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x38]
call fcn.180038100
nop
lea rcx, [rbp - 0x80]
call fcn.180032ad0
jmp 0x180023798
movabs rbx, 0xb000000000000000
xor ecx, ecx
call fcn.1800637e0
mov r14, qword [0x180157948]
mov qword [r14 + 0x3800], 0x41200000
mov dword [r14 + 0x3824], 0x41200000
mov qword [r14 + 0x3834], 0x41200000
mov dword [r14 + 0x3820], r12d
mov dword [r14 + 0x3828], r12d
mov dword [r14 + 0x387c], r12d
mov qword [r14 + 0x20], r12
mov byte [rsi + 0xc], 0
mov r12, qword [r14 + 0x58]
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x168], 0x20
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rbx
lea rax, [0x1800b25b0]
mov qword [rsp + 0x70], rax
movabs rax, 0xb000000000000008
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x50], 2
lea rax, [rsp + 0x58]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x60]
call fcn.180024280
nop
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
mov qword [rbp + 0x60], 0
lea r8, [rbp + 0x60]
mov rcx, rbx
call fcn.1800440f0
mov r15, rax
test rax, rax
je 0x180023a1e
movups xmm2, xmmword [rsi]
movaps xmmword [rbp + 0x1d0], xmm2
movups xmm3, xmmword [rsi + 0x10]
movaps xmmword [rbp + 0x1e0], xmm3
movups xmm4, xmmword [rsi + 0x20]
movaps xmmword [rbp + 0x1f0], xmm4
movups xmm5, xmmword [rsi + 0x30]
movaps xmmword [rbp + 0x200], xmm5
movups xmm6, xmmword [rsi + 0x40]
movaps xmmword [rbp + 0x210], xmm6
movups xmm1, xmmword [rsi + 0x50]
movaps xmmword [rbp + 0x220], xmm1
movups xmm7, xmmword [rsi + 0x60]
movaps xmmword [rbp + 0x230], xmm7
movups xmm8, xmmword [rsi + 0x70]
movaps xmmword [rbp + 0x240], xmm8
movsd xmm9, qword [rsi + 0x80]
movsd qword [rbp + 0x250], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x1800239b3
nop dword [rax + rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x180023920
add rdi, rbx
cmp rdi, rbx
jbe 0x180023948
lea rcx, [rdi - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x180023948
cmp al, 0x5c
je 0x180023948
mov rdi, rcx
cmp rcx, rbx
ja 0x180023931
movsd xmm0, qword [0x1801240b8]
movsd qword [rsp + 0x20], xmm0
mov r9, rdi
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x226]
call fcn.180043d70
movsd xmm9, qword [rbp + 0x250]
movaps xmm8, xmmword [rbp + 0x240]
movaps xmm7, xmmword [rbp + 0x230]
movaps xmm1, xmmword [rbp + 0x220]
movaps xmm6, xmmword [rbp + 0x210]
movaps xmm5, xmmword [rbp + 0x200]
movaps xmm4, xmmword [rbp + 0x1f0]
movaps xmm3, xmmword [rbp + 0x1e0]
movaps xmm2, xmmword [rbp + 0x1d0]
movaps xmmword [rbp + 0x80], xmm2
movaps xmmword [rbp + 0x90], xmm3
movaps xmmword [rbp + 0xa0], xmm4
movaps xmmword [rbp + 0xb0], xmm5
movaps xmmword [rbp + 0xc0], xmm6
movaps xmmword [rbp + 0xd0], xmm1
movaps xmmword [rbp + 0xe0], xmm7
movaps xmmword [rbp + 0xf0], xmm8
movsd qword [rbp + 0x100], xmm9
mov qword [rbp + 0x80], r15
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x94], 0x41b00000
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.180068030
mov qword [rsi + 0x88], rax
lea rcx, [rbp - 0x60]
call fcn.180032ad0
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm6
movups xmmword [rbp - 0x20], xmm6
movups xmmword [rbp], xmm6
movups xmmword [rbp + 0x10], xmm6
mov qword [rbp + 0x40], rax
mov byte [rbp - 0x34], 1
mov dword [rbp + 4], 0x7f7fffff
mov dword [rbp + 0x10], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x14], ax
mov byte [rbp + 8], 1
mov byte [rbp - 0x20], 1
mov dword [rbp - 0x28], 3
mov dword [rbp - 0x24], 3
mov r12, qword [r14 + 0x58]
mov rax, qword [0x180157948]
test rax, rax
je 0x180023a92
inc dword [rax + 0xf4]
mov ecx, 0x6106c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
lea rax, [0x1800b5970]
mov qword [0x180157df8], rax
lea rdi, [r15 + 0x6106c]
mov qword [0x180157de8], rdi
mov qword [0x180157df0], r15
mov qword [0x180157e00], r15
lea rbx, [0x1800b5980]
mov rcx, rbx
call fcn.18006bca0
cmp rax, rbx
je 0x180023af9
nop
cmp qword [0x180157e00], rdi
ja 0x180023af9
mov rbx, rax
mov rcx, rax
call fcn.18006bca0
cmp rax, rbx
jne 0x180023ae0
movaps xmm7, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x80], xmm7
movaps xmm9, xmmword [rbp - 0x30]
movaps xmm10, xmmword [rbp - 0x20]
movaps xmm11, xmmword [rbp]
movaps xmm12, xmmword [rbp + 0x10]
movsd xmm8, qword [rbp + 0x40]
mov byte [rbp + 0x8c], 1
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1e0], xmm9
movaps xmmword [rbp + 0x1f0], xmm10
movaps xmmword [rbp + 0x200], xmm6
movaps xmmword [rbp + 0x210], xmm11
movaps xmmword [rbp + 0x220], xmm12
movaps xmmword [rbp + 0x230], xmm6
movaps xmmword [rbp + 0x240], xmm6
movsd qword [rbp + 0x250], xmm8
mov qword [rbp + 0x1d0], r15
mov dword [rbp + 0x1d8], 0x6106c
mov dword [rbp + 0x1e4], 0x41a00000
lea rax, [0x1800b57d8]
mov qword [rbp + 0x208], rax
lea rdx, [rbp + 0x1d0]
mov rcx, r12
call fcn.180068030
mov r15, qword [r14 + 0x58]
mov rax, qword [0x180157948]
test rax, rax
je 0x180023bbf
inc dword [rax + 0xf4]
mov ecx, 0x2d70c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rax, [0x1800eecc0]
mov qword [0x180157df8], rax
lea rdi, [r14 + 0x2d70c]
mov qword [0x180157de8], rdi
mov qword [0x180157df0], r14
mov qword [0x180157e00], r14
lea rbx, [0x1800eecd0]
mov rcx, rbx
call fcn.18006bca0
cmp rax, rbx
je 0x180023c29
nop dword [rax + rax]
cmp qword [0x180157e00], rdi
ja 0x180023c29
mov rbx, rax
mov rcx, rax
call fcn.18006bca0
cmp rax, rbx
jne 0x180023c10
movaps xmmword [rbp + 0x80], xmm7
mov byte [rbp + 0x8c], 1
movaps xmm0, xmmword [rbp + 0x80]
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1e0], xmm9
movaps xmmword [rbp + 0x1f0], xmm10
movaps xmmword [rbp + 0x200], xmm6
movaps xmmword [rbp + 0x210], xmm11
movaps xmmword [rbp + 0x220], xmm12
movaps xmmword [rbp + 0x230], xmm6
movaps xmmword [rbp + 0x240], xmm6
movsd qword [rbp + 0x250], xmm8
mov qword [rbp + 0x1d0], r14
mov dword [rbp + 0x1d8], 0x2d70c
mov dword [rbp + 0x1e4], 0x41a00000
lea rax, [0x1800b57d8]
mov qword [rbp + 0x208], rax
lea rdx, [rbp + 0x1d0]
mov rcx, r15
call fcn.180068030
mov r14, qword [rsi + 0xb8]
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, str.DocumentsTexturesToggle.png
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], 0x23
mov qword [rsp + 0x68], rax
movabs rax, 0xb000000000000000
mov qword [rsp + 0x58], rax
lea rax, [0x1800b25b0]
mov qword [rsp + 0x70], rax
movabs rax, 0xb000000000000008
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x50], 2
lea rax, [rsp + 0x58]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm1
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x80]
call fcn.180024280
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
xor r15d, r15d
mov dword [rbp + 0x70], r15d
mov dword [rbp + 0x68], r15d
lea r8, [0x1800b1e84]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x180023d92
mov ebx, r15d
mov qword [rbp + 0x1b0], rbx
jmp 0x180023d99
mov rbx, qword [rbp + 0x1b0]
test rbx, rbx
jne 0x180023dc6
mov ecx, dword [0x1801578f8]
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax + rcx*8]
lea rax, str.cant_fopen
mov qword [rdx + rcx], rax
jmp 0x180023f0b
mov r8, rbx
lea rcx, [rbp + 0x80]
call fcn.180011bc0
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.180012490
mov rdi, rax
mov rcx, rbx
test rax, rax
je 0x180023f04
mov edx, dword [rbp + 0x140]
sub edx, dword [rbp + 0x148]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbp + 0x194], 1
mov qword [rbp + 0x1a4], r15
mov ecx, dword [rbp + 0x70]
mov dword [rbp + 0x180], ecx
mov eax, dword [rbp + 0x68]
mov dword [rbp + 0x184], eax
mov dword [rbp + 0x188], 1
mov dword [rbp + 0x18c], 1
mov dword [rbp + 0x190], 0x1c
mov dword [rbp + 0x19c], r15d
mov dword [rbp + 0x1a0], 8
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x50], rdi
lea eax, [rcx*4]
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], r15d
mov rax, qword [r14]
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x180]
mov rcx, r14
call qword [rax + 0x28]
mov qword [rbp + 0x170], r15
mov dword [rbp + 0x160], 0x1c
mov qword [rbp + 0x164], 4
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x16c], eax
mov rax, qword [r14]
lea r9, [rsi + 0xa0]
lea r8, [rbp + 0x160]
mov rdx, qword [rbp + 0x60]
mov rcx, r14
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, dword [rbp + 0x70]
mov dword [rsi + 0xa8], eax
mov eax, dword [rbp + 0x68]
mov dword [rsi + 0xac], eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180023f0b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
lea rcx, [rbp - 0x80]
call fcn.180032ad0
mov rax, rsi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.18008f1c0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp + 0x1b0]
call fcn.180031160
nop
shr rdx, 0x20
lea r8, [rbp + 0x1b0]
call fcn.180031160
nop
shr rdx, 0x20
lea r8, [rbp + 0x1b0]
call fcn.180031160
int3