Function at 0x1400478e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword ss:[rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.140209e10
sub rsp, rax
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x68]
mov r8d, 0x1088
call fcn.14020ab40
mov esi, dword [0x1402cddd8]
lea r9, [rsp + 0x38]
xor r14d, r14d
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], rbx
lea r8, [rbp + 0xff0]
mov qword [rsp + 0x40], r14
mov edx, 0x40
mov dword [rbp + 0xff0], 0x30
lea rcx, [rsp + 0x68]
mov qword [rbp + 0xff8], r14
movdqu xmmword [rbp + 0x1010], xmm0
mov dword [rbp + 0x1008], r14d
mov qword [rbp + 0x1000], r14
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x1400479b3
cmp esi, 5
jne 0x1400479f5
lea r8, [rsp + 0x38]
mov edx, 0x40
lea rcx, [rsp + 0x68]
call fcn.140177760
mov ebx, eax
test ebx, ebx
jns 0x140047a99
nop dword [rax + rax]
cmp ebx, 0xc0000022
je 0x1400479f5
cmp ebx, 0xc0000005
je 0x1400479f5
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x1400479e3
movzx eax, bx
jmp 0x140047a06
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140047a0a
mov eax, ebx
jmp 0x140047a06
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140047a16
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140047a25
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r9, str.Unable_to_open_the_process
lea r8, [0x14023a10c]
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x140047a8a
lfence
lfence
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov edi, 0xffffffff
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x140047c55
lfence
call fcn.140141ea0
jmp 0x140047c55
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
jmp 0x140047c55
lea rax, str.EnableHandleSnapshot
mov qword [rsp + 0x38], 0x28
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov rdx, qword [rsp + 0x68]
lea r9, [rbp - 0x28]
mov rcx, qword [rsp + 0x60]
test eax, eax
lea rax, [rsp + 0x30]
setne r8b
mov qword [rsp + 0x20], rax
call fcn.1401647e0
mov ebx, eax
test eax, eax
jns 0x140047b68
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp ebx, 0xc0000022
je 0x140047b2d
nop dword [rax + rax]
cmp ebx, 0xc0000005
je 0x140047b2d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140047b1b
movzx eax, bx
jmp 0x140047b38
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140047b3c
mov eax, ebx
jmp 0x140047b38
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140047b52
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
lea r9, str.Unable_to_enumerate_process_handles
jmp 0x140047a2c
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r9, str.Unable_to_enumerate_process_handles
jmp 0x140047a2c
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x1010
call fcn.14020ab40
mov rbx, qword [0x1402ca9a8]
lea r9, [rsp + 0x50]
mov rcx, rbx
mov qword [rbp + 0xff0], 5
mov r8d, 3
mov qword [rbp + 0xff8], 0xbc
lea rdx, [rbp + 0xff0]
mov qword [rbp + 0x1000], r14
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140047bfd
lfence
mov rdx, qword [rsp + 0x50]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140047bfd
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
lea r9, [0x140047c80]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
lea rbx, [rbp - 0x20]
mov esi, 0x101
mov edi, 0xffffffff
nop dword [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140047c2d
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140047c2d
call fcn.140141ea0
add rbx, 0x10
sub rsi, 1
jne 0x140047c10
mov r8, qword [rbp - 0x28]
xor edx, edx
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp + 0x1020]
xor rcx, rsp
call fcn.1401e4a20
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret