Function at 0x14000b550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x14002d008]
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 0x14000b80e
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 0x14000b806
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000b806
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 0x14000b7fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000b7fe
mov r8d, esi
mov qword [rsp + 0x178], r14
mov rdx, rbx
mov rcx, rax
call fcn.14000d970
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 0x14000ba7a
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14000b7f6
lea rax, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
lea r9, [0x140029698]
mov qword [rsp + 0x20], rax
mov r8d, r14d
lea rcx, [0x140020480]
xor edx, edx
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000ba6c
mov rcx, qword [rsp + 0x68]
mov r8d, r14d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000ba6c
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 0x14000ba6c
cmp dword [rsp + 0x60], r14d
jne 0x14000ba6c
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 0x14000ba6c
mov rdx, qword [rbp - 0x80]
lea r8, [rbp - 0x78]
lea rcx, [0x140020490]
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 0x14000b7f6
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 0x14000ba5e
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x14000ba5e
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x14000ba5e
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 0x14000b824
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.14000baa0
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 0x14000b7e3
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 [0x14002eda0], r15
lea rdx, str._TEMP_onefile__PID__splash_feedback.tmp
lea rcx, [0x14003de10]
call fcn.14000a3a0
mov r15, qword [rsp + 0x170]
test al, al
je 0x14000b7e6
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [0x14003de10]
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 [0x14002ed94], 1
jmp 0x14000b7e6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x14000b7f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x14000b7f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14000b7f6