Function at 0x1400c4ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rcx, qword [rdx + 0x20]
or rsi, 0xffffffffffffffff
movzx ebp, r9b
mov rbx, r8
mov r13, rdx
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c4b10
imul eax, dword [r8]
movzx r15d, bpl
mov ecx, r15d
lea r14d, [rax + rax*4]
add r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r12, rax
cmp bpl, r14b
je 0x1400c4b3f
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov rcx, qword [rbx + 8]
nop dword [rax]
inc rsi
cmp byte [rcx + rsi], 0
jne 0x1400c4b50
mov eax, dword [r13 + 8]
lea ecx, [r15 + rax*2]
lea eax, [rcx + rcx*4]
sub eax, r14d
add eax, r12d
add esi, eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x14f
lea r8d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
lea rcx, str.lion
movzx ebx, bpl
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.spank
mov r9d, ebx
mov r8d, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ebp, 0x10
lea rcx, str.tabernacle
sub ebp, esi
mov ebx, eax
add ebp, ebp
sub ebp, r14d
sub ebp, dword [r13 + 8]
add ebp, r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor r13d, r13d
mov rsi, rax
cmp r14d, ebp
je 0x1400c4ca7
mov edi, dword [rsp + 0x60]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov edx, ebp
lea r8, str.lion
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r14d
lea rdx, str.legal
movsx ebx, bl
mov ecx, edi
mov r9d, ebp
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], edi
xor r9d, r9d
mov r8, rsi
mov rdx, rsi
mov rcx, r12
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov eax, r14d
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], r15d
lea r8, str.tabernacle
lea rdx, str.observatory
mov r9d, ebp
mov ecx, 8
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rax, str.authority
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret