Function at 0x14004fa20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, r8
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea r8, [0x1400f5148]
mov edx, 0xfa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x14004fcae
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea r8d, [rbx + 2]
lea rdx, [0x1400f48d8]
lea rcx, [rbp - 0x11]
call fcn.140003d9c
nop
lea rcx, [rbp + 0xf]
call fcn.140053370
nop
lea r9d, [rbx + 0x11]
lea r8, [0x1400f48e0]
mov rcx, rax
call fcn.14004191c
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
lea esi, [rbx + 7]
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], rbx
mov word [rax], bx
lea edi, [rbx + 6]
mov r8d, edi
lea rdx, [0x1400f4908]
lea rcx, [rbp - 0x31]
call fcn.14003e920
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], rbx
mov word [rax], bx
mov r8d, edi
lea rdx, [0x1400f5148]
lea rcx, [rbp - 0x51]
call fcn.14003e920
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
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], rsi
mov word [rax], bx
xor r9d, r9d
mov r8b, 1
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x71]
call fcn.140050d5c
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x59]
cmp rdx, rsi
jbe 0x14004fbb9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, rdi
jb 0x14004fbb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fdc5
call fcn.140082b60
movdqa xmm0, xmmword [0x1400fe8c0]
movdqu xmmword [rbp - 0x61], xmm0
mov word [rbp - 0x71], bx
mov rdx, qword [rbp - 0x39]
cmp rdx, rsi
jbe 0x14004fc05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, rdi
jb 0x14004fc00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fdcb
call fcn.140082b60
movdqa xmm0, xmmword [0x1400fe8c0]
movdqu xmmword [rbp - 0x41], xmm0
mov word [rbp - 0x51], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, rsi
jbe 0x14004fc51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, rdi
jb 0x14004fc4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fdd1
call fcn.140082b60
movdqa xmm0, xmmword [0x1400fe8c0]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], bx
lea rcx, [rbp + 0xf]
call fcn.1400186c8
nop
mov rdx, qword [rbp + 7]
cmp rdx, rsi
jbe 0x14004fca7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rdi
jb 0x14004fca2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fdbf
call fcn.140082b60
xor al, al
jmp 0x14004fd97
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test r12, r12
je 0x14004fd95
test eax, eax
je 0x14004fd95
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, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14004fd26
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x14004fd97
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 0x14004fd83
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 r15, rax
test rax, rax
je 0x14004fd83
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.1400ab940
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140082b40
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.140089c50
nop
call fcn.140089c50
nop
call fcn.140089c50
nop
call fcn.140089c50
int3