Function at 0x18005ec00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180194480]
xor rax, rsp
mov qword [rbp], rax
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x38], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov edx, 1
mov r8d, 0x10
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18005effc
mov rdx, rax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x18005f01f
mov r12, qword [sym.imp.KERNEL32.dll_FreeResource]
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r13, rax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, rax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18005efb6
xor esi, esi
mov eax, dword [rbp - 0x2c]
test rax, 0xfffffffffffffffc
jbe 0x18005efd9
movabs r8, 0x2000000000000004
movabs rdx, 0x2000000000000000
lea rcx, str.StringFileInfo:04x:04xFileDescription
mov qword [rbp - 0x40], 0
mov dword [rbp - 0x30], 0
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0x2c
mov rax, qword [rbp - 0x38]
lea rcx, [rax + rsi*4]
movzx eax, word [rcx]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], rdx
movzx eax, word [rcx + 2]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x60], 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm1
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.180036b40
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x40]
mov rcx, r13
call sub.VERSION.dll_VerQueryValueW
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800144a0
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], 0
mov edx, 0x10
call fcn.180002050
test ebx, ebx
je 0x18005ef44
mov ebx, dword [rbp - 0x30]
mov rdi, qword [rbp - 0x40]
test rbx, rbx
je 0x18005ef44
test rdi, rdi
jne 0x18005ee10
lea rax, str.non_zero_size_null_string_view
mov qword [rsp + 0x28], rax
lea rax, [0x18010388c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x4b9
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18005ede0
int3
mov qword [rsp + 0x20], 0
mov r9d, 0x4b9
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.1800aa0a0
nop dword [rax]
test rbx, rbx
jne 0x18005ee76
lea rax, str.cannot_call_back_on_empty_string_view
mov qword [rsp + 0x28], rax
lea rax, [0x18010388c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x531
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18005ee4d
int3
mov qword [rsp + 0x20], 0
mov r9d, 0x531
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._cannot_call_back_on_empty_string_view_
call fcn.1800aa0a0
cmp word [rdi + rbx*2 - 2], 0
jne 0x18005ef3f
lea rax, [rbx - 1]
cmp rbx, rax
cmovb rax, rbx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18005ef23
test rdi, rdi
jne 0x18005ef23
lea rax, str.non_zero_size_null_string_view
mov qword [rsp + 0x28], rax
lea rax, [0x18010388c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x4b9
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18005eedd
int3
mov qword [rsp + 0x20], 0
mov r9d, 0x4b9
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.1800aa0a0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rbx, xmm0
movq rdi, xmm1
jmp 0x18005ee10
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x20], xmm0
test rax, rax
je 0x18005ef44
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x20]
jmp 0x18005ee10
test rbx, rbx
jne 0x18005ef5c
inc rsi
mov eax, dword [rbp - 0x2c]
shr rax, 2
cmp rsi, rax
jae 0x18005efd9
jmp 0x18005ecbb
xor eax, eax
mov qword [r14], rax
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.180001c20
nop
test r15, r15
je 0x18005ef8c
mov rcx, r15
call r12
nop
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18009f1a0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Invalid_version_information__1_
lea rcx, [rsp + 0x30]
call fcn.18000fd80
lea rdx, [0x1801923c8]
lea rcx, [rsp + 0x30]
call fcn.1800a1670
int3
lea rdx, str.Invalid_version_information__2_
lea rcx, [rsp + 0x30]
call fcn.18000fd80
lea rdx, [0x1801923c8]
lea rcx, [rsp + 0x30]
call fcn.1800a1670
nop
lea rdx, str.No_such_resource
lea rcx, [rsp + 0x30]
call fcn.18000fd80
lea rdx, [0x1801923c8]
lea rcx, [rsp + 0x30]
call fcn.1800a1670
int3
lea rdx, str.LoadResource_failure
lea rcx, [rsp + 0x30]
call fcn.18000fd80
lea rdx, [0x1801923c8]
lea rcx, [rsp + 0x30]
call fcn.1800a1670
int3