Function at 0x140081b00
Capabilities:
Extract resource via kernel32 functions
Get system information on windows

Disassembly:
push rbp
push r12
push r14
push r15
lea rbp, [rsp - 0x2a8]
sub rsp, 0x3a8
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r14, rdx
mov r15, rcx
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x1f0
call fcn.14020a280
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x1e0
call fcn.14020a280
xor r12d, r12d
mov qword [rsp + 0x30], r14
cmp dword [0x1402cddb8], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov edx, 0x410
jl 0x140081b87
lea r8, ds:[rsp + 0x30]
call fcn.140176ee0
jmp 0x140081bc6
xorps xmm0, xmm0
mov dword [rbp + 0x168], 0x30
lea r9, [rsp + 0x30]
mov qword [rbp + 0x170], r12
lea r8, [rbp + 0x168]
mov dword [rbp + 0x180], r12d
movdqu xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x178], r12
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov qword [rsp + 0x3e0], rbx
mov qword [rsp + 0x3a0], rdi
test eax, eax
jns 0x140081d2a
cmp dword [0x1402cddb8], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, 0x400
mov qword [rsp + 0x38], r12
jl 0x140081c09
lea r8, [rsp + 0x30]
call fcn.140176ee0
mov ebx, eax
jmp 0x140081c4f
xorps xmm0, xmm0
mov dword [rbp + 0x168], 0x30
lea r9, [rsp + 0x30]
mov qword [rbp + 0x170], r12
lea r8, [rbp + 0x168]
mov dword [rbp + 0x180], r12d
movdqu xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x178], r12
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
cmp eax, 0xc0000022
je 0x140081c8d
test ebx, ebx
jns 0x140081d2a
cmp ebx, 0xc0000022
je 0x140081c8d
nop
cmp ebx, 0xc0000005
je 0x140081c8d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140081c7b
movzx eax, bx
jmp 0x140081c98
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140081c9c
mov eax, ebx
jmp 0x140081c98
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140081ca8
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140081cb2
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x14023a10c]
mov rbx, rax
lea r9, str.Unable_to_open_the_process.
mov rcx, r15
test rax, rax
je 0x140081d16
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, ds:[rbx - 0x10]
mov edi, 0xffffffff
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x140081f66
lfence
call fcn.140141ca0
jmp 0x140081f66
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
jmp 0x140081f66
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14016cf80
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp + 0x1a0]
test eax, eax
cmovns rcx, qword [rsp + 0x40]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0x50]
call fcn.1400aee80
nop dword [rax]
test eax, eax
js 0x140081f3c
mov qword [rsp + 0x3e8], rsi
lea rbx, [rbp - 0x70]
lea rsi, [rbp + 0x1a0]
mov edi, r12d
nop
mov rdx, qword [rsi]
test rdx, rdx
je 0x140081dae
lea r9, [rsp + 0x60]
mov ecx, edi
lea r8, [rsp + 0x58]
call fcn.1400af4a0
test al, al
je 0x140081dae
mov rax, qword [rsp + 0x58]
mov qword [rbx - 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
inc edi
add rsi, 8
add rbx, 0x18
cmp edi, 0x14
jb 0x140081d80
nop dword [rax]
cmp r14, 4
jne 0x140081e3c
xor r9d, r9d
lea rdx, [rbp + 0x164]
mov r8d, r14d
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop
test eax, eax
js 0x140081e3c
mov eax, dword [rbp + 0x164]
lea r9, [rsp + 0x60]
mov ecx, eax
lea r8, [rsp + 0x58]
shr ecx, 4
lea rdx, [rbp + 0x160]
and ecx, 0x30
and eax, 0x100
or ecx, eax
shr ecx, 4
mov dword [rbp + 0x160], ecx
mov ecx, 0xf
call fcn.1400af4a0
nop dword [rax]
test al, al
je 0x140081e3c
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xf8], rax
mov rbx, qword [0x1402ca988]
lea r9, [rsp + 0x48]
mov rcx, rbx
mov qword [rbp + 0x168], 5
mov r8d, 3
mov qword [rbp + 0x170], 0xd7
lea rdx, [rbp + 0x168]
mov qword [rbp + 0x178], r12
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140081ec6
lfence
mov rdx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140081ec6
mov rdx, qword ds:[rsp + 0x30]
lea rax, [rsp + 0x70]
lea r9, [0x140081fa0]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
lea rbx, [rbp - 0x70]
mov esi, 0x14
mov edi, 0xffffffff
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx - 8]
mov qword [rbx - 8], r12
test rcx, rcx
je 0x140081f05
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140081f05
nop dword [rax]
call fcn.140141ca0
mov rcx, qword [rbx]
mov qword [rbx], r12
test rcx, rcx
je 0x140081f2a
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140081f2a
call fcn.140141ca0
add rbx, 0x18
sub rsi, 1
jne 0x140081ee0
mov rsi, qword [rsp + 0x3e8]
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x140081f55
mov rcx, qword [0x1402caad0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword ds:[rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov rdi, qword [rsp + 0x3a0]
mov rbx, qword [rsp + 0x3e0]
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x3a8
pop r15
pop r14
pop r12
pop rbp
ret