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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r13, qword [rbp + 0x1c0]
mov rcx, r8
mov edi, r9d
mov r14d, edx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx r15d, ax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, r15d
mov rcx, rbx
mov dword [rsp + 0x38], 0
mov qword [rbp - 0x50], rax
mov dword [rsp + 0x20], edi
call fcn.1400da360
lea rcx, [rbp + 0x10]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
movzx esi, ax
xor ecx, ecx
mov edx, esi
mov dword [rsp + 0x60], esi
call fcn.140077ea0
xor ecx, ecx
mov qword [rsp + 0x78], rax
call fcn.14006f850
xor r8d, r8d
mov edx, 0x22c
xor ecx, ecx
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x40]
mov edx, 0x104
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, r14d
mov r12d, eax
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x24], 4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x70], rax
mov rcx, rbx
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14005e9f6
mov rdi, qword [rsp + 0x78]
lea eax, [rdi + 2]
add eax, ecx
lea rcx, str.c0a0
mov dword [rsp + 0x64], eax
mov eax, 0xfffffffe
mov qword [rbp - 0x68], rcx
sub eax, esi
mov dword [rbp - 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [rbp - 0x5c], eax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov r8d, dword [rsp + 0x64]
movups xmm0, xmmword [rbp - 0x68]
movzx eax, ax
lea rcx, str.page
mov edx, 0x40
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rbp - 0x38]
mov dword [rbp - 0x58], eax
lea rax, [rbp - 0x20]
movaps xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r8d
lea rax, str.camel
movsd xmm1, qword [rbp - 0x58]
movsd qword [rbp - 0x10], xmm1
movsd xmm1, qword [rbp - 0x28]
movsd qword [rbp + 0x20], xmm1
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140088380
mov esi, 0x14
lea r9, str.geranium
sub esi, dword [rbp - 0x80]
mov qword [rbp - 0x70], rax
lea rax, str.faucet
sub esi, dword [rbp - 0x58]
lea rdx, str.baobab
xor ecx, ecx
sub esi, edi
mov qword [rsp + 0x20], rax
sub esi, r15d
mov r8d, esi
call fcn.14008b000
lea ecx, [r14*4]
lea edx, [rdi - 6]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x70]
imul eax, r12d
mov r12d, dword [rsp + 0x60]
sub ecx, eax
sub ecx, esi
mov eax, r13d
sub ecx, dword [rsp + 0x64]
sub ecx, r12d
add edx, ecx
mov rcx, qword [rbp - 0x50]
imul eax, r15d
add ecx, 2
sub eax, r14d
mov dword [rsp + 0x60], edx
add eax, ecx
mov r8d, edx
lea rcx, str.lemonade
mov r9d, eax
mov rdx, r13
mov dword [rsp + 0x68], eax
call fcn.140063750
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rbp - 0x78], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [rbp - 0x78]
mov rdx, rax
mov qword [rbp - 0x48], rax
call fcn.140087f20
mov r9, rax
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x78]
cmp esi, eax
jbe 0x14005ec90
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x14005eb60
imul eax, dword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
mov ecx, dword [rbp - 0x38]
shl ecx, 6
imul edx, dword [rbp - 0x80]
sub ecx, edx
sub ecx, eax
lea eax, [rsi + rsi*2]
lea edx, [rcx + rax*2]
sub edx, r13d
sub edx, r14d
sub edx, dword [rsp + 0x70]
sub edx, r15d
inc edx
mov dword [rbp + 0x10], edx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x70]
lea r8d, [rcx + 0x1d]
mov edx, 0x12b
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rbp - 0x70]
lea r8, str.page
imul ecx, dword [rbp - 0x58]
mov qword [rbp + 0x30], rax
shl ecx, 3
mov eax, r15d
lea rdx, str.faucet
sub eax, ecx
mov ecx, r12d
lea r9d, [rax + rax*2]
mov eax, dword [rsp + 0x60]
add r9d, r9d
add eax, 0x3f
sub r9d, r13d
sub r9d, dword [rbp - 0x40]
sub r9d, dword [rsp + 0x64]
add r9d, r14d
add r9d, dword [rsp + 0x78]
add eax, r9d
mov r9d, dword [rsp + 0x68]
mov dword [rbp + 0x38], eax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0x40
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rbp + 0x3c], eax
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, qword [rbp - 0x70]
lea rax, str.c5a0
movups xmm0, xmmword [rbp + 0x10]
movups xmm1, xmmword [rbp + 0x20]
lea rcx, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp], xmm0
call fcn.1400cfc20
mov r9, qword [rbp - 0x40]
mov rax, qword [rbp - 0x78]
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14005ec90
mov r8d, dword [rsp + 0x64]
imul bl
add r14b, 0x29
movzx ecx, al
movzx eax, byte [rbp - 0x48]
imul cl
movzx edx, al
movzx eax, byte [rsp + 0x68]
imul byte [rsp + 0x60]
movzx ecx, al
movzx eax, r13b
shl cl, 3
dec cl
imul cl
movzx ecx, al
movzx eax, byte [rbp - 0x58]
imul r8b
sub cl, al
movzx eax, sil
add al, al
add dl, cl
add sil, al
lea eax, [rsi + rsi]
add al, dl
sub al, r15b
sub al, byte [rsp + 0x78]
add al, r14b
add al, r9b
add al, byte [rsp + 0x70]
add al, byte [rbp - 0x30]
add al, byte [rbp - 0x80]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret