Function at 0x180006200
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 [0x1801a30c0]
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 0x1800067b7
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.1800112a0
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 0x1800062eb
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 0x1800062d7
cmp r14, r12
jae 0x180006760
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 0x180006760
cmp dword [rbp - 0x80], 0x1000
jne 0x18000674d
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x18000674d
cmp eax, 0x100
je 0x18000674d
mov rdi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor esi, esi
mov qword [rbp + 0x10], rsi
test rdi, rdi
je 0x1800063bf
cmp rdi, rbx
ja 0x1800067ed
cmp rdi, 0x1000
jb 0x18000639a
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800067e7
call fcn.180116528
mov rcx, rax
test rax, rax
je 0x1800067aa
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800063a2
mov rcx, rdi
call fcn.180116528
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 0x18000670d
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 0x18000641a
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 0x1800064f3
sub rbx, r14
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x1800067e1
cmp rbx, 0xf
ja 0x18000645b
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 0x1800064eb
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x18000647a
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1800064a6
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
je 0x1800064cd
cmp rcx, 0x1000
jb 0x1800064c5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800067f3
mov rcx, rax
call fcn.180116528
test rax, rax
je 0x1800067a3
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1800064cd
call fcn.180116528
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 0x180006548
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 0x180006527
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 0x1800066cd
sub rcx, rdi
test rdi, rdi
jne 0x18000657c
xor ebx, ebx
jmp 0x1800065e3
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 0x1800066be
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800065d6
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 0x1800065a2
jmp 0x1800066be
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x1800066be
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180006604
mov qword [rdx], rcx
add qword [r13 + 8], 8
jmp 0x180006611
lea r8, [rsp + 0x30]
mov rcx, r13
call fcn.180013880
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 0x1800066be
sub rax, rdi
cmp rbx, rax
ja 0x1800066be
test rdi, rdi
je 0x1800066b4
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 0x1800066be
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800066b1
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 0x180006680
jmp 0x1800066be
sub rbx, r12
cmp rbx, 0xffffffffffffffff
jne 0x1800065e3
mov r12, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xf
jbe 0x180006708
lea rdx, [rcx + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180006700
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800067a3
mov rcx, r8
call fcn.180116520
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbp]
test rcx, rcx
je 0x180006743
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000673e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800067aa
call fcn.180116520
movabs rbx, 0x7fffffffffffffff
add r14, qword [rsp + 0x78]
mov qword [rsp + 0x50], r14
cmp r14, r12
jb 0x180006300
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1800067b7
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800067b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800067b1
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.180116520
nop
mov rax, r13
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180116500
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.1800049f0
nop
call fcn.180004950
int3
call fcn.180013790
nop
call fcn.180004950
int3