Function at 0x14005b8a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x20], r12d
lea r8, [0x1400a9828]
mov edx, 0x4e23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x14005bb7a
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x14005bbaf
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov r8d, ebx
mov rax, r12
test ebx, ebx
je 0x14005b96e
nop dword [rax]
cmp byte [rdx + rax], 0x3c
je 0x14005b94e
inc rax
cmp rax, rbx
jb 0x14005b940
test ebx, ebx
je 0x14005b96e
lea rcx, [rbx - 1]
add rcx, rdx
nop dword [rax]
cmp byte [rcx], 0x3e
je 0x14005b96e
dec rcx
sub r8, 1
jne 0x14005b960
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xe0], r12
mov ebx, 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd0], r12w
cmp r8, rax
jbe 0x14005ba9a
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], 0xf
mov byte [rsp + 0xa8], 0
sub r8, rax
add rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14001d830
nop
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.14005a740
mov edi, 8
mov dword [rsp + 0x20], edi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0xd0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0xe0], xmm1
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0x10
jb 0x14005ba5f
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ba5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005bbeb
call fcn.140062610
cmp qword [rsp + 0x40], 0
je 0x14005ba92
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x30]
call fcn.140013070
mov byte [rsp + 0x50], 1
lea rax, [rsp + 0x30]
mov edi, 0xa
mov rbx, qword [rsp + 0xe8]
jmp 0x14005baad
mov rbx, qword [rsp + 0xe8]
mov byte [rsp + 0xc8], 0
lea rax, [rsp + 0xa8]
or edi, 1
mov byte [rsi + 0x20], 0
cmp byte [rax + 0x20], 0
je 0x14005bad9
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov byte [rsi + 0x20], 1
or edi, 4
test dil, 2
je 0x14005baf0
and edi, 0xfffffffd
lea rcx, [rsp + 0x30]
call fcn.140011a10
nop
test dil, 1
je 0x14005bb04
lea rcx, [rsp + 0xa8]
call fcn.140011a10
nop
cmp rbx, 8
jb 0x14005bb44
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bb3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005bbf1
call fcn.140062610
mov rax, rsi
jmp 0x14005bb52
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400625f0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14001d120
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.FindResource_has_failed_
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14001d1f0
lea rdx, [0x1400c36f0]
lea rcx, [rsp + 0x58]
call fcn.14006517c
call fcn.14001d120
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.::LoadResource_has_failed_
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.14001d1f0
lea rdx, [0x1400c36f0]
lea rcx, [rsp + 0x80]
call fcn.14006517c
nop
call fcn.1400695b8
nop
call fcn.1400695b8
int3