Function at 0x140082380
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 [0x1402bb040]
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.14020c410
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x1e0
call fcn.14020c410
xor r12d, r12d
mov qword [rsp + 0x30], r14
cmp dword [0x1402c8fac], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], r12
mov edx, 0x410
jl 0x140082407
lea r8, ds:[rsp + 0x30]
call fcn.140178dc0
jmp 0x140082446
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 0x1400825aa
cmp dword [0x1402c8fac], 3
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, 0x400
mov qword [rsp + 0x38], r12
jl 0x140082489
lea r8, [rsp + 0x30]
call fcn.140178dc0
mov ebx, eax
jmp 0x1400824cf
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 0x14008250d
test ebx, ebx
jns 0x1400825aa
cmp ebx, 0xc0000022
je 0x14008250d
nop
cmp ebx, 0xc0000005
je 0x14008250d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x1400824fb
movzx eax, bx
jmp 0x140082518
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x14008251c
mov eax, ebx
jmp 0x140082518
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x140082528
lfence
mov ecx, ebx
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x140082532
lfence
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
lea r8, [0x14023c43c]
mov rbx, rax
lea r9, str.Unable_to_open_the_process.
mov rcx, r15
test rax, rax
je 0x140082596
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_Ordinal_1699
lea rcx, ds:[rbx - 0x10]
mov edi, 0xffffffff
lock xadd dword [rcx + 8], edi
cmp edi, 1
jne 0x1400827e6
lfence
call fcn.140143da0
jmp 0x1400827e6
mov edx, 0x10
call sym.SystemInformer.exe_Ordinal_1698
jmp 0x1400827e6
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14016f7a0
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.1400afd40
nop dword [rax]
test eax, eax
js 0x1400827bc
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 0x14008262e
lea r9, [rsp + 0x60]
mov ecx, edi
lea r8, [rsp + 0x58]
call fcn.1400b0360
test al, al
je 0x14008262e
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 0x140082600
nop dword [rax]
cmp r14, 4
jne 0x1400826bc
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 0x1400826bc
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.1400b0360
nop dword [rax]
test al, al
je 0x1400826bc
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xf8], rax
mov rbx, qword [0x1402c6000]
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 0x140082746
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 0x140082746
mov rdx, qword ds:[rsp + 0x30]
lea rax, [rsp + 0x70]
lea r9, [0x140082820]
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 0x140082785
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140082785
nop dword [rax]
call fcn.140143da0
mov rcx, qword [rbx]
mov qword [rbx], r12
test rcx, rcx
je 0x1400827aa
add rcx, 0xfffffffffffffff0
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400827aa
call fcn.140143da0
add rbx, 0x18
sub rsi, 1
jne 0x140082760
mov rsi, qword [rsp + 0x3e8]
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x1400827d5
mov rcx, qword [0x1402c6140]
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.1401e5e40
add rsp, 0x3a8
pop r15
pop r14
pop r12
pop rbp
ret