Function at 0x1400b6e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x14014f010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], r9
mov r15, r8
mov word [rsp + 0x50], dx
mov qword [rsp + 0x68], r8
mov r13, qword [rsp + 0xe0]
xor edi, edi
mov r14d, edi
mov ebp, edi
mov r12d, edi
call fcn.1400065e0
mov rbx, rax
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x1400b718d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400046a0
lea rsi, [rdi - 1]
test al, al
jne 0x1400b6f3b
test rbx, rbx
jne 0x1400b6f1d
mov eax, edi
jmp 0x1400b6f2a
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400b6f20
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140004940
nop
lea r8, str.RtkAudUServiceRes64.dll
lea rdx, str.RtkAudUService64.exe
lea rcx, [rsp + 0x70]
call fcn.14000bad0
lea r8, [0x1400ddee8]
lea rdx, [0x1400f74c0]
lea rcx, [rsp + 0x70]
call fcn.14000bad0
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.1400b7a70
test eax, eax
jne 0x1400b6fdc
mov dword [rsp + 0x20], edi
lea r9, str.RtkAudUServiceRes64.dll
mov r8d, 0x2bd
lea rdx, str.CWin32AppMgr::ExtractResource
lea rcx, str._s__d_sFileName_s_IsRealtekSignedFile_d
call fcn.14005be10
mov r8d, 0x2bf
lea rdx, str.CWin32AppMgr::ExtractResource
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.14005be10
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b70e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400b70e4
xor edx, edx
lea r8d, [rdx + 0x22]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x1400b702f
mov r8d, 0x2c3
lea rdx, str.CWin32AppMgr::ExtractResource
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.14005be10
nop
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400b70e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400b70e4
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b7048
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx edx, word [rsp + 0x50]
mov r8, qword [r15]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400b707c
mov r8d, 0x2c7
lea rdx, str.CWin32AppMgr::ExtractResource
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.14005be10
jmp 0x1400b70e4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ebp, eax
test eax, eax
jne 0x1400b7096
mov r8d, 0x2cb
jmp 0x1400b7067
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov r14, rax
test rax, rax
jne 0x1400b70b2
mov r8d, 0x2ce
jmp 0x1400b7067
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
test rax, rax
jne 0x1400b70c8
mov r8d, 0x2d2
jmp 0x1400b7067
cmp dword [r13], ebp
jb 0x1400b70e4
mov r8, rbp
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400c0250
mov r12d, 1
movzx ecx, word [rsp + 0x50]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], ebp
mov eax, dword [r13]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
lea r9, str.RtkAudUServiceRes64.dll
mov r8d, 0x2dc
lea rdx, str.CWin32AppMgr::ExtractResource
lea rcx, str._s__d_sFileName_s_Section_s_ResId_d_BufSize_d_ResSize_d_bSuccess_d
call fcn.14005be10
mov dword [r13], ebp
test r14, r14
je 0x1400b7138
mov rcx, r14
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeResource]
test rdi, rdi
je 0x1400b7147
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400b7162
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400b96d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005030
int3