Function at 0x140033230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov qword [r11 - 0x78], rcx
mov ebp, dword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
lea rax, vtable.ProgressAnimator.0
mov qword [rcx], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
xor r12d, r12d
mov qword [rcx + 0x28], r12
mov qword [rcx + 0x30], 7
mov word [rcx + 0x18], r12w
lea r14, [rcx + 0x38]
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
xor eax, eax
mov qword [rcx + 0x80], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r12
lea r8d, [r12 + 0x15]
lea rdx, str.avastSfxProgressClass
lea rcx, [rdi + 0x18]
call fcn.14000be50
cmp r14, rsi
je 0x140033300
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x1400332f5
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, r14
call fcn.14000be50
mov qword [rdi + 0x60], r12
lea rax, [0x140000000]
mov qword [rdi + 0x68], rax
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x78], r12
mov eax, r12d
xchg dword [rdi + 0x84], eax
mov eax, 0xffffffff
xchg dword [rdi + 0x80], eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x10]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
movzx edx, bp
lea r8, [0x1401493e0]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140033462
mov rdx, rax
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x140033462
mov rdx, rbx
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140033462
mov edx, esi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140033462
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140033458
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call fcn.1400fe670
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x14003344f
lea ecx, [rax + 0x48]
call fcn.1400b8a40
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rax + 0x40], rcx
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140032990
mov rbx, rax
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400a96cf.0]
test rbx, rbx
je 0x140033462
mov qword [rdi + 0x78], rbx
jmp 0x140033462
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret