Function at 0x140016be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x138], rbx
mov rax, qword [0x1400a6088]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13, r8
mov r14d, ecx
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movzx edx, r14w
lea r8, [0x14008c6f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140016f3a
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x11], xmm0
xor esi, esi
mov word [rbp - 0x21], si
lea r8d, [rax + 2]
lea rdx, [0x140090e54]
lea rcx, [rbp - 0x21]
call fcn.140003f60
nop
mov edx, r14d
lea rcx, [rbp - 1]
call fcn.14001a690
nop
lea r9d, [rdi + 0x11]
lea r8, [0x140090e70]
mov rcx, rax
call fcn.1400097e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x71], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rcx, qword [rbp - 0x71]
mov rdx, qword [rbp - 0x69]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x140016d04
lea rdi, [rcx + 6]
mov qword [rbp - 0x71], rdi
lea rbx, [rsp + 0x48]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x48]
lea rcx, [rbx + rcx*2]
lea r8d, [rsi + 0xc]
lea rdx, [0x140090e60]
call fcn.140053920
mov word [rbx + rdi*2], si
lea rax, [rsp + 0x48]
jmp 0x140016d23
mov qword [rsp + 0x20], 6
lea r9, [0x140090e60]
mov edx, 6
lea rcx, [rsp + 0x48]
call fcn.140005a70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov r8d, 6
lea rdx, [0x14008c6f8]
lea rcx, [rbp - 0x41]
call fcn.1400057d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x61], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x51], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae r8, qword [rbp - 0x21]
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rdx, qword [rbp - 0x61]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x140016ded
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017055
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], si
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x140016e3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001705b
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], si
mov rdx, qword [rbp - 0x69]
cmp rdx, 8
jb 0x140016e90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017061
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x71], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140016ee2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017067
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], si
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140016f33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001704f
call fcn.1400352b4
xor al, al
jmp 0x140017028
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test r12, r12
je 0x140017024
test eax, eax
je 0x140017024
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140016fb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x140017028
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x140017012
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
je 0x140017012
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.140053920
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r15b, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140035290
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
int3