Function at 0x140002920
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov r15, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x30], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140002e7a
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r12, qword [rbp - 0x68]
mov qword [rsp + 0x38], r12
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140005b40
nop
lea rdi, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdi, r8
lea rcx, [rbp - 0x20]
cmovae rcx, r8
mov rax, qword [rbp - 0x10]
lea rsi, [rcx + rax*2]
lea rbx, [rbp - 0x20]
cmovae rbx, r8
cmp rbx, rsi
je 0x140002a09
sub rdi, rbx
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, rsi
jne 0x1400029f3
cmp r12, qword [rsp + 0x48]
jae 0x140002e2c
mov r9d, 0x30
lea r8, [rsp + 0x60]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140002e2c
cmp dword [rbp - 0x80], 0x1000
jne 0x140002e06
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x140002e06
cmp eax, 0x100
je 0x140002e06
mov rdi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor esi, esi
mov qword [rbp + 0x10], rsi
cmp rdi, 2
jb 0x140002ae3
mov rbx, rdi
and rbx, 0xfffffffffffffffe
cmp rbx, 0x1000
jb 0x140002aaa
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140002ea4
call fcn.140007e98
test rax, rax
je 0x140002e25
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140002abf
test rbx, rbx
je 0x140002abc
mov rcx, rbx
call fcn.140007e98
mov r14, rax
jmp 0x140002abf
mov r14, rsi
mov qword [rbp], r14
lea rsi, [rbx + r14]
mov qword [rbp + 0x10], rsi
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov rbx, rsi
mov qword [rbp + 8], rbx
xor esi, esi
jmp 0x140002aeb
mov rbx, qword [rbp + 8]
mov r14, qword [rbp]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, r14
mov rdx, qword [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140002dca
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
cmp r14, rbx
jne 0x140002b3b
mov rcx, rsi
mov qword [rbp - 0x30], rcx
mov r13d, 7
mov qword [rbp - 0x28], r13
mov word [rbp - 0x40], si
jmp 0x140002b58
sub rbx, r14
sar rbx, 1
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.1400072c0
mov r13, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
lea rdi, [rbp - 0x40]
cmp r13, 8
setae al
mov r12, qword [rbp - 0x40]
cmovae rdi, r12
lea rdx, [rbp - 0x40]
test al, al
je 0x140002b7c
mov rbx, r12
lea rsi, [r12 + rcx*2]
jmp 0x140002b84
lea rsi, [rdx + rcx*2]
lea rbx, [rbp - 0x40]
cmp rbx, rsi
je 0x140002bb2
sub rdi, rbx
nop dword [rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi], ax
add rbx, 2
cmp rbx, rsi
jne 0x140002b90
mov r13, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
mov r12, qword [rbp - 0x40]
lea r10, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r10, qword [rbp - 0x20]
lea rdi, [rbp - 0x40]
cmp r13, 8
cmovae rdi, r12
mov r11, qword [rbp - 0x10]
cmp r11, rcx
ja 0x140002d88
sub rcx, r11
test r11, r11
jne 0x140002be8
xor ebx, ebx
jmp 0x140002c80
lea rsi, [rcx + 1]
lea rsi, [rdi + rsi*2]
mov rbx, rdi
movzx r9d, word [r10]
nop word [rax + rax]
mov rax, rsi
sub rax, rbx
sar rax, 1
mov ecx, 0
je 0x140002c2c
cmp word [rbx], r9w
je 0x140002c29
cmp rax, 1
je 0x140002c2c
dec rax
add rbx, 2
cmp word [rbx], r9w
jne 0x140002c16
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140002d88
mov rdx, r11
mov rcx, r10
test r11, r11
je 0x140002c64
mov r8, rbx
sub r8, r10
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140002ca2
add rcx, 2
sub rdx, 1
jne 0x140002c50
sub rbx, rdi
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x140002d88
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x60]
lea rcx, [rax + rbx*2]
mov qword [rsp + 0x50], rcx
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x140002cab
mov qword [rdx], rcx
add qword [r15 + 8], 8
jmp 0x140002cb8
add rbx, 2
jmp 0x140002c00
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.140007460
inc rbx
lea r10, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r10, qword [rbp - 0x20]
lea rsi, [rbp - 0x40]
mov r12, qword [rbp - 0x40]
mov r13, qword [rbp - 0x28]
cmp r13, 8
cmovae rsi, r12
mov r11, qword [rbp - 0x10]
mov rax, qword [rbp - 0x30]
cmp r11, rax
ja 0x140002d88
sub rax, r11
cmp rbx, rax
ja 0x140002d88
test r11, r11
je 0x140002d7e
lea rdi, [rax + 1]
lea rdi, [rsi + rdi*2]
lea rbx, [rsi + rbx*2]
movzx r9d, word [r10]
nop
mov rax, rdi
sub rax, rbx
sar rax, 1
mov ecx, 0
je 0x140002d3c
cmp word [rbx], r9w
je 0x140002d39
cmp rax, 1
je 0x140002d3c
dec rax
add rbx, 2
cmp word [rbx], r9w
jne 0x140002d26
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140002d88
mov rdx, r11
mov rcx, r10
test r11, r11
je 0x140002d78
mov r8, rbx
sub r8, r10
nop word [rax + rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140002e15
add rcx, 2
sub rdx, 1
jne 0x140002d60
sub rbx, rsi
sar rbx, 1
cmp rbx, 0xffffffffffffffff
jne 0x140002c80
cmp r13, 8
jb 0x140002dc0
lea rdx, [r13*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140002db8
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e1e
mov rcx, r12
call fcn.140007e90
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
test r14, r14
je 0x140002e06
mov rax, qword [rbp + 0x10]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x140002dfe
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e25
mov rcx, r14
call fcn.140007e90
add r12, qword [rsp + 0x78]
mov qword [rsp + 0x38], r12
jmp 0x140002a09
add rbx, 2
jmp 0x140002d10
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
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140002e7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007e90
nop
mov rax, r15
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140007e70
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400021c0
nop
int3