Function at 0x180006d90
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 [0x181a970c0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov r13, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x48], 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 + 0x48], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x180007347
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x68]
mov qword [rsp + 0x50], r14
mov r12, qword [rbp - 0x60]
mov qword [rsp + 0x40], r12
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1800123b0
nop
lea rdi, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdi, r8
lea rcx, [rbp - 0x20]
cmova rcx, r8
mov rsi, qword [rbp - 0x10]
add rsi, rcx
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x180006e7b
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x180006e67
cmp r14, r12
jae 0x1800072f0
movabs rbx, 0x7fffffffffffffff
nop
mov r9d, Ordinal_50
lea r8, [rsp + 0x60]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1800072f0
cmp dword [rbp - 0x80], 0x1000
jne 0x1800072dd
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x1800072dd
cmp eax, 0x100
je 0x1800072dd
mov rdi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor esi, esi
mov qword [rbp + 0x10], rsi
test rdi, rdi
je 0x180006f4f
cmp rdi, rbx
ja 0x18000737d
cmp rdi, 0x1000
jb 0x180006f2a
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x180007377
call fcn.180118878
mov rcx, rax
test rax, rax
je 0x18000733a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180006f32
mov rcx, rdi
call fcn.180118878
mov qword [rbp], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x10], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 8], rbx
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, qword [rbp]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000729d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov r14, qword [rbp]
mov rbx, qword [rbp + 8]
cmp r14, rbx
jne 0x180006faa
mov rcx, rsi
mov qword [rbp - 0x30], rcx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], cl
jmp 0x180007083
sub rbx, r14
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x180007371
cmp rbx, 0xf
ja 0x180006feb
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x40], 0
jmp 0x18000707b
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x18000700a
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x180007036
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
je 0x18000705d
cmp rcx, 0x1000
jb 0x180007055
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180007383
mov rcx, rax
call fcn.180118878
test rax, rax
je 0x180007333
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18000705d
call fcn.180118878
mov rsi, rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov r14, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
lea rdi, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
mov qword [rsp + 0x30], r8
cmp r14, 0xf
cmova rdi, r8
lea rsi, [rbp - 0x40]
cmova rsi, r8
add rsi, rcx
lea rbx, [rbp - 0x40]
cmp r14, 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x1800070d8
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x1800070b7
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
mov qword [rsp + 0x30], r8
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, qword [rbp - 0x20]
lea r14, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r14, r8
mov rdi, qword [rbp - 0x10]
cmp rdi, rcx
ja 0x18000725d
sub rcx, rdi
test rdi, rdi
jne 0x18000710c
xor ebx, ebx
jmp 0x180007173
lea r15, [r14 + rcx]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18000724e
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180007166
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180007132
jmp 0x18000724e
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x18000724e
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180007194
mov qword [rdx], rcx
add qword [r13 + 8], 8
jmp 0x1800071a1
lea r8, [rsp + 0x30]
mov rcx, r13
call fcn.180014900
inc rbx
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, qword [rbp - 0x20]
lea r12, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rbp - 0x28], 0xf
cmova r12, rax
mov rdi, qword [rbp - 0x10]
mov rax, qword [rbp - 0x30]
cmp rdi, rax
ja 0x18000724e
sub rax, rdi
cmp rbx, rax
ja 0x18000724e
test rdi, rdi
je 0x180007244
lea r14, [rax + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18000724e
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180007241
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180007210
jmp 0x18000724e
sub rbx, r12
cmp rbx, 0xffffffffffffffff
jne 0x180007173
mov r12, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xf
jbe 0x180007298
lea rdx, [rcx + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180007290
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007333
mov rcx, r8
call fcn.180118870
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbp]
test rcx, rcx
je 0x1800072d3
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800072ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000733a
call fcn.180118870
movabs rbx, 0x7fffffffffffffff
add r14, qword [rsp + 0x78]
mov qword [rsp + 0x50], r14
cmp r14, r12
jb 0x180006e90
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180007347
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007341
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007341
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180118870
nop
mov rax, r13
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180118850
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.180005530
nop
call fcn.180005490
int3
call fcn.1800147b0
nop
call fcn.180005490
int3