Function at 0x140010970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14009c080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea r8, [0x1400899f0]
mov edx, 0xb6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140010c68
movdqa xmm0, xmmword [0x140089b80]
movdqu xmmword [rbp - 1], xmm0
xor ebx, ebx
mov word [rbp - 0x11], bx
lea r8d, [rax + 2]
lea rdx, [0x140088248]
lea rcx, [rbp - 0x11]
call fcn.1400020a0
nop
lea rcx, [rbp + 0xf]
call fcn.140012f70
nop
lea r9d, [rdi + 0x11]
lea r8, [0x140088260]
mov rcx, rax
call fcn.140006080
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8d, [rdi + 6]
lea rdx, [0x140088250]
lea rcx, [rbp - 0x31]
call fcn.140002c50
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8d, [rdi + 6]
lea rdx, [0x1400899f0]
lea rcx, [rbp - 0x51]
call fcn.140002c50
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x71], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x61], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x140010b1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010b18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d84
call fcn.14002c374
movdqa xmm0, xmmword [0x140089b80]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], bx
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x140010b6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010b69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d8a
call fcn.14002c374
movdqa xmm0, xmmword [0x140089b80]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x140010bbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010bba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d90
call fcn.14002c374
movdqa xmm0, xmmword [0x140089b80]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], bx
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140010c10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010c0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d96
call fcn.14002c374
movdqa xmm0, xmmword [0x140089b80]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140010c61
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010c5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d7e
call fcn.14002c374
xor al, al
jmp 0x140010d56
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 0x140010d52
test eax, eax
je 0x140010d52
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140010ce2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x140010d56
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
test rax, rax
je 0x140010d40
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
je 0x140010d40
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.14004a790
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r15b, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14002c350
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140050bc0
nop
call fcn.140050bc0
nop
call fcn.140050bc0
nop
call fcn.140050bc0
nop
call fcn.140050bc0
int3