Function at 0x140081880
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 [0x1402c0040]
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.14020ba80
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x1e0
call fcn.14020ba80
xor r12d, r12d
mov qword [rsp + 0x30], r14
cmp dword [0x1402ced08], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov edx, 0x410
jl 0x140081907
lea r8, ds:[rsp + 0x30]
call fcn.1401783e0
jmp 0x140081946
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 0x140081aaa
cmp dword [0x1402ced08], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, 0x400
mov qword [rsp + 0x38], r12
jl 0x140081989
lea r8, [rsp + 0x30]
call fcn.1401783e0
mov ebx, eax
jmp 0x1400819cf
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 0x140081a0d
test ebx, ebx
jns 0x140081aaa
cmp ebx, 0xc0000022
je 0x140081a0d
nop
cmp ebx, 0xc0000005
je 0x140081a0d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x1400819fb
movzx eax, bx
jmp 0x140081a18
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x140081a1c
mov eax, ebx
jmp 0x140081a18
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140081a28
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140081a32
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x14023b2dc]
mov rbx, rax
lea r9, str.Unable_to_open_the_process.
mov rcx, r15
test rax, rax
je 0x140081a96
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 0x140081ce6
lfence
call fcn.140142200
jmp 0x140081ce6
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
jmp 0x140081ce6
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14016e3e0
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.1400aec40
nop dword [rax]
test eax, eax
js 0x140081cbc
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 0x140081b2e
lea r9, [rsp + 0x60]
mov ecx, edi
lea r8, [rsp + 0x58]
call fcn.1400af260
test al, al
je 0x140081b2e
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 0x140081b00
nop dword [rax]
cmp r14, 4
jne 0x140081bbc
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 0x140081bbc
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.1400af260
nop dword [rax]
test al, al
je 0x140081bbc
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xf8], rax
mov rbx, qword [0x1402cb8d0]
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 0x140081c46
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 0x140081c46
mov rdx, qword ds:[rsp + 0x30]
lea rax, [rsp + 0x70]
lea r9, [0x140081d20]
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 0x140081c85
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140081c85
nop dword [rax]
call fcn.140142200
mov rcx, qword [rbx]
mov qword [rbx], r12
test rcx, rcx
je 0x140081caa
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140081caa
call fcn.140142200
add rbx, 0x18
sub rsi, 1
jne 0x140081c60
mov rsi, qword [rsp + 0x3e8]
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x140081cd5
mov rcx, qword [0x1402cba10]
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.1401e5e20
add rsp, 0x3a8
pop r15
pop r14
pop r12
pop rbp
ret