Function at 0x14009fde0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
xor r15d, r15d
mov dword [rsp + 0x68], edx
xor eax, eax
mov dword [rsp + 0x6c], r8d
mov qword [rbp - 0x60], rax
mov rdi, r9
mov qword [rbp - 0x58], rax
lea r9, [0x140132df0]
mov qword [rbp - 0x50], rax
lea r8d, [r15 + 1]
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov qword [rbp - 0x40], rax
lea rcx, [0x140132db0]
mov dword [rbp - 0x38], eax
xor r14b, r14b
lea rax, [rsp + 0x48]
mov dword [rbp - 0x70], r14d
xor edx, edx
mov dword [rbp + 0x58], r15d
mov r12d, r15d
mov qword [rbp - 0x68], r15
mov r13d, r15d
mov qword [rbp - 0x78], r15
mov esi, r15d
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400a00f3
lea rax, [0x1401669f8]
mov qword [rbp - 8], rdi
lea r9, [rbp - 0x30]
mov qword [rbp - 0x10], rax
lea r8d, [r15 + 3]
mov qword [rbp], r15
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400a00f3
mov rdx, qword [rbp - 0x30]
lea r9, [rbp + 0x60]
lea r8, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400a00f3
mov eax, dword [rbp + 0x60]
lea edx, [r15 + 4]
mov rcx, qword [0x140196670]
mov r8d, eax
mov rdi, qword [rbp - 0x28]
mov ebx, eax
mov dword [rsp + 0x40], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov r12, rax
call fcn.14010e700
mov rdi, qword [rsp + 0x48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x70]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea rdx, [rbp - 0x78]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
mov rdi, qword [rbp - 0x78]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x80]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov r8d, dword [rsp + 0x40]
mov rdx, r12
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
mov rdi, qword [rsp + 0x48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x140132dc0]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rdx, qword [rbp - 0x78]
lea r8d, [r15 + 1]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x60]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea rdx, [rbp + 0x58]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
cmp dword [rbp + 0x58], 1
jb 0x1400a00f3
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x68]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
cmp byte [rbp + 0x70], r13b
lea rax, [0x140132de0]
lea rsi, [0x140132dd0]
cmovne rsi, rax
mov rax, qword [rbp - 0x20]
cmp rax, qword [rsi]
jne 0x1400a006e
mov rax, qword [rbp - 0x18]
cmp rax, qword [rsi + 8]
jne 0x1400a006e
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x80], rax
jmp 0x1400a0222
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x40], r15
mov rax, qword [rdi]
mov rbx, qword [rax + 0x50]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f0
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rdx, qword [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x30], r15d
xor r9d, r9d
movsd qword [rsp + 0x28], xmm0
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r15
call rbx
mov rdi, qword [rsp + 0x40]
test eax, eax
mov rax, qword [rdi]
jns 0x1400a01d2
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
mov rsi, r13
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x1400a0112
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
test rsi, rsi
je 0x1400a0120
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400a0130
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x1400a014e
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x1400a016c
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400a018b
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1400a01aa
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
test r12, r12
je 0x1400a01c1
mov rcx, qword [0x140196670]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r14b, r14b
je 0x1400a033d
mov rax, r15
jmp 0x1400a0348
mov rbx, qword [rax]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea r8, [rbp - 0x80]
mov rcx, rdi
lea rdx, [0x140132e00]
call rbx
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rcx, rdi
call rbx
mov eax, dword [rsp + 0x68]
xor ecx, ecx
mov dword [rbp - 0x5c], eax
mov eax, dword [rsp + 0x6c]
neg eax
mov dword [rbp - 0x60], 0x28
mov dword [rbp - 0x58], eax
mov qword [rbp - 0x54], 0x200001
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r9, [rbp - 0x68]
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x20], r15
mov rcx, r13
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rdi, qword [rsp + 0x48]
mov r15, rax
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x58]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call rbx
test eax, eax
js 0x1400a00f3
mov rdi, qword [rsp + 0x78]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov r9d, dword [rsp + 0x6c]
mov rcx, rdi
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rbp - 0x80]
mov dword [rsp + 0x20], 3
call rbx
test eax, eax
js 0x1400a00f3
mov eax, dword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
mov esi, dword [rsp + 0x6c]
imul esi, eax
lea ebx, [rax*4]
mov rdx, qword [r14]
shl esi, 2
mov rdi, qword [rdx + 0x38]
mov rcx, rdi
call qword [sym.ProcessHacker.exe_PhDeleteCallback]
mov rax, qword [rbp - 0x68]
lea rdx, [rsp + 0x60]
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8d, ebx
mov rcx, r14
call rdi
mov r14d, dword [rbp - 0x70]
test eax, eax
mov rsi, qword [rsp + 0x70]
mov eax, 1
movzx r14d, r14b
cmovns r14d, eax
jmp 0x1400a00f3
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret