Function at 0x14002a590
Capabilities:
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x210], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r13, rax
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r8b, 8
mov rcx, r13
mov r15, rax
mov qword [rbp - 0x70], rax
call fcn.1400d29c0
or r14, 0xffffffffffffffff
mov rdi, rax
lea eax, [r15 + r15*4]
mov rcx, r14
mov dword [rbp - 0x68], eax
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14002a600
imul eax, r13d
mov edx, 0x32b
lea esi, [rax + 8]
add esi, ecx
xor ecx, ecx
lea r8d, [rcx + 0xc]
mov dword [rsp + 0x68], esi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r9, [0x1400ed4d4]
lea rdx, str.c0ret
mov r8, rax
mov ecx, esi
mov r12, rax
mov qword [rbp - 0x58], rax
call fcn.14007d650
mov rbx, rax
mov qword [rbp - 0x78], rax
cmp sil, 8
jbe 0x14002a799
lea rcx, [rbp + 0xd0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x13
mov qword [rbp + 0x50], rax
lea rax, str.cymbals
lea r8d, [rdx - 0x11]
mov qword [rbp + 0x58], rax
lea rax, str.c1a1
xor ecx, ecx
mov qword [rbp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r9, str.frazzle
movups xmm0, xmmword [rbp + 0x50]
mov qword [rbp + 0x68], rax
lea rax, [0x1400ed4d4]
lea r8, [rbp]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rbp + 0x60]
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0xa0]
mov rdx, rbx
movaps xmmword [rbp + 0x10], xmm1
movsd xmm0, qword [rbp + 0x70]
movsd qword [rbp + 0x20], xmm0
call fcn.1400a40f0
lea rcx, [rbp + 0x50]
mov rdx, rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x30], xmm0
call fcn.14009d8d0
mov rcx, qword [rbp + 0x30]
movzx eax, sil
imul r15b
movzx ebx, al
mov al, 7
mov r9d, 8
lea rdx, str.c0ret
mov r8d, r9d
imul cl
add bl, al
movzx eax, r12b
xor ecx, ecx
shl al, 2
add al, 5
add bl, al
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
lea r9, str.c1a3
lea r8, str.planter
mov rdx, r12
movzx ecx, bl
mov dword [rsp + 0x20], eax
call fcn.140068b90
lea rcx, [rbp + 0xd0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rbp + 0xd0]
lea rcx, str.planter
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea r9, str.c0ret
lea rdx, [0x1400ed4d4]
mov rcx, r15
call fcn.1400b4700
mov rbx, qword [rbp - 0x78]
mov r15, r14
nop dword [rax]
inc r15
cmp byte [rdi + r15], 0
jne 0x14002a7a0
lea eax, [rsi + rsi*4]
imul r15d, r13d
mov qword [rbp + 0xa8], 0
lea ecx, [rax + rbx*2]
mov rax, qword [rbp - 0x70]
add r15d, r12d
sub ecx, r13d
lea edx, [rax*8]
mov rax, r14
add ecx, 0xd
mov dword [rbp + 0xa0], ecx
nop dword [rax]
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x14002a7e0
lea eax, [rax + rax*4]
mov esi, r13d
mov rcx, r14
sub esi, eax
sub esi, edx
add esi, 5
mov dword [rbp + 0xb0], esi
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14002a801
add ecx, 5
mov eax, ebx
sub eax, edx
sub eax, r12d
add eax, r13d
add eax, ecx
mov ecx, 8
mov dword [rbp + 0xb4], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, str.c1ret
mov qword [rbp + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [rbp + 0xd0]
mov edx, 0x104
mov r12d, eax
mov dword [rsp + 0x6c], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movups xmm0, xmmword [rbp + 0xa0]
movups xmm1, xmmword [rbp + 0xb0]
movzx r8d, r12b
mov ecx, r15d
mov qword [rbp - 0x80], rax
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
call fcn.140062b60
mov r12, r14
mov qword [rbp - 0x40], rax
inc r12
cmp byte [rdi + r12], 0
jne 0x14002a890
mov eax, ebx
imul eax, dword [rbp - 0x58]
add r12d, eax
neg r12d
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx r9d, byte [rsp + 0x6c]
lea r8d, [r13*4]
mov rcx, r14
mov rbx, rax
add r8d, r13d
mov dword [rbp - 0x34], r8d
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14002a8c7
mov rdx, qword [rbp - 0x58]
mov r10, qword [rbp - 0x80]
mov eax, r9d
imul eax, dword [rbp + 0xb4]
lea r13d, [rdx + rdx]
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], r10
sub r13d, eax
mov eax, dword [rsp + 0x68]
sub r13d, eax
add r13d, r8d
mov r8, qword [rbp - 0x78]
add r13d, r8d
sub r13d, ecx
mov rcx, r14
add r13d, 7
mov dword [rbp], r13d
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14002a914
movups xmm0, xmmword [rbp]
imul ecx, eax
mov eax, r10d
sub eax, ecx
mov ecx, r12d
sub eax, r9d
xor r9d, r9d
sub eax, esi
sub eax, r8d
mov r8, qword [rbp - 0x70]
movaps xmmword [rbp + 0x50], xmm0
sub eax, edx
lea rdx, str.c0ret
add eax, 0xa
add eax, r15d
mov dword [rbp + 0x18], eax
lea rax, str.c6a5
mov qword [rbp + 0x20], rax
lea rax, [rbp + 0x50]
movups xmm1, xmmword [rbp + 0x10]
movsd xmm0, qword [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbx
movaps xmmword [rbp + 0x60], xmm1
movsd qword [rbp + 0x70], xmm0
call fcn.1400d8f10
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x40]
mov r8b, 4
mov qword [rbp - 0x28], rax
call fcn.1400a7b50
xor ecx, ecx
mov edx, 0x2cb
lea r8d, [rcx + 2]
mov dword [rbp - 0x38], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
mov rcx, rax
mov qword [rbp - 0x18], rax
call fcn.1400d8bc0
lea rcx, str.c1ret
movsxd rsi, r15d
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400ed4d4]
mov r9, rsi
mov r8d, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov rsi, qword [rbp - 0x18]
mov rcx, rsi
mov dword [rsp + 0x64], eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, r14
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x20]
lea r8d, [rax*4]
mov dword [rbp - 0x10], r8d
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14002aa16
imul ecx, dword [rsp + 0x68]
mov rdx, qword [rbp - 0x70]
mov r9, qword [rbp - 0x58]
mov r10, qword [rbp - 0x78]
lea eax, [r12 + 1]
imul ecx, ecx, 0xfffffff8
imul eax, dword [rbp - 0x40]
sub ecx, eax
lea eax, [r9 - 5]
sub ecx, ebx
sub ecx, r15d
sub ecx, edx
add ecx, r8d
mov r8, qword [rbp - 0x60]
add ecx, dword [rbp - 0x34]
add ecx, esi
add ecx, dword [rbp - 0x68]
add ecx, dword [rbp - 0x38]
add ecx, r13d
add ecx, r10d
add r10b, 5
add eax, ecx
mov dword [rsp + 0x78], eax
movzx eax, r12b
shl al, 2
lea r11d, [rax + r12]
movzx eax, dl
movzx edx, r9b
shl dl, 2
mov byte [rsp + 0x60], r11b
imul r8b
lea ecx, [rdx + r9]
mov r9, qword [rbp - 0x30]
mov edx, dword [rbp - 0x50]
movzx esi, al
mov rax, qword [rbp - 0x80]
sub sil, cl
mov ecx, dword [rsp + 0x78]
sub sil, bl
sub sil, al
sub sil, al
add sil, byte [rbp + 0xb0]
add sil, r11b
add sil, r10b
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x64]
mov qword [rsp + 0x20], r9
lea r9, str.attendant
call fcn.1400a7640
xor ecx, ecx
mov edx, 0x2eb
lea r8d, [rcx + 0x1a]
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r10d, dword [rsp + 0x70]
mov r8, qword [rbp - 0x30]
xor r9d, r9d
mov qword [rbp + 0x50], rax
movzx eax, sil
mov rsi, qword [rbp - 0x28]
mov edx, eax
mov qword [rbp + 0x58], r8
imul edx, r10d
mov qword [rbp + 0x60], r9
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x74], edx
mov rcx, r14
nop word [rax + rax]
inc rcx
cmp byte [rsi + rcx], r9b
jne 0x14002ab20
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r9
add ecx, 7
imul ecx, eax
mov eax, r8d
mov r8, rdi
sub eax, ecx
mov ecx, dword [rsp + 0x68]
sub eax, edx
mov edx, dword [rsp + 0x78]
mov qword [rsp + 0x40], rcx
sub eax, dword [rbp - 0x80]
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], ecx
sub eax, r13d
mov dword [rsp + 0x28], edx
mov ecx, r10d
sub eax, dword [rbp - 0x78]
mov dword [rsp + 0x20], 4
add eax, 0xd
add eax, edx
lea rdx, str.attendant
add eax, dword [rsp + 0x64]
add eax, dword [rbp - 0x58]
add eax, r15d
mov dword [rbp + 0x68], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0x38], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, r14
mov qword [rbp + 0x40], rax
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14002abc0
mov r8, qword [rbp - 0x70]
mov edx, dword [rsp + 0x68]
mov r10, qword [rbp - 0x50]
movups xmm0, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x40]
mov r11, qword [rbp - 0x40]
movzx r9d, byte [rbp - 0x18]
movzx eax, dl
movaps xmmword [rbp + 0xa0], xmm0
movups xmm0, xmmword [rbp + 0x50]
movsd qword [rbp + 0xb0], xmm1
imul cl
movzx ecx, al
movzx eax, bl
movups xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rbp + 0x70]
imul byte [rbp + 0x18]
movaps xmmword [rbp + 0x10], xmm1
movsd qword [rbp + 0x20], xmm0
sub r9b, al
movzx eax, r8b
shl r9b, 2
imul byte [rsp + 0x60]
sub r9b, al
movzx eax, byte [rsp + 0x6c]
imul byte [rbp - 0x80]
sub r9b, al
movzx eax, byte [rbp - 0x78]
imul byte [rbp + 0xb8]
add r9b, al
mov rax, qword [rbp - 0x60]
sub r9b, cl
mov rcx, qword [rbp - 0x58]
sub r9b, r10b
lea ecx, [rcx + rcx*4]
sub r9b, byte [rsp + 0x64]
mov dword [rbp - 0x50], ecx
mov ecx, dword [rsp + 0x6c]
imul r10d, dword [rsp + 0x64]
imul r10d, eax
add r9b, 5
add r9b, r11b
add r9b, al
mov eax, dword [rbp - 0x30]
mov byte [rsp + 0x60], r9b
imul eax, dword [rsp + 0x78]
sub r10d, eax
mov eax, r12d
imul eax, r8d
sub r10d, eax
mov eax, r11d
imul eax, r8d
add r10d, eax
imul eax, r11d, 7
sub r10d, eax
movzx eax, cl
lea rcx, [0x1400ed4d4]
sub r10d, ebx
sub r10d, edx
add r10d, dword [rsp + 0x74]
add r10d, eax
mov eax, dword [rbp - 0x50]
add eax, 7
add eax, r10d
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x20], eax
call fcn.140089e80
cmp byte [rsp + 0x64], 4
mov qword [rbp + 0x30], rax
jl 0x14002aeca
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx r8d, byte [rsp + 0x60]
mov rdx, r14
mov qword [rbp - 0x28], rax
inc rdx
cmp byte [rsi + rdx], 0
jne 0x14002acf4
mov eax, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x50]
mov r9, qword [rbp - 0x40]
imul ecx, dword [rsp + 0x68]
imul eax, r12d
imul edx, r9d
sub ecx, eax
lea r12d, [r15 - 9]
mov rax, r14
sub ecx, edx
lea r12d, [rcx + r12*2]
sub r12d, r13d
sub r12d, r8d
mov r8, qword [rbp - 0x70]
add r12d, dword [rsp + 0x74]
add r12d, dword [rbp - 0x38]
add r12d, r8d
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x14002ad40
mov ecx, dword [rbp - 0x48]
mov r13, qword [rbp - 0x60]
mov edi, dword [rbp + 0x68]
imul edx, eax, 0x19
imul ecx, dword [rsp + 0x70]
mov eax, 1
add edi, 2
imul ecx, r13d
sub eax, dword [rbp - 0x78]
imul eax, r8d
sub eax, ecx
mov ecx, dword [rsp + 0x6c]
add edx, eax
movzx eax, cl
imul eax, dword [rbp - 0x80]
add edx, eax
mov eax, dword [rbp - 0x20]
shl eax, 4
add edx, eax
imul eax, r9d, 0x23
add edx, eax
sub edx, r15d
add edi, edx
mov dword [rsp + 0x70], edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r9d, byte [rbp - 0x60]
mov rcx, qword [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov r15, rax
mov rax, qword [rbp - 0x80]
mov r8d, edi
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.14009abc0
mov rdi, rax
call fcn.1400b00e0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r10, rax
mov rcx, r14
nop dword [rax]
inc rcx
cmp byte [rsi + rcx], 0
jne 0x14002adf0
imul ecx, dword [rbp - 0x78]
movzx edx, byte [rsp + 0x60]
mov r8, qword [rbp - 0x28]
mov r9, qword [rbp - 0x30]
mov r11d, dword [rsp + 0x64]
mov eax, r8d
imul eax, r12d
imul eax, dword [rsp + 0x74]
imul eax, edx
mov edx, dword [rbp - 0x48]
imul edx, r9d
sub edx, eax
mov rax, qword [rbp - 0x18]
sub edx, ecx
lea ecx, [rdx + rax*4]
movsx rax, byte [rbp - 0x60]
add ecx, eax
mov rax, qword [rbp - 0x70]
sub ecx, dword [rbp - 0x80]
sub ecx, dword [rsp + 0x70]
sub ecx, dword [rbp - 0x58]
add ecx, dword [rbp - 0x10]
add ecx, dword [rbp - 0x34]
add ecx, r11d
add ecx, eax
mov rax, r14
add ecx, dword [rsp + 0x68]
inc rax
cmp byte [rdi + rax], 0
jne 0x14002ae57
lea r9d, [rcx - 9]
mov rdx, r14
add r9d, eax
mov rax, qword [rbp + 0x30]
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x14002ae70
mov rax, qword [rbp - 0x40]
imul r15d, r12d
lea eax, [rax + rax*4]
lea ecx, [r15 + rax*2]
sub ecx, dword [rbp - 0x50]
sub ecx, r8d
sub ecx, dword [rbp - 0x20]
sub ecx, r13d
add ecx, ebx
add ecx, dword [rsp + 0x78]
add ecx, dword [rbp - 0x68]
add ecx, r11d
sub ecx, edx
inc r14
cmp byte [rdi + r14], 0
jne 0x14002aea2
lea r8d, [rcx - 0x11]
lea rbx, str.c7ret
mov rcx, r10
add r8d, r14d
mov rdx, rbx
call fcn.1400be7d0
mov rax, rbx
jmp 0x14002aed1
lea rax, str.c7ret
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret