Function at 0x14000b840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rbp + 0x68], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov edx, 0x1c
xor ecx, ecx
lea r8d, [rdx - 0x12]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x14000bafe
mov rdx, rax
mov qword [rsp + 0x1a8], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000baf6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000baf6
mov qword [rsp + 0x1a0], rsi
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14000baee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000baee
mov r8d, esi
mov qword [rsp + 0x178], r14
mov rdx, rbx
mov rcx, rax
call fcn.14000dc30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r14d, 1
lea r8, [rsp + 0x78]
xor ebx, ebx
mov edx, r14d
mov rcx, rdi
mov qword [rsp + 0x78], rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14000bd6a
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14000bae6
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
lea r9, [0x14002afb8]
mov qword [rsp + 0x20], rax
mov r8d, r14d
lea rcx, [0x140021490]
xor edx, edx
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000bd5c
mov rcx, qword [rsp + 0x68]
mov r8d, r14d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000bd5c
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
js 0x14000bd5c
cmp dword [rsp + 0x60], r14d
jne 0x14000bd5c
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rbx
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
test eax, eax
js 0x14000bd5c
mov rdx, qword [rbp - 0x80]
lea r8, [rbp - 0x78]
lea rcx, [0x1400214a0]
mov qword [rbp - 0x78], rbx
call qword [sym.imp.WindowsCodecs.dll_WICConvertBitmapSource]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
mov rcx, rdi
mov rsi, qword [rbp - 0x78]
call qword [rax + 0x10]
test rsi, rsi
je 0x14000bae6
mov rax, qword [rsi]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
mov rcx, rsi
mov dword [rsp + 0x78], ebx
call qword [rax + 0x18]
test eax, eax
js 0x14000bd4e
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x14000bd4e
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x14000bd4e
xorps xmm0, xmm0
mov dword [rbp + 0x3c], ecx
neg eax
mov qword [rsp + 0x1b0], r12
mov qword [rsp + 0x180], r13
xor ecx, ecx
movdqu xmmword [rbp + 0x4c], xmm0
mov dword [rbp + 0x40], eax
lea r13d, [rbx + 0x20]
mov qword [rbp + 0x5c], rbx
mov dword [rbp + 0x38], 0x28
mov qword [rbp + 0x44], 0x200001
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x28], ebx
lea r9, [rbp - 0x70]
mov rcx, rax
mov qword [rbp - 0x70], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x38]
mov rdi, rax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rdx, rdi
xor ecx, ecx
mov r12, rax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rsi
test r12, r12
jne 0x14000bb14
mov rax, qword [rsi]
call qword [rax + 0x10]
mov r13, qword [rsp + 0x180]
mov r12, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1a8]
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14000bd90
add rsp, 0x188
pop rbx
pop rbp
ret
mov eax, dword [rsp + 0x70]
xor edx, edx
mov r10, qword [rsi]
lea r8d, [rax*4]
mov rax, qword [rbp - 0x70]
mov r9d, r8d
mov qword [rsp + 0x20], rax
imul r9d, dword [rsp + 0x78]
call qword [r10 + 0x38]
test eax, eax
mov rcx, rsi
mov rax, qword [rsi]
js 0x14000bad3
mov qword [rsp + 0x170], r15
call qword [rax + 0x10]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov edx, 0x7f00
movdqa xmmword [rbp - 0x30], xmm1
xor ecx, ecx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x40], rbx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x60]
lea rax, str.Splash
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
mov rdx, qword [rbp - 0x20]
mov r9d, 0x90000080
mov qword [rsp + 0x58], rbx
xor r8d, r8d
mov qword [rsp + 0x50], rbx
mov ecx, 0x80000
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8, [rbp - 0x10]
mov edx, r13d
mov rcx, r12
mov r15, rax
call qword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [rbp - 0xc]
mov edx, r14d
mov dword [rsp + 0x68], ecx
mov ecx, dword [rbp - 8]
mov dword [rsp + 0x6c], ecx
mov rcx, rbx
mov qword [rbp - 0x80], rbx
call qword [sym.imp.USER32.dll_MonitorFromPoint]
xor ecx, ecx
lea rdx, [rbp + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x30], rcx
movups xmmword [rbp + 0x10], xmm0
mov rcx, rax
mov dword [rbp + 0x10], 0x28
movups xmmword [rbp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x2c]
xor ecx, ecx
sub eax, dword [rbp + 0x24]
sub eax, dword [rsp + 0x68]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x24]
mov dword [rbp - 0x78], eax
mov eax, dword [rbp + 0x30]
sub eax, dword [rbp + 0x28]
sub eax, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x28]
mov dword [rbp - 0x74], eax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov rdx, r12
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x60], ebx
mov rdi, rax
mov word [rsp + 0x62], 0x1ff
mov dword [rsp + 0x40], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x78]
mov rdx, r14
mov qword [rsp + 0x20], rsi
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r8d, 0x1000
mov qword [0x14002fda0], r15
lea rdx, str.TEMPonefile_PID_splash_feedback.tmp
lea rcx, [0x140040e00]
call fcn.14000a500
mov r15, qword [rsp + 0x170]
test al, al
je 0x14000bad6
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [0x140040e00]
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x14002fd91], 1
jmp 0x14000bad6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x14000bae6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x14000bae6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14000bae6