Function at 0x1400176a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x14008b048]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, r8
mov esi, ecx
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movzx edx, si
lea r8, [0x1400752c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400179a1
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], bx
lea r8d, [rax + 2]
lea rdx, [0x14007b00c]
lea rcx, [rbp - 0x29]
call fcn.1400040a0
nop
mov edx, esi
lea rcx, [rbp - 9]
call fcn.14001b760
nop
lea r9d, [rdi + 0x11]
lea r8, [0x14007b028]
mov rcx, rax
call fcn.14000b000
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8d, [rdi + 6]
lea rdx, [0x14007b018]
lea rcx, [rbp - 0x49]
call fcn.140005680
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8d, [rdi + 6]
lea rdx, [0x1400752c8]
lea rcx, [rbp - 0x69]
call fcn.140005680
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x79], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
lea rdx, [rsp + 0x40]
cmp qword [rbp - 0x71], 8
cmovae rdx, qword [rsp + 0x40]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x140017859
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017abc
call fcn.14003a990
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], 7
mov word [rsp + 0x40], bx
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x1400178aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400178a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017ac2
call fcn.14003a990
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], bx
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400178fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400178f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017ac8
call fcn.14003a990
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], bx
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14001794a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017ace
call fcn.14003a990
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], 7
mov word [rbp - 9], bx
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14001799a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017995
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017ab6
call fcn.14003a990
xor al, al
jmp 0x140017a8f
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 0x140017a8b
test eax, eax
je 0x140017a8b
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, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140017a1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x140017a8f
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 0x140017a79
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 0x140017a79
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.14003cd80
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 + 0x17]
xor rcx, rsp
call fcn.14003a970
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.1400412d4
nop
call fcn.1400412d4
nop
call fcn.1400412d4
nop
call fcn.1400412d4
nop
call fcn.1400412d4
int3