Function at 0x180124440
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 0x1801244a3
mov r8d, edi
jmp 0x1801244b0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1801244a7
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.18003d620
nop
mov ecx, 0x20
call fcn.1801e61b4
mov rbx, rax
mov qword [rbp - 0x70], rax
lea r8, str.._bool.ini
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.1800a97a0
mov rdx, rax
mov rcx, rbx
call fcn.1800cf800
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, [0x180210400]
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.180117bc0
movss dword [0x180347e6c], 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, [0x180210404]
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.180117bc0
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, [0x180210408]
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.180117bc0
movaps xmm8, xmm0
movss dword [0x180347e74], xmm8
movss xmm7, dword [0x180347e6c]
movss xmm6, dword [0x180347e70]
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
movabs rax, 0xd80958fc74e988a6
mov qword [0x18034fb78], rax
call fcn.1800cf390
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.1800ae5f0
nop
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x18012470f
inc rax
mov rcx, qword [rbp - 0x38]
cmp rax, 0x1000
jb 0x18012470a
test cl, 0x1f
je 0x1801246da
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 0x1801246ea
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 0x1801246fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x180124707
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 - 0x18]
xor rcx, rsp
call fcn.1801e6190
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