Function at 0x1400a20f0
Capabilities:
Get system information on windows
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1ffd0]
mov eax, 0x200d0
call fcn.1400b5dc0
sub rsp, rax
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x1ffc0], rax
mov r13, rdx
mov rsi, rcx
cmp dword [0x1401435fc], 0
jne 0x1400a21f9
lea rcx, [0x1401435f8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rcx, [0x1400f79a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.Process32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401435c8], rax
lea rdx, str.Process32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401435d0], rax
lea rdx, str.Thread32First
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401435d8], rax
lea rdx, str.Thread32Next
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401435e0], rax
lea rdx, str.NtSuspendThread
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401435e8], rax
lea rdx, str.NtResumeThread
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401435f0], rax
cmp qword [0x140143cc8], 0
jne 0x1400a2227
lea rcx, [0x1400f79a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140143cc8], rax
mov ecx, dword [0x140143e58]
mov rax, qword gs:[0x58]
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140143640], eax
jg 0x1400a257c
mov ebx, 0xfa00
mov ecx, ebx
call fcn.1400c5a8c
mov r12, rax
mov r10, qword [0x140143cc8]
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rax
mov ecx, 5
call r10
test eax, eax
je 0x1400a22b8
nop dword [rax + rax]
mov rcx, r12
call fcn.1400c5a78
lea eax, [rbx*4]
mov ebx, eax
mov ecx, eax
call fcn.1400c5a8c
mov r12, rax
mov rax, qword [0x140143cc8]
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, r12
mov ecx, 5
call rax
test eax, eax
jne 0x1400a2280
mov r14, r12
nop dword [rax + rax]
cmp qword [r14 + 0x50], 4
jbe 0x1400a2530
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
mov rcx, qword [r14 + 0x50]
cmp rcx, rax
je 0x1400a2530
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x1400a2530
lea rbx, [r14 + 0x100]
xor esi, esi
cmp dword [r14 + 4], esi
jbe 0x1400a2527
nop
xor edx, edx
mov rcx, qword [0x140142c20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400a2527
mov r8d, dword [rbx + 0x28]
mov dword [rsp + 0x70], r8d
mov edx, dword [rbx + 0x40]
mov dword [rsp + 0x74], edx
mov rcx, qword [rbx]
mov qword [rsp + 0x78], rcx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x80], rax
mov r9, qword [rbx + 0x30]
mov qword [rbp - 0x68], r9
mov dword [rbp - 0x60], r8d
mov dword [rbp - 0x5c], edx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], rax
mov rdi, qword [0x140143630]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov dword [rsp + 0x58], ecx
mov r10, rdi
cmp byte [rax + 0x19], cl
jne 0x1400a23a8
nop dword [rax]
mov qword [rsp + 0x50], rax
cmp qword [rax + 0x20], r9
jae 0x1400a2395
mov dword [rsp + 0x58], ecx
mov rax, qword [rax + 0x10]
jmp 0x1400a23a3
mov dword [rsp + 0x58], 1
mov r10, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], cl
je 0x1400a2380
cmp byte [r10 + 0x19], cl
jne 0x1400a2487
cmp r9, qword [r10 + 0x20]
jb 0x1400a2487
lea r8, [r10 + 0x28]
mov eax, dword [r10 + 0x28]
cmp rax, qword [rbx + 0x28]
jne 0x1400a2503
mov r9, qword [rbx + 8]
lea r8, [r10 + 0x28]
cmp qword [r10 + 0x38], r9
jg 0x1400a2503
mov rax, qword [rbx]
lea r8, [r10 + 0x28]
cmp qword [r10 + 0x30], rax
jg 0x1400a2503
lea r8, [r10 + 0x28]
cmp dword [r10 + 0x2c], edx
ja 0x1400a2503
sub r9, qword [r10 + 0x38]
mov r8, rax
sub r8, qword [r10 + 0x30]
sub edx, dword [r10 + 0x2c]
mov qword [r10 + 0x30], rax
mov rax, qword [rbx + 8]
mov qword [r10 + 0x38], rax
mov eax, dword [rbx + 0x40]
mov dword [r10 + 0x2c], eax
jne 0x1400a243e
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x50], r8
mov rax, r8
test r9, r9
jne 0x1400a243e
test rax, rax
je 0x1400a2517
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r8, r15
mov edx, dword [rbx + 0x30]
mov ecx, dword [rbx + 0x28]
call fcn.1400a1bf0
test al, al
je 0x1400a2517
movzx ecx, word [rbp - 0x18]
lea ecx, [rcx*8 + 0x34]
add ecx, dword [rbp - 0x14]
lea rdx, [rbp - 0x40]
call fcn.140076b20
jmp 0x1400a2517
movabs rax, 0x3ffffffffffffff
cmp qword [0x140143638], rax
je 0x1400a2576
lea rax, [0x140143630]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rcx
mov ecx, 0x40
call fcn.1400b5680
nop
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rax + 0x30], xmm1
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
mov qword [rbp - 0x70], 0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [0x140143630]
call fcn.1400239d0
lea r8, [rax + 0x28]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r8], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [r8 + 0x10], xmm1
inc esi
add rbx, 0x50
cmp esi, dword [r14 + 4]
jb 0x1400a2310
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [r14]
test eax, eax
je 0x1400a253f
add r14, rax
jmp 0x1400a22c0
mov rcx, r12
call fcn.1400c5a78
mov eax, 1
mov rcx, qword [rbp + 0x1ffc0]
xor rcx, rsp
call fcn.1400b5660
mov rbx, qword [rsp + 0x20120]
add rsp, 0x200d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140023c30
int3
lea rcx, [0x140143640]
call fcn.1400b5b50
cmp dword [0x140143640], 0xffffffff
jne 0x1400a224e
mov ecx, 0x40
call fcn.1400b5680
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140143630], rax
lea rcx, [0x1400edb30]
call fcn.1400b59b0
nop
lea rcx, [0x140143640]
call fcn.1400b5af0
jmp 0x1400a224e