Function at 0x140019d40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xd0
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, r9
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x21], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rbp - 0x71], xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x51], xmm1
movups xmmword [rbp - 0x41], xmm1
movups xmmword [rbp - 0x31], xmm1
lea rcx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rbp - 0x49]
test rbx, rbx
cmovne rsi, rbx
mov rbx, qword [rbp - 0x41]
mov rax, qword [rbp + 0x6f]
test rax, rax
cmovne rbx, rax
mov qword [rsp + 0x38], rbx
cmp rsi, rbx
jae 0x14001a008
mov r13d, dword [rbp + 0x77]
nop dword [rax]
mov r9d, Ordinal_50
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, qword [0x140109fa0]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140019ff9
cmp dword [rbp - 0x61], 0x1000
jne 0x140019fea
mov eax, dword [rbp - 0x5d]
bt eax, 8
jb 0x140019fea
test al, 4
jne 0x140019e1a
test al, 8
je 0x140019fea
xor r12d, r12d
mov rcx, qword [rsp + 0x40]
mov r15, rcx
mov rdx, qword [rbp - 0x69]
lea rax, [rcx + rdx]
cmp rcx, rax
jae 0x140019ff3
nop word [rax + rax]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov qword [rbp - 9], rax
mov ecx, 0x1027
call fcn.1400bba90
test rax, rax
je 0x14001a07b
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 0x19], rcx
lea rbx, [rcx + 0x1000]
mov qword [rbp - 9], rbx
xor edx, edx
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x11], rbx
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
mov r8, qword [rbp - 0x19]
mov rdx, r15
mov rcx, qword [0x140109fa0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140019f6a
mov r9, qword [r14 + 8]
mov r8, qword [r14]
mov rcx, r9
sub rcx, r8
cmp qword [rbp - 1], rcx
je 0x140019f6a
mov rbx, r15
mov rsi, r15
neg rsi
sub r9, r8
je 0x140019f0c
mov rax, r8
mov r10, rsi
sub r10, r8
add r10, rbx
add r10, qword [rbp - 0x19]
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0x99
je 0x140019efe
cmp byte [r10 + rax], cl
jne 0x140019f46
inc rax
mov rcx, rax
sub rcx, r8
cmp rcx, r9
jb 0x140019ef0
mov r8, rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
call fcn.14005e470
mov rdx, qword [rdi + 8]
cmp rax, rdx
jne 0x140019f46
mov qword [rsp + 0x30], rbx
cmp rdx, qword [rdi + 0x10]
je 0x140019f39
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x140019f46
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140012570
inc rbx
mov r9, qword [r14 + 8]
mov r8, qword [r14]
mov rdx, r9
sub rdx, r8
lea rcx, [rsi + rbx]
mov rax, qword [rbp - 1]
sub rax, rdx
cmp rcx, rax
jb 0x140019ed8
inc r12d
cmp r12d, r13d
jbe 0x140019f88
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x30]
call fcn.14000b230
xor r12d, r12d
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140019fc2
mov rdx, qword [rbp - 9]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a07b
call fcn.1400bbd1c
add r15, 0x1000
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rsp + 0x40]
lea rax, [rdx + rcx]
cmp r15, rax
jb 0x140019e40
mov rbx, qword [rsp + 0x38]
lea rsi, [rdx + rcx]
jmp 0x140019fff
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rsp + 0x40]
lea rsi, [rdx + rcx]
jmp 0x140019fff
mov eax, dword [rbp - 0x4d]
add rsi, rax
cmp rsi, rbx
jb 0x140019dd0
mov rcx, qword [r14]
test rcx, rcx
je 0x14001a054
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a038
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001a082
mov rcx, r8
call fcn.1400bbd1c
mov qword [r14], 0
mov qword [r14 + 8], 0
mov qword [r14 + 0x10], 0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400bb950
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3