Function at 0x14000c94c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rdi
mov rax, qword [0x1400a3318]
xor rax, rbp
mov qword [rbp + 0x18], rax
mov rdi, r9
mov rax, rdx
xor r13d, r13d
mov ebx, r13d
mov qword [rbp], rbx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 8], r13
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x14000c9d2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14000cbb3
movzx edi, ax
or edi, 0x80070000
jmp 0x14000cbb3
xor r9d, r9d
lea r8d, [r9 + 0x65]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000ca17
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14000cba3
movzx edi, ax
or edi, 0x80070000
jmp 0x14000cba3
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14000c9f3
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
nop dword [rax + rax]
mov rsi, r14
mov r12d, eax
cmp byte [r12 + r14], r13b
je 0x14000cadd
inc eax
mov edi, eax
cmp eax, 0x400
ja 0x14000ca8f
mov ecx, eax
call fcn.140010600
test al, al
je 0x14000ca8f
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x14000ca7c
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14005fe20
sub rsp, rax
lea rsi, [rsp + 0x30]
jmp 0x14000cabc
lea rcx, [rdi + 0x10]
cmp rcx, rdi
jae 0x14000ca9d
mov rsi, r13
jmp 0x14000cabc
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x14000ca98
mov qword [rax], r13
mov rbx, rax
mov qword [rbp], rax
lea rsi, [rax + 0x10]
test rsi, rsi
jne 0x14000cacb
mov edi, 0x8007000e
jmp 0x14000cba3
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov byte [r12 + rsi], r13b
or r12, 0xffffffffffffffff
mov rax, r12
inc rax
cmp byte [rsi + rax], r13b
jne 0x14000cae4
lea r14d, [rax + 1]
cdqe
lea rdi, [rax*2 + 2]
cmp rdi, 0x400
ja 0x14000cb36
mov rcx, rdi
call fcn.140010600
test al, al
je 0x14000cb36
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x14000cb23
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14005fe20
sub rsp, rax
lea rdi, [rsp + 0x30]
jmp 0x14000cb5e
lea rcx, [rdi + 0x10]
cmp rcx, rdi
jb 0x14000cb91
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x14000cb91
mov qword [rax], rbx
mov rbx, rax
mov qword [rbp], rax
lea rdi, [rax + 0x10]
test rdi, rdi
je 0x14000cb91
mov word [rdi], r13w
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
mov r9d, r12d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x14000cb94
mov rdx, r13
mov r8d, dword [rbp + 0x70]
lea rcx, [rbp + 8]
call fcn.14000c690
mov edi, eax
mov rcx, r15
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
nop
jmp 0x14000cbcb
mov rcx, rbx
mov rbx, qword [rbx]
mov qword [rbp], rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
test rbx, rbx
jne 0x14000cbb5
mov eax, edi
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140002290
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x60]
lea rsp, [rbp + 0x20]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret