Function at 0x18008a210
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x1800bf580]
xor rax, rsp
mov qword [rbp - 9], rax
mov r15, r9
mov qword [rbp - 0x51], r9
mov r10, r8
mov qword [rbp - 0x71], r8
mov r14, rdx
mov qword [rbp - 0x59], rdx
mov rdx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov qword [rbp - 0x19], rdi
mov eax, 0xf
mov qword [rbp - 0x11], rax
mov byte [rbp - 0x29], dil
mov r13d, dword [rbp + 0x7f]
lea ebx, [r13 + 0x3de]
mov dword [rbp - 0x61], ebx
cmp r13d, ebx
jae 0x18008a554
movss xmm6, dword [0x18009eb84]
movzx esi, byte [rbp - 0x79]
mov qword [rbp - 0x49], rsi
mov rbx, qword [rbp - 0x39]
nop word [rax + rax]
cmp r13d, 0x15e
ja 0x18008a486
je 0x18008a5c0
mov eax, r13d
sub eax, 0x82
je 0x18008a410
sub eax, 0x38
je 0x18008a3c0
sub eax, 0x36
je 0x18008a2e7
cmp eax, 0x38
jne 0x18008a53e
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rbp - 0x31], rax
jmp 0x18008a535
mov r13d, dword [r15]
test r13b, 1
lea eax, [r13 - 1]
cmove r13d, eax
mov r12d, edi
mov eax, dword [r10]
imul eax, dword [rdx]
test eax, eax
jle 0x18008a3ae
mov rsi, qword [rbp - 0x51]
nop dword [rax + rax]
mov r15d, edi
test r13d, r13d
jle 0x18008a36e
mov rdi, qword [rbp - 0x59]
nop dword [rax]
mov eax, dword [rsi]
imul eax, r12d
add eax, r15d
movsxd r14, eax
movzx eax, byte [r14 + rdi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss xmm1, dword [0x1800bddb8]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
mulss xmm0, dword [0x1800bddbc]
movss dword [rbx + r14*4], xmm0
inc r15d
cmp r15d, r13d
jl 0x18008a320
xor edi, edi
mov r14, qword [rbp - 0x59]
mov r10, qword [rbp - 0x71]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rsi]
cmp r15d, eax
jge 0x18008a394
imul eax, r12d
add eax, r15d
movsxd rcx, eax
movzx eax, byte [rcx + r14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
movss dword [rbx + rcx*4], xmm0
inc r12d
mov eax, dword [r10]
imul eax, dword [rdx]
cmp r12d, eax
jl 0x18008a310
mov rsi, qword [rbp - 0x49]
mov r15, qword [rbp - 0x51]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13d, dword [rbp + 0x7f]
jmp 0x18008a535
mov r8, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18008a3cd
mov r8, qword [r14]
movzx eax, word [r14 + 0x80]
mov word [rbp - 0x79], ax
lea r9, [rbp - 0x79]
mov edx, 0xe9
mov rcx, r10
call fcn.180018050
test al, al
je 0x18008a5b6
mov qword [rsp + 0x20], r14
mov r9d, 0x7d
xor r8d, r8d
lea rdx, [rbp - 0x29]
xor ecx, ecx
call fcn.18005bc70
jmp 0x18008a535
mov eax, dword [r15]
imul eax, dword [r10]
imul eax, dword [rdx]
cdqe
shl rax, 2
mov qword [rbp - 0x69], rax
xor r8d, r8d
lea edx, [r8 + 0x59]
lea rcx, [rbp - 0x69]
call fcn.18008a600
mov rbx, rax
test rax, rax
jne 0x18008a535
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, 0xca
nop
mov eax, ecx
sub eax, 0x2f
je 0x18008a5c3
sub eax, 0x9b
je 0x18008a5a2
cmp eax, 0xb
je 0x18008a58f
add ecx, 0x71a
cmp ecx, 0x154e
jbe 0x18008a450
mov rax, qword [rbp - 0x11]
jmp 0x18008a559
mov eax, r13d
sub eax, 0x196
je 0x18008a50f
sub eax, 0x6e
je 0x18008a4ca
sub eax, 0x6e
je 0x18008a4b6
cmp eax, 0x6e
jne 0x18008a53e
mov byte [rsp + 0x30], sil
mov rdi, qword [rsp + 0x30]
mov rax, qword [rbp - 0x11]
jmp 0x18008a559
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x18008a53e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18008a535
mov rax, qword [r10]
mov qword [rbp - 0x69], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x29]
mov rdx, qword [rbp - 0x41]
xor ecx, ecx
call fcn.180008430
mov rsi, rax
mov qword [rbp - 0x49], rax
xor r9d, r9d
lea r8, [rbp - 0x39]
mov edx, 0x99
lea rcx, [rbp - 0x41]
call fcn.180067910
jmp 0x18008a535
mov rax, qword [r10]
mov qword [rbp - 0x69], rax
mov r9d, 0x4e
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x41]
call fcn.18007d880
test al, al
je 0x18008a5b6
mov r10, qword [rbp - 0x71]
mov rdx, qword [rsp + 0x30]
add r13d, 0x6e
mov dword [rbp + 0x7f], r13d
cmp r13d, dword [rbp - 0x61]
jb 0x18008a2a0
mov rax, qword [rbp - 0x11]
mov rdi, qword [rsp + 0x30]
cmp rax, 0x10
jb 0x18008a5ce
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a5c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a5c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.outofmem
call qword [sym.imp.OPENGL32.dll_wglGetProcAddress]
mov rax, qword [rbp - 0x11]
jmp 0x18008a559
lea rax, str.outofmem
mov qword [0x1800bfc20], rax
mov rax, qword [rbp - 0x11]
jmp 0x18008a559
mov byte [rsp + 0x30], 0
mov rbx, qword [rsp + 0x30]
mov rdi, rbx
mov rax, qword [rbp - 0x11]
jmp 0x18008a559
call fcn.180093104
mov rax, rdi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1800938b0
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret