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

Disassembly:
push rbp
push r12
push r14
push r15
lea rbp, [rsp - 0x308]
sub rsp, 0x408
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r14, rdx
mov r15, rcx
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x1f0
call fcn.140207110
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x1e0
call fcn.140207110
xor r12d, r12d
mov qword [rsp + 0x50], r14
cmp dword [0x1402c825c], 3
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x58], r12
mov edx, 0x410
jl 0x14007f29b
lea r8, [rsp + 0x50]
call fcn.140174cc0
jmp 0x14007f2c8
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x30
lea r9, [rsp + 0x50]
mov qword [rsp + 0x78], r12
lea r8, [rsp + 0x70]
mov dword [rbp - 0x78], r12d
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x80], r12
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov qword ss:[rsp + 0x440], rbx
mov qword ss:[rsp + 0x400], rdi
test eax, eax
jns 0x14007f42a
cmp dword [0x1402c825c], 3
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x60], r14
mov edx, 0x400
mov qword [rsp + 0x68], r12
jl 0x14007f312
lea r8, [rsp + 0x60]
call fcn.140174cc0
mov ebx, eax
jmp 0x14007f347
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x30
lea r9, [rsp + 0x60]
mov qword [rbp - 0x58], r12
lea r8, [rbp - 0x60]
mov dword [rbp - 0x48], r12d
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x50], r12
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
cmp eax, 0xc0000022
je 0x14007f38b
test ebx, ebx
jns 0x14007f42a
cmp ebx, 0xc0000022
je 0x14007f38b
cmp ebx, 0xc0000005
je 0x14007f38b
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14007f372
movzx eax, bx
jmp 0x14007f396
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14007f39a
mov eax, ebx
jmp 0x14007f396
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14007f3a7
lfence
mov ecx, ebx
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14007f3b1
lfence
mov ecx, eax
call sym.SystemInformer.exe_QiGetWin32Message
lea r8, [0x140236d98]
mov rbx, rax
lea r9, str.Unable_to_open_the_process.
mov rcx, r15
test rax, rax
je 0x14007f416
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_QiShowMessage2
lea rcx, ds:[rbx - 0x10]
mov edi, 0xffffffff
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x14007f63e
lfence
call fcn.14013fb00
jmp 0x14007f63e
mov edx, 0x10
call sym.SystemInformer.exe_QiShowMessage
jmp 0x14007f63e
mov rcx, qword [rbp - 0x30]
lea rdx, [rsp + 0x38]
call fcn.14016c080
mov rcx, qword [rbp - 8]
lea rdx, [rbp + 0x200]
test eax, eax
cmovns rcx, qword [rsp + 0x38]
mov qword [rbp - 8], rcx
mov rcx, qword [rbp - 0x30]
call fcn.1400ad2a0
nop dword [rax + rax]
test eax, eax
js 0x14007f61c
mov qword [rsp + 0x448], rsi
lea rbx, [rbp + 0x10]
lea rsi, [rbp + 0x200]
mov edi, r12d
nop
mov rdx, qword [rsi]
test rdx, rdx
je 0x14007f4aa
lea r9, [rbp - 0x20]
mov ecx, edi
lea r8, [rbp - 0x28]
call fcn.1400ad880
test al, al
je 0x14007f4aa
mov rax, qword [rbp - 0x28]
mov qword [rbx - 8], rax
mov rax, qword [rbp - 0x20]
mov qword [rbx], rax
inc edi
add rsi, 8
add rbx, 0x18
cmp edi, 0x14
jl 0x14007f480
cmp r14, 4
jne 0x14007f52b
xor r9d, r9d
lea rdx, [rbp + 0x1e4]
mov r8d, r14d
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14007f52b
mov eax, dword [rbp + 0x1e4]
lea r9, [rbp - 0x20]
mov ecx, eax
lea r8, [rbp - 0x28]
shr ecx, 4
lea rdx, [rbp + 0x1e0]
and ecx, 0x30
and eax, 0x100
or ecx, eax
shr ecx, 4
mov dword [rbp + 0x1e0], ecx
lea ecx, [r14 + 0xb]
call fcn.1400ad880
test al, al
je 0x14007f52b
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x170], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x178], rax
mov rbx, qword [0x1402c4fc8]
lea r9, [rsp + 0x40]
mov rcx, rbx
mov qword [rbp + 0x1e8], 5
mov r8d, 3
mov qword [rbp + 0x1f0], 0xd7
lea rdx, [rbp + 0x1e8]
mov qword [rbp + 0x1f8], r12
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14007f5ae
lfence
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14007f5ae
mov rdx, qword [rsp + 0x48]
lea rax, [rbp - 0x10]
lea r9, [0x14007f680]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov esi, 0x14
lea rbx, [rbp + 0x10]
lea edi, [rsi - 0x15]
nop word [rax + rax]
mov rcx, qword [rbx - 8]
mov qword [rbx - 8], r12
test rcx, rcx
je 0x14007f5e5
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007f5e5
nop dword [rax]
call fcn.14013fb00
mov rcx, qword [rbx]
mov qword [rbx], r12
test rcx, rcx
je 0x14007f60a
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007f60a
call fcn.14013fb00
add rbx, 0x18
sub rsi, 1
jne 0x14007f5c0
mov rsi, qword [rsp + 0x448]
mov r8, qword [rbp - 8]
test r8, r8
je 0x14007f634
mov rcx, qword [0x1402c5110]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
mov rdi, qword [rsp + 0x400]
mov rbx, qword [rsp + 0x440]
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x408
pop r15
pop r14
pop r12
pop rbp
ret