Function at 0x180124120
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1802953c0]
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]
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x180124182
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.18003bfd0
nop
mov ecx, 0x20
call fcn.1801e6b18
mov rbx, rax
mov qword [rsp + 0x40], rax
movabs rcx, 0x7fffffffffffffff
mov rax, qword [rbp - 0x40]
sub rcx, rax
cmp rcx, 0xb
jb 0x1801244ba
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 0xb
lea rcx, str.._bool.ini
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x70]
call fcn.180035cc0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rax, [rbp - 0x70]
cmp rbx, rax
je 0x180124235
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rbx
call fcn.18003bfd0
nop
lea rcx, [rbp - 0x70]
call fcn.18003be10
nop
mov dword [0x1802bec58], edi
mov dword [0x1802bec68], edi
movabs rax, 0xd80958fc74e988a6
mov qword [0x18033d960], rax
call fcn.1800ce2a0
mov ecx, dword [rax]
mov dword [0x1802bec68], edi
movabs rax, 0x3fef770d40960d5a
mov qword [0x18033d960], rax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x40], ecx
mov rax, qword [rsp + 0x40]
mov qword [0x1802bed30], rax
mov qword [0x1802bed38], rdi
mov dword [0x1802bec58], 2
call fcn.1800ce2a0
movups xmm6, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
xorps xmm3, xmm3
cvtss2sd xmm3, xmm6
movq r9, xmm3
lea r8, str.X:_g_f
mov edx, 0x80
lea rcx, [rbp - 0x30]
call fcn.18003b860
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.18003b860
movsd qword [rsp + 0x60], xmm8
xorps xmm3, xmm3
cvtss2sd xmm3, xmm8
movq r9, xmm3
lea r8, str.sZ:_g_f
mov edx, 0x80
lea rcx, [rbp + 0xd0]
call fcn.18003b860
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 2
lea rdx, [0x18020e8f4]
lea rcx, [rsp + 0x50]
call fcn.18003bfd0
nop
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x70]
call fcn.18003bfd0
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
movaps xmm1, xmm6
mov rcx, rbx
call fcn.180116650
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov r8d, 2
lea rdx, [0x180259eec]
lea rcx, [rsp + 0x70]
call fcn.18003bfd0
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x50]
call fcn.18003bfd0
nop
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
movaps xmm1, xmm7
mov rcx, rbx
call fcn.180116650
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov r8d, 2
lea rdx, [0x180259ef0]
lea rcx, [rsp + 0x70]
call fcn.18003bfd0
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov r8d, 5
lea rdx, str.FLOAT
lea rcx, [rsp + 0x50]
call fcn.18003bfd0
nop
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
movaps xmm1, xmm8
mov rcx, rbx
call fcn.180116650
nop
lea rcx, [rbp - 0x50]
call fcn.18003be10
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1801e6af0
lea r11, [rsp + 0x290]
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
call fcn.18003be80
nop