Function at 0x140081a40
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.14020ab40
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x1e0
call fcn.14020ab40
xor r12d, r12d
mov qword [rsp + 0x30], r14
cmp dword [0x1402cddd8], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov edx, 0x410
jl 0x140081ac7
lea r8, ds:[rsp + 0x30]
call fcn.140177760
jmp 0x140081b06
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 0x140081c6a
cmp dword [0x1402cddd8], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, 0x400
mov qword [rsp + 0x38], r12
jl 0x140081b49
lea r8, [rsp + 0x30]
call fcn.140177760
mov ebx, eax
jmp 0x140081b8f
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 0x140081bcd
test ebx, ebx
jns 0x140081c6a
cmp ebx, 0xc0000022
je 0x140081bcd
nop
cmp ebx, 0xc0000005
je 0x140081bcd
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x140081bbb
movzx eax, bx
jmp 0x140081bd8
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140081bdc
mov eax, ebx
jmp 0x140081bd8
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140081be8
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140081bf2
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 0x140081c56
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 0x140081ea6
lfence
call fcn.140141ea0
jmp 0x140081ea6
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
jmp 0x140081ea6
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14016d760
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.1400aeee0
nop dword [rax]
test eax, eax
js 0x140081e7c
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 0x140081cee
lea r9, [rsp + 0x60]
mov ecx, edi
lea r8, [rsp + 0x58]
call fcn.1400af500
test al, al
je 0x140081cee
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 0x140081cc0
nop dword [rax]
cmp r14, 4
jne 0x140081d7c
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 0x140081d7c
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.1400af500
nop dword [rax]
test al, al
je 0x140081d7c
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xf8], rax
mov rbx, qword [0x1402ca9a8]
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 0x140081e06
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 0x140081e06
mov rdx, qword ds:[rsp + 0x30]
lea rax, [rsp + 0x70]
lea r9, [0x140081ee0]
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 0x140081e45
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140081e45
nop dword [rax]
call fcn.140141ea0
mov rcx, qword [rbx]
mov qword [rbx], r12
test rcx, rcx
je 0x140081e6a
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140081e6a
call fcn.140141ea0
add rbx, 0x18
sub rsi, 1
jne 0x140081e20
mov rsi, qword [rsp + 0x3e8]
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x140081e95
mov rcx, qword [0x1402caaf0]
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.1401e4a20
add rsp, 0x3a8
pop r15
pop r14
pop r12
pop rbp
ret