Function at 0x14003f4cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a0
mov r12, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x198], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f5eb
mov rbx, rax
mov ecx, 0x40
call fcn.1401c9f10
mov rsi, rax
movups xmm0, xmmword [0x140205436]
movups xmmword [rax], xmm0
movups xmm0, xmmword [0x140205446]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x140205456]
movups xmmword [rax + 0x20], xmm0
movzx eax, word [0x140205466]
mov word [rsi + 0x30], ax
xor eax, eax
mov word [rsi + 0x32], ax
lea r8, [rsp + 0x30]
mov qword [r8 + 0x10], 0
mov byte [r8 + 0x17], 8
movups xmm0, xmmword [str.MANIFEST]
movaps xmmword [r8], xmm0
mov word [r8 + 0x10], ax
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14003f667
mov rbp, rax
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14003f6dc
mov rdi, rax
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x14003f751
mov ebp, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14003f7c3
mov r15, rax
mov r14d, ebp
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
cmp ebp, 0x17
jae 0x14003f877
lea rbx, [rsp + 0x50]
mov byte [rbx + 0x17], bpl
jmp 0x14003f89e
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14003f656
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_etw_manifest_helper.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x4f
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_get_etw_manifest_from_resource:
mov r8d, 0x2a
call fcn.140007184
lea rdx, str.GetModuleHandle_returned_null.
mov r8d, 0x1e
mov rcx, rax
call fcn.140007184
mov rcx, rsi
call fcn.140061980
mov ecx, 1
call fcn.14003f90c
xor edi, edi
jmp 0x14003f853
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14003f6d2
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_etw_manifest_helper.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x5b
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_get_etw_manifest_from_resource:
mov r8d, 0x2a
call fcn.140007184
lea rdx, str.FindResource_returned_null.
mov r8d, 0x1b
mov rcx, rax
call fcn.140007184
mov rcx, rdi
call fcn.140061980
mov ecx, 2
jmp 0x14003f833
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14003f747
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_etw_manifest_helper.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x63
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_get_etw_manifest_from_resource:
mov r8d, 0x2a
call fcn.140007184
lea rdx, str.LoadResource_returned_null.
mov r8d, 0x1b
mov rcx, rax
call fcn.140007184
mov rcx, rdi
call fcn.140061980
mov ecx, 3
jmp 0x14003f833
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14003f7bc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_etw_manifest_helper.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x6b
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_get_etw_manifest_from_resource:
mov r8d, 0x2a
call fcn.140007184
lea rdx, str.SizeofResource_is_0.
mov r8d, 0x14
mov rcx, rax
call fcn.140007184
mov rcx, rdi
call fcn.140061980
mov ecx, 4
jmp 0x14003f833
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14003f82e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_etw_manifest_helper.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_get_etw_manifest_from_resource:
mov r8d, 0x2a
call fcn.140007184
lea rdx, str.LockResource_returned_null.
mov r8d, 0x1b
mov rcx, rax
call fcn.140007184
mov rcx, rdi
call fcn.140061980
mov ecx, 5
call fcn.14003f90c
xor edi, edi
cmp byte [rsp + 0x47], 0
jns 0x14003f84b
mov rcx, qword [rsp + 0x30]
call fcn.1401c9f6c
mov rcx, rsi
call fcn.1401c9f6c
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rdi, [r14 + 0x10]
and rdi, 0xfffffffffffffff0
mov rcx, rdi
call fcn.1401c9f10
mov rbx, rax
mov qword [rsp + 0x50], rax
bts rdi, 0x3f
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r14
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.1401cccd0
xor eax, eax
mov byte [rbx + r14], al
cmp byte [r12 + 0x17], al
js 0x14003f8c6
xor eax, eax
mov byte [r12], al
mov byte [r12 + 0x17], al
jmp 0x14003f8f0
mov rax, qword [r12]
xor ecx, ecx
mov byte [rax], cl
mov qword [r12 + 8], 0
cmp byte [r12 + 0x17], cl
jns 0x14003f8f0
mov rcx, qword [r12]
call fcn.1401c9f6c
mov qword [r12 + 0x10], 0
mov rax, qword [rsp + 0x60]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r12], xmm0
mov dil, 1
jmp 0x14003f83a