Function at 0x140001c24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
mov r15d, ebx
mov r13b, bl
lea rax, [0x140018050]
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x68], rbx
mov qword [r11 - 0x60], rbx
mov r14d, ebx
mov qword [r11 - 0x58], rbx
test rcx, rcx
je 0x140001c92
lea rdx, [r11 - 0x70]
call fcn.140004118
mov r14, qword [rsp + 0x50]
jmp 0x140001c94
mov al, bl
test al, al
je 0x140001fb3
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140001ce0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rdx, r14
lea ecx, [rsi + 4]
call fcn.140003a4c
jmp 0x140001fb0
xor r9d, r9d
lea r12d, [r9 + 1]
mov r8d, r12d
lea rdx, [0x14001aaa8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
jne 0x140001d41
lea r8, str.RC_CONFIG_resource_not_found._n
xor edx, edx
mov rcx, rbp
call fcn.1400038f0
test al, al
je 0x140001f8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rdx, rbp
xor r8d, r8d
mov r9d, eax
lea ecx, [r8 + 4]
call fcn.140003a4c
jmp 0x140001f8f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
jne 0x140001d61
lea r8, str.Unable_to_load_RC_CONFIG_resource._n
jmp 0x140001d0c
cmp dword [rax], 0xfecdfecd
je 0x140001d7f
mov rcx, rbp
xor edx, edx
lea r8, str.Invalid_RC_CONFIG._n
call fcn.1400038f0
jmp 0x140001f8f
movups xmm6, xmmword [rax + 0x2c]
movups xmm7, xmmword [rax + 0x1c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
test rdi, rdi
je 0x140001daf
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140004118
mov r14, qword [rsp + 0x50]
jmp 0x140001db1
mov al, bl
test al, al
je 0x140001fb0
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140001df8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
xor r8d, r8d
mov rdx, r14
lea ecx, [rsi + 4]
call fcn.140003a4c
jmp 0x140001fb0
xor r9d, r9d
mov r8, r12
lea rdx, [0x14001aaa8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x140001e49
lea r8, str.Failed_to_find_RC_CONFIG_resource_type._n
xor edx, edx
mov rcx, rdi
call fcn.1400038f0
test al, al
je 0x140001f8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rdx, rdi
jmp 0x140001d2d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x140001e1c
cmp dword [rax], 0xfecdfecd
je 0x140001e73
mov rcx, rdi
jmp 0x140001d6c
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov r12d, eax
lea rdx, [0x14001a8d0]
mov ecx, eax
call fcn.140016adc
mov r15, rax
test rax, rax
jne 0x140001ebc
lea r9, str.Out_of_memory
xor r8d, r8d
lea rdx, [0x14001a968]
lea ecx, [rax + 4]
call fcn.140003930
jmp 0x140001f8f
mov r8, r12
mov rdx, r14
mov rcx, r15
call sub.msvcrt.dll_memcpy
mov word [0x140026780], bx
mov qword [rsp + 0x20], rbx
lea r9, [0x140001c10]
mov r14d, 1
mov r8d, r14d
lea rdx, [0x14001aaa8]
mov rcx, rsi
call fcn.140004a4c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rsi, rbx
movdqu xmmword [r15 + 0x2c], xmm6
movdqu xmmword [r15 + 0x1c], xmm7
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x140001f3f
lea r8, str.BeginUpdateResource_failed._n
xor edx, edx
mov rcx, rdi
call fcn.1400038f0
jmp 0x140001fa3
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
movzx r9d, word [0x140026780]
mov r8, r14
lea rdx, [0x14001aaa8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
nop dword [rax + rax]
test eax, eax
jne 0x140001f77
lea r8, str.UpdateResource_failed._n
jmp 0x140001f33
mov rcx, rbp
call fcn.140011944
test eax, eax
jne 0x140001f8c
lea r8, str.EndUpdateResource_failed._n
jmp 0x140001f33
mov r13b, r14b
test rsi, rsi
je 0x140001fa3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
test r15, r15
je 0x140001fb0
mov rcx, r15
call sub.msvcrt.dll_free
mov bl, r13b
lea rcx, [rsp + 0x38]
call fcn.140003c50
mov al, bl
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret