Function at 0x1400043f0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5b8
movaps xmmword [rsp + 0x5a0], xmm6
mov rsi, rcx
lea rcx, [rsp + 0xd0]
mov r8d, 0x4d0
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x100], 0x10001f
cmp byte [0x140478030], 0
jne 0x1400045aa
movabs r15, 0x8000000000000000
lea rax, [0x140422c54]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x5f39dc80
mov edx, dword [rsp + 0x60]
call fcn.1400040e0
movabs rcx, 0xfa784a188bfb5972
xor rcx, qword [rax]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 8
call fcn.1400dcc80
cmp qword [rsp + 0x30], r15
jne 0x140004b9c
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.kernel32.dll_GetModuleHandleA
mov r14, rax
test rax, rax
jne 0x1400044cc
mov rcx, rbx
call sub.kernel32.dll_LoadLibraryA
mov r14, rax
test rax, rax
je 0x140004b68
lea rax, [0x14041e027]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x15fa94e5
mov edx, dword [rsp + 0x60]
call fcn.140004090
movabs rcx, 0x8e23026086a13edd
xor rcx, qword [rax]
mov edx, 0x2381dfb7
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0xc
shr eax, 8
xor al, 0x42
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], r8b
mov byte [rsp + 0x5d], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0xe
call fcn.1400dcc80
cmp qword [rsp + 0x30], r15
jne 0x140004bde
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
mov rdx, r12
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140004934
mov byte [0x140478030], 1
mov qword [0x140478038], rax
mov byte [r12], 0
test r15, r15
je 0x140004591
mov r8d, 1
mov rcx, r12
mov rdx, r15
call fcn.140008a40
mov byte [rbx], 0
test rdi, rdi
je 0x1400045aa
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140008a40
cmp byte [0x140478040], 0
jne 0x140004717
movabs r15, 0x8000000000000000
lea rax, [0x14041fc6f]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0xedd0dce1
mov edx, dword [rsp + 0x60]
call fcn.140004110
movabs rcx, 0xdbda0c704b4516b9
xor rcx, qword [rax]
movzx eax, byte [rax + 8]
xor al, 0x1a
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 9
call fcn.1400dcc80
cmp qword [rsp + 0x30], r15
jne 0x140004c1d
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.kernel32.dll_GetModuleHandleA
mov r14, rax
lea rax, [0x14041bbd7]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x3a526d79
mov edx, dword [rsp + 0x60]
call fcn.140004130
movabs rcx, 0x4f356ce8260712c
xor rcx, qword [rax]
mov edx, 0xab7e9abb
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0x4f
shr eax, 8
xor al, 0x13
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], r8b
mov byte [rsp + 0x5d], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0xe
call fcn.1400dcc80
cmp qword [rsp + 0x30], r15
jne 0x140004c5c
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
mov rdx, r12
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140004934
mov byte [0x140478040], 1
mov qword [0x140478048], rax
mov byte [r12], 0
test r15, r15
je 0x1400046fe
mov r8d, 1
mov rcx, r12
mov rdx, r15
call fcn.140008a40
mov byte [rbx], 0
test rdi, rdi
je 0x140004717
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140008a40
mov qword [rsp + 0xa0], rsi
lea rdx, [0x1400042e0]
mov ecx, 1
call sub.kernel32.dll_AddVectoredExceptionHandler
mov rdi, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r9d, 0x30
call sub.ntdll.dll_NtQueryInformationProcess
mov ebp, eax
mov esi, dword [rsp + 0x80]
mov rax, qword [0x140457a18]
movzx eax, byte [rax]
mov ecx, 0x100000
mov edx, 1
call fcn.140008a30
test rax, rax
je 0x140004b8d
mov dword [rsp + 0x9c], 0
lea r9, [rsp + 0x9c]
mov ecx, 5
mov qword [rsp + 0x90], rax
mov rdx, rax
mov r8d, 0x100000
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
js 0x140004ad7
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x140004ad7
mov qword [rsp + 0xb0], rdi
test ebp, ebp
mov eax, 1
cmove rax, rsi
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x90]
mov rax, rcx
add rax, 0x100
mov qword [rsp + 0xb8], rax
xor esi, esi
xorps xmm6, xmm6
lea r14, [rsp + 0xa8]
lea r15, [rsp + 0x60]
lea r12, [rsp + 0x50]
nop dword [rax]
mov rax, qword [rsp + 0xc0]
cmp qword [rcx + rsi + 0x50], rax
je 0x140004890
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rsi]
test rax, rax
je 0x140004983
add rsi, rax
cmp rsi, qword [rsp + 0xc8]
jb 0x140004850
jmp 0x140004983
mov rax, qword [rsp + 0x90]
mov edi, dword [rax + rsi + 4]
test rdi, rdi
je 0x14000485f
mov rax, qword [rsp + 0xb8]
lea rbp, [rax + rsi]
jmp 0x1400048ca
mov rax, qword [rsp + 0x38]
mov qword [rax + r13*8], rbx
inc r13
mov qword [rsp + 0x40], r13
add rbp, 0x50
dec rdi
je 0x14000485f
mov qword [rsp + 0xa8], 0
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], 0
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, r14
mov edx, 0x1fffff
mov r8, r15
mov r9, r12
call sub.ntdll.dll_NtOpenThread
test eax, eax
js 0x1400048c1
mov rbx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x40]
cmp r13, qword [rsp + 0x30]
jne 0x1400048b0
lea rcx, [rsp + 0x30]
call fcn.1400052c0
jmp 0x1400048b0
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [r12], 0
test r15, r15
je 0x140004966
mov r8d, 1
mov rcx, r12
mov rdx, r15
call fcn.140008a40
mov byte [rbx], 0
test rdi, rdi
je 0x140004b49
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
jmp 0x140004b44
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x140004abb
movabs rdi, 0xffffffff0000fffb
mov r15, qword [rsp + 0x38]
mov edx, 0x100000
mov r8d, 1
call fcn.140008a40
shl rsi, 3
xor r13d, r13d
lea rbx, [rsp + 0xd0]
lea rbp, [rdi + 3]
nop dword [rax + rax]
mov rax, r15
add rax, r13
je 0x140004a90
mov r12, qword [rax]
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtGetContextThread
test eax, eax
jne 0x140004b10
cmp byte [0x140478030], 1
jne 0x140004a2d
mov rax, qword [0x140478038]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x140]
and rax, rbp
or rax, 1
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 0
cmp byte [0x140478040], 1
jne 0x140004a68
mov rax, qword [0x140478048]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x140]
and rax, rdi
or rax, 4
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 0
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtSetContextThread
test eax, eax
jne 0x140004b10
mov rcx, r12
call sub.ntdll.dll_NtClose
add r13, 8
cmp rsi, r13
jne 0x1400049d0
mov rsi, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test r14, r14
jne 0x140004b34
jmp 0x140004b49
test r14, r14
je 0x140004ad7
mov rcx, qword [rsp + 0x38]
shl r14, 3
mov r8d, 8
mov rdx, r14
call fcn.140008a40
mov edx, 0x100000
mov r8d, 1
mov rcx, qword [rsp + 0x90]
call fcn.140008a40
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
jmp 0x140004b49
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
test r14, r14
je 0x140004b49
shl r14, 3
mov r8d, 8
mov rcx, r15
mov rdx, r14
call fcn.140008a40
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x5a0]
add rsp, 0x5b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [rbx], 0
test rdi, rdi
jne 0x140004972
jmp 0x140004b49
mov ecx, 1
mov edx, 0x100000
call fcn.1400dc200
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x1404276a8]
mov qword [rsp + 0x20], rax
lea rcx, [0x140427620]
lea r9, [0x140427600]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1400e95a0
jmp 0x140004c99
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x1404276c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140427620]
lea r9, [0x140427600]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1400e95a0
jmp 0x140004c99
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x1404276d8]
mov qword [rsp + 0x20], rax
lea rcx, [0x140427620]
lea r9, [0x140427600]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1400e95a0
jmp 0x140004c99
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x1404276f0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140427620]
lea r9, [0x140427600]
lea r8, [rsp + 0x60]
mov edx, 0x2b
call fcn.1400e95a0
ud2