Function at 0x140017b40
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 [0x140098048]
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, [0x140084718]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140017e30
xor ebx, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], bx
lea r8d, [rax + 2]
lea rdx, [0x14008892c]
lea rcx, [rbp - 0x29]
call fcn.140005c90
nop
mov edx, esi
lea rcx, [rbp - 9]
call fcn.14001a110
nop
lea r9d, [rdi + 0x11]
lea r8, [0x140088948]
mov rcx, rax
call fcn.14000d010
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, [0x140088938]
lea rcx, [rbp - 0x49]
call fcn.140006080
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, [0x140084718]
lea rcx, [rbp - 0x69]
call fcn.140006080
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 0x140017ce8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ce3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017f4b
call fcn.14002ceb4
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], 7
mov word [rsp + 0x40], bx
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x140017d39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017f51
call fcn.14002ceb4
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], bx
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140017d89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017f57
call fcn.14002ceb4
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], bx
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140017dd9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017f5d
call fcn.14002ceb4
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], 7
mov word [rbp - 9], bx
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140017e29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017e24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017f45
call fcn.14002ceb4
xor al, al
jmp 0x140017f1e
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 0x140017f1a
test eax, eax
je 0x140017f1a
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 0x140017eaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x140017f1e
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 0x140017f08
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 0x140017f08
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.14004b3f0
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.14002ce90
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.14004fbfc
nop
call fcn.14004fbfc
nop
call fcn.14004fbfc
nop
call fcn.14004fbfc
nop
call fcn.14004fbfc
int3