Function at 0x140048ed0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rdi, rdx
call fcn.140099150
mov rbx, rax
mov qword [rbp + 0x77], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx ecx, dil
movzx r12d, ax
shl cl, 2
add dil, cl
mov byte [rbp + 0x67], dil
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r13, rax
mov qword [rbp + 0x7f], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 5
mov dword [rsp + 0x28], 0
movzx r8d, r13b
sub cl, bl
mov r9, rax
movzx edx, dil
mov byte [rsp + 0x20], cl
mov ecx, r12d
mov r14, rax
call fcn.1400971e0
movzx ebx, al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rbp - 0x59]
call fcn.14006dc30
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm0
call fcn.140060160
lea rdx, str.attachment
lea rcx, str.breast
mov r8d, 0x40
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x49], xmm1
movups xmmword [rbp - 0x39], xmm0
call fcn.140088ba0
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.1400aa0f0
mov r15, rax
cmp bl, 0x40
jb 0x140049158
xor ecx, ecx
mov edx, 0x1e9
lea r8d, [rcx + 0xb]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rbp - 0x59]
or rbx, 0xffffffffffffffff
movsx r13, r13b
mov rdx, rbx
mov qword [rsp + 0x48], rax
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140049014
movzx eax, byte [rbp + 0x67]
lea ecx, [r15 + r15*4]
mov r8, rbx
add ecx, ecx
sub ecx, eax
sub ecx, dword [rbp - 1]
sub ecx, r14d
sub ecx, dword [rbp + 0x6f]
sub ecx, r12d
add ecx, r13d
add ecx, dword [rbp + 0x77]
sub ecx, edx
add ecx, 5
mov dword [rbp - 0x29], ecx
inc r8
cmp byte [rdi + r8], 0
jne 0x140049046
movsx ecx, byte [rbp + 0x7f]
lea eax, [rsi - 0xc]
movsx rdx, al
lea eax, [r12 + r12*4]
mov r12, qword [rbp - 0x41]
imul ecx, esi
sub edx, ecx
xor ecx, ecx
add edx, eax
sub edx, dword [rsp + 0x40]
sub edx, r15d
add edx, r12d
sub edx, r8d
mov dword [rbp - 0x25], edx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x21], rax
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140049090
mov rcx, qword [rbp + 0x6f]
mov rdi, qword [rbp + 0x77]
imul ebx, r15d
add ecx, 5
mov eax, edi
shl ebx, 6
sub eax, ebx
mov edx, 0x390
sub eax, r13d
sub eax, r12d
sub eax, r14d
add eax, ecx
xor ecx, ecx
lea r8d, [rcx + 3]
mov dword [rbp - 0x11], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov dword [rbp - 0x79], 8
mov dword [rbp - 0x75], 0x20
movups xmm0, xmmword [rsp + 0x50]
movsd xmm1, qword [rbp - 0x79]
lea rax, str.lake
mov dword [rsp + 0x30], 1
lea r9, [rsp + 0x50]
movaps xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rbp - 0x29]
movsd qword [rbp - 0x49], xmm1
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov r8, rdi
movups xmm1, xmmword [rbp - 0x19]
movaps xmmword [rsp + 0x50], xmm0
mov rdx, r14
mov qword [rsp + 0x20], rax
movaps xmmword [rbp - 0x79], xmm1
call fcn.140080280
mov rdx, r14
mov ecx, 2
call fcn.140094360
lea rcx, [rbp - 0x29]
call fcn.140075350
mov rax, rsi
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret