Function at 0x140041a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1400e20c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
xor r13d, r13d
xor r15b, r15b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea r8, [0x1400c85f0]
mov edx, 0xfa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140041df7
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
lea r8d, [r13 + 2]
lea rdx, [0x1400c7d48]
lea rcx, [rbp - 0x11]
call fcn.140005d50
nop
lea rcx, [rbp + 0xf]
call fcn.1400461c0
nop
lea r9d, [r13 + 0x11]
lea r8, [0x1400c7d60]
mov rcx, rax
call fcn.1400310d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x71], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x61], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdi, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
sub rax, rdi
cmp rax, 6
jb 0x140041baf
lea rax, [rdi + 6]
mov qword [rbp - 0x61], rax
lea rbx, [rbp - 0x71]
cmp rcx, 7
cmova rbx, qword [rbp - 0x71]
lea rcx, [rbx + rdi*2]
lea r8d, [r13 + 0xc]
lea rdx, [0x1400c7d50]
call fcn.14009e030
mov word [rbx + rdi*2 + 0xc], r13w
lea rax, [rbp - 0x71]
jmp 0x140041bd2
mov qword [rsp + 0x20], 6
lea r9, [0x1400c7d50]
movzx r8d, byte [rbp - 0x79]
mov edx, 6
lea rcx, [rbp - 0x71]
call fcn.14002cc80
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov r8d, 6
lea rdx, [0x1400c85f0]
lea rcx, [rbp - 0x31]
call fcn.14002cbf0
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova r8, qword [rbp - 0x11]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rdx, qword [rbp - 0x51]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x140041cac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041f16
call fcn.140077aa0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x39], 7
mov word [rbp - 0x51], r13w
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140041cfd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041cf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041f1c
call fcn.140077aa0
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r13w
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x140041d4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041d49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041f22
call fcn.140077aa0
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140041d9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041d9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041f28
call fcn.140077aa0
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r13w
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140041df0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041f10
call fcn.140077aa0
xor al, al
jmp 0x140041ee3
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 0x140041edf
test eax, eax
je 0x140041edf
mov qword [rsp + 0x30], r13
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 rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140041e6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x140041ee3
mov qword [rsp + 0x28], r13
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 0x140041ecd
mov qword [rsp + 0x20], r13
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 0x140041ecd
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.14009e030
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 + 0x2f]
xor rcx, rsp
call fcn.140077a80
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007e9b4
nop
call fcn.14007e9b4
nop
call fcn.14007e9b4
nop
call fcn.14007e9b4
nop
call fcn.14007e9b4
int3