Function at 0x14007ddc0
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 [0x1402b5020]
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.1401dff50
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x1e0
call fcn.1401dff50
xor r12d, r12d
mov qword [rsp + 0x50], r14
cmp dword [0x1402c2f94], 3
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x58], r12
mov edx, 0x410
jl 0x14007de3b
lea r8, [rsp + 0x50]
call fcn.14016dca0
jmp 0x14007de68
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 0x14007dfca
cmp dword [0x1402c2f94], 3
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x60], r14
mov edx, 0x400
mov qword [rsp + 0x68], r12
jl 0x14007deb2
lea r8, [rsp + 0x60]
call fcn.14016dca0
mov ebx, eax
jmp 0x14007dee7
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 0x14007df2b
test ebx, ebx
jns 0x14007dfca
cmp ebx, 0xc0000022
je 0x14007df2b
cmp ebx, 0xc0000005
je 0x14007df2b
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14007df12
movzx eax, bx
jmp 0x14007df36
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14007df3a
mov eax, ebx
jmp 0x14007df36
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14007df47
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x14007df51
lfence
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x140232c58]
mov rbx, rax
lea r9, str.Unable_to_open_the_process.
mov rcx, r15
test rax, rax
je 0x14007dfb6
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 0x14007e1de
lfence
call fcn.14013d2a0
jmp 0x14007e1de
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
jmp 0x14007e1de
mov rcx, qword [rbp - 0x30]
lea rdx, [rsp + 0x38]
call fcn.140164fe0
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.1400ac7a0
nop dword [rax + rax]
test eax, eax
js 0x14007e1bc
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 0x14007e04a
lea r9, [rbp - 0x20]
mov ecx, edi
lea r8, [rbp - 0x28]
call fcn.1400acd80
test al, al
je 0x14007e04a
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 0x14007e020
cmp r14, 4
jne 0x14007e0cb
xor r9d, r9d
lea rdx, [rbp + 0x1e4]
mov r8d, r14d
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14007e0cb
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.1400acd80
test al, al
je 0x14007e0cb
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x170], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x178], rax
mov rbx, qword [0x1402bfd08]
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 0x14007e14e
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 0x14007e14e
mov rdx, qword [rsp + 0x48]
lea rax, [rbp - 0x10]
lea r9, [0x14007e220]
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 0x14007e185
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007e185
nop dword [rax]
call fcn.14013d2a0
mov rcx, qword [rbx]
mov qword [rbx], r12
test rcx, rcx
je 0x14007e1aa
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007e1aa
call fcn.14013d2a0
add rbx, 0x18
sub rsi, 1
jne 0x14007e160
mov rsi, qword [rsp + 0x448]
mov r8, qword [rbp - 8]
test r8, r8
je 0x14007e1d4
mov rcx, qword [0x1402bfe50]
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.1401dd6a0
add rsp, 0x408
pop r15
pop r14
pop r12
pop rbp
ret