Function at 0x1400b5590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], 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 rdi, rdx
mov r13, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [rbx*8]
add ecx, r13d
mov qword [rsp + 0x60], rax
mov esi, 0xfffffff9
mov dword [rsp + 0x24], ecx
lea ecx, [rcx*4]
mov edx, 0x104
sub esi, ecx
lea rcx, [rsp + 0x70]
sub esi, eax
movzx eax, r13b
add al, al
mov byte [rsp + 0x20], al
lea r14d, [rax - 4]
add r14b, bl
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbp, rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rcx, rax
mov qword [rsp + 0x50], rax
movzx eax, r14b
imul bpl
movzx r15d, al
shl r15b, 2
sub r15b, cl
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx ebp, r15b
mov r12, rax
cmp dword [rsp + 0x24], ebp
jl 0x1400b56c0
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x15c
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
lea rcx, str.c0a2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
movsx rax, r14b
mov ecx, r13d
mov edx, 0x31b
imul eax, ebx
shl eax, 2
lea ebx, [r12 + 7]
sub ecx, eax
movsx rax, r15b
sub ecx, eax
add ebx, ecx
xor ecx, ecx
lea r8d, [rcx + 9]
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r9, rax
mov qword [rsp + 0x40], rax
cmp ebx, esi
je 0x1400b571e
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [rsp + 0x40]
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400b5725
mov r10, qword [rsp + 0x38]
shl ecx, 2
movzx eax, r10b
imul ebp, r10d
sub ecx, ebp
imul r9b
add ecx, r13d
add ecx, r12d
mov r12, qword [rsp + 0x28]
lea r8d, [r12 - 2]
add r8d, ecx
movzx ecx, al
movzx eax, byte [rsp + 0x60]
mov dword [rsp + 0x28], r8d
imul cl
movzx ecx, al
mov al, 0x1c
imul cl
movzx ebp, al
add bpl, byte [rsp + 0x20]
cmp esi, r8d
jle 0x1400b57a0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8d, dword [rsp + 0x28]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
nop dword [rax]
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400b57a0
movzx eax, byte [rsp + 0x48]
imul byte [rsp + 0x24]
lea ecx, [rax + 9]
mov al, 0xe
imul cl
movzx edx, al
movzx eax, r10b
sub dl, r12b
imul byte [rsp + 0x50]
add dl, dl
movzx ecx, al
movzx eax, r15b
imul cl
add dl, al
movzx eax, r9b
imul r8b
sub dl, al
sub dl, byte [rsp + 0x30]
sub dl, bpl
lea eax, [rdx + rbx]
add al, sil
add al, r13b
add al, byte [rsp + 0x58]
add al, r14b
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret