Function at 0x180124060
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1802a8008]
xor rax, rsp
mov qword [rbp + 0x150], rax
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp - 0x38], 0xf
xor edi, edi
mov qword [rbp - 0x40], rdi
mov byte [rbp - 0x50], dil
cmp byte [rax], dil
jne 0x1801240c5
mov r8d, edi
jmp 0x1801240d9
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1801240d0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e6074
mov rbx, rax
mov qword [rsp + 0x20], rax
lea r8, str.._bool.ini
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1800a9640
mov rdx, rax
mov rcx, rbx
call fcn.1800cf720
mov rbx, rax
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
movabs rax, 0xd80958fc74e988a6
mov qword [0x18034fb80], rax
call fcn.1800cf2b0
mov ecx, dword [rax]
mov dword [0x1802da500], edi
movabs rax, 0x3fef770d40960d5a
mov qword [0x18034fb80], rax
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x20]
mov qword [0x1802da5c8], rcx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x20], edi
mov rax, qword [rsp + 0x20]
mov qword [0x1802da5d0], rax
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
movups xmm6, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x78], xmm1
xorps xmm3, xmm3
cvtss2sd xmm3, xmm6
movq r9, xmm3
lea r8, str.X:_g_f
mov edx, 0x80
lea rcx, [rbp - 0x30]
call fcn.18003c9c0
movaps xmm7, xmm6
shufps xmm7, xmm6, 0xaa
xorps xmm3, xmm3
cvtss2sd xmm3, xmm7
movq r9, xmm3
lea r8, str.sY:_g_f
mov edx, 0x80
lea rcx, [rbp + 0x50]
call fcn.18003c9c0
movss xmm3, dword [rbp - 0x78]
cvtps2pd xmm3, xmm3
movq r9, xmm3
lea r8, str.sZ:_g_f
mov edx, 0x80
lea rcx, [rbp + 0xd0]
call fcn.18003c9c0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], 0
mov r8d, 2
lea rdx, [0x1802104a8]
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x48], 0
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x48]
movaps xmm1, xmm6
mov rcx, rbx
call fcn.1801179d0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x48], 0
mov r8d, 2
lea rdx, [0x1802104ac]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], 0
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movaps xmm1, xmm7
mov rcx, rbx
call fcn.1801179d0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x48], 0
mov r8d, 2
lea rdx, [0x1802104b0]
lea rcx, [rsp + 0x48]
call fcn.18003d620
nop
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], 0
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x28]
call fcn.18003d620
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movss xmm1, dword [rbp - 0x78]
mov rcx, rbx
call fcn.1801179d0
nop
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x1801243c5
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x1801243c0
test cl, 0x1f
je 0x180124390
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 0x1801243a0
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 0x1801243b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1801243bd
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 + 0x150]
xor rcx, rsp
call fcn.1801e6050
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret