Function at 0x180124400
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp - 0x18], rax
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp - 0x20], 0xf
xor edi, edi
mov qword [rbp - 0x28], rdi
mov byte [rbp - 0x38], dil
cmp byte [rax], dil
jne 0x180124463
mov r8d, edi
jmp 0x180124470
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x180124467
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e6074
mov rbx, rax
mov qword [rbp - 0x70], rax
lea r8, str.._bool.ini
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.1800a9640
mov rdx, rax
mov rcx, rbx
call fcn.1800cf720
mov rbx, rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x1802104a8]
lea rcx, [rsp + 0x50]
call fcn.18003d620
nop
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], rdi
mov byte [rsp + 0x70], 0
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x70]
call fcn.18003d620
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180117ae0
movss dword [0x180347e7c], xmm0
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], rdi
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x1802104ac]
lea rcx, [rsp + 0x70]
call fcn.18003d620
nop
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], 0
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x50]
call fcn.18003d620
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180117ae0
movss dword [0x180347e70], xmm0
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x78], 0xf
mov qword [rbp - 0x80], rdi
mov byte [rsp + 0x70], 0
mov r8d, 2
lea rdx, [0x1802104b0]
lea rcx, [rsp + 0x70]
call fcn.18003d620
nop
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], 0
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x50]
call fcn.18003d620
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180117ae0
movaps xmm8, xmm0
movss dword [0x180347e74], xmm8
movss xmm7, dword [0x180347e7c]
movss xmm6, dword [0x180347e70]
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
movabs rax, 0xd80958fc74e988a6
mov qword [0x18034fb80], rax
call fcn.1800cf2b0
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm8
movaps xmm3, xmm6
movaps xmm2, xmm7
mov edx, dword [rax]
call fcn.1800ae510
nop
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x1801246cf
inc rax
mov rcx, qword [rbp - 0x38]
cmp rax, 0x1000
jb 0x1801246ca
test cl, 0x1f
je 0x18012469a
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 0x1801246aa
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 0x1801246ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1801246c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1801e6034
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1801e6050
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret