Function at 0x180002d8c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
cmp cl, 0x15
je 0x180002db2
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov al, 0x24
jmp 0x180002fff
mov ecx, 0x46
call fcn.180002cd4
cmp al, 0x6e
jg 0x180002e4b
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
movss xmm2, dword [0x18002fd64]
movsd xmm3, qword [0x18002fce0]
movaps xmm1, xmm3
movaps xmm0, xmm2
subss xmm0, xmm2
divsd xmm1, xmm3
movaps xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movaps xmm3, xmm1
divsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp al, 0x7b
jle 0x180002dda
mov ecx, 0x21
cmp al, 0x7c
jle 0x180002e3e
movsd xmm6, qword [0x18002fc78]
call fcn.180002d8c
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm6, xmm1
cvttsd2si ecx, xmm6
movd xmm6, ecx
cvtdq2pd xmm6, xmm6
movaps xmm0, xmm6
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp al, 0x7c
jg 0x180002e12
cmp al, 0x22
jge 0x180002fff
jmp 0x180002ed9
movss xmm0, dword [0x18002fd88]
call fcn.180002d18
movsx ecx, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x18002fda4]
subss xmm0, dword [0x18002fd44]
cvttss2si eax, xmm0
cmp al, 0x37
jne 0x180002e8e
movss xmm0, dword [0x18002fd50]
call fcn.180002d18
mov ecx, eax
call fcn.180002cd4
movss xmm3, dword [0x18002fd3c]
mov ebx, 0x51
mov edi, ebx
cvttss2si ecx, xmm3
call fcn.180002cd4
movsx ecx, al
add bl, bl
lea eax, [rdi + rdi]
movsx edi, bl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
movd xmm1, edi
movaps xmm2, xmm3
divss xmm2, xmm0
cvtdq2ps xmm1, xmm1
subss xmm2, xmm1
cvttss2si eax, xmm2
cmp al, 7
jge 0x180002e9d
call qword [sym.imp.USER32.dll_InSendMessage]
movss xmm2, dword [0x18002fd5c]
movss xmm1, dword [0x18002fd7c]
addss xmm1, xmm2
movaps xmm0, xmm2
cvttss2si ebx, xmm1
call fcn.180002d18
movd xmm1, ebx
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm2
cvttss2si eax, xmm0
cmp al, 4
jl 0x180002eef
movsd xmm6, qword [0x18002fc90]
cmp al, 0xf
jl 0x180002fad
mov cl, 0x3c
call fcn.180002d8c
mov edi, 0x69
mov ebx, eax
lea ecx, [rdi - 0x59]
call fcn.180002cd4
add al, bl
cmp al, 0x70
jle 0x180002fad
movss xmm7, dword [0x18002fd4c]
call qword [sym.imp.ole32.dll_OleUninitialize]
movaps xmm1, xmm6
movaps xmm0, xmm1
addsd xmm0, xmm1
cvttsd2si ecx, xmm0
movaps xmm1, xmm0
cmp cl, 0x55
jg 0x180002f5a
movsx ecx, cl
mov eax, edi
cdq
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm7, xmm0
cvttss2si ecx, xmm7
movsx r8d, cl
idiv r8d
movd xmm7, r8d
cvtdq2ps xmm7, xmm7
mov edi, eax
movaps xmm1, xmm7
mulss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp al, 0x70
jg 0x180002f51
movss xmm2, dword [0x18002fd54]
xor ecx, ecx
movaps xmm1, xmm6
movaps xmm0, xmm1
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movaps xmm1, xmm0
cmp al, 0x55
jg 0x180002fba
movsx rax, al
movd xmm1, eax
sub rax, rcx
cvtdq2ps xmm1, xmm1
mov rcx, rax
movaps xmm0, xmm1
subss xmm0, xmm2
divss xmm1, xmm0
movaps xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp al, 0x60
jg 0x180002fb7
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
movsx eax, al
add rsp, 0x40
pop rdi
ret