Function at 0x14005f880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r13, rcx
mov rsi, rdx
lea rcx, [rsp + 0xc0]
mov edx, 0x104
mov rbp, r8
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r15, rax
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r12, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], rax
lea rax, [0x1400ed3f4]
lea rcx, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.1400dc120
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x140
mov r14, rax
call fcn.1400e27d0
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
or rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14005f970
movzx ebx, r13b
lea rcx, [rsp + 0x78]
sub bl, r14b
mov r14d, 8
add bl, bpl
sub r14d, ebp
add bl, r12b
add bl, r15b
sub bl, al
add bl, 0x6d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
movzx r15d, bl
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14005f9a6
imul edi, dword [rsp + 0x68]
lea eax, [r15 + r15]
mov ecx, 1
sub eax, dword [rsp + 0x70]
sub ecx, edi
add eax, 0xfffffffd
imul ecx, ebp
lea edi, [rcx + rax*4]
lea eax, [r14 + r14*4]
add edi, eax
imul eax, dword [rsp + 0x60], 0xd
sub edi, eax
add edi, r13d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xc0]
lea rcx, str.c3ret
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0xd
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, str.c5a0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0x2fe
lea r8d, [rcx + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
xor ecx, ecx
lea r8d, [rcx + 2]
mov edx, 0x139
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x2c7
lea r8d, [rcx + 6]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
add bl, 5
mov rcx, rax
movzx eax, r13b
imul cl
movzx esi, al
sub sil, r12b
add sil, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
cmp edi, r15d
je 0x14005faab
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor ecx, ecx
mov edx, 0x124
lea r8d, [rcx + 0x1d]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xc0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov edx, 8
xor ecx, ecx
lea r8d, [rdx + 0x13]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
cmp r14d, 0xd
je 0x14005fb78
movzx r9d, sil
xor esi, esi
movsxd rax, r14d
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r15d
lea r8, [0x1400ed3f4]
lea rdx, str.vineyard
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov dword [rsp + 0x30], edi
xor r9d, r9d
mov r8, rbp
mov rdx, rbx
mov rcx, rbp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xc0]
lea rcx, str.c3ret
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x214
lea r8d, [rcx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x268]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret