Function at 0x180009cf0
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 [0x1801f7e40]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, 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 r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18000a231
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x68]
mov qword [rsp + 0x38], r15
mov r13, qword [rbp - 0x60]
mov qword [rsp + 0x50], r13
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.180013e70
nop
lea rsi, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, r8
lea rcx, [rbp - 0x20]
cmova rcx, r8
mov r14, qword [rbp - 0x10]
add r14, rcx
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rbx, r8
cmp rbx, r14
je 0x180009ddb
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x180009dc7
cmp r15, r13
jae 0x18000a1da
movabs rbx, 0x7fffffffffffffff
nop
mov r9d, Ordinal_50
lea r8, [rsp + 0x60]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x18000a1da
cmp dword [rbp - 0x80], 0x1000
jne 0x18000a1c7
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x18000a1c7
cmp eax, 0x100
je 0x18000a1c7
mov rsi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r14d, r14d
mov qword [rbp + 0x10], r14
test rsi, rsi
je 0x180009eb0
cmp rsi, rbx
ja 0x18000a267
cmp rsi, 0x1000
jb 0x180009e8b
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x18000a261
call fcn.18013fcd8
mov rcx, rax
test rax, rax
je 0x18000a224
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180009e93
mov rcx, rsi
call fcn.18013fcd8
mov qword [rbp], rax
lea rbx, [rax + rsi]
mov qword [rbp + 0x10], rbx
mov r8, rsi
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, rsi
mov r8, qword [rbp]
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000a187
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov r15, qword [rbp]
mov rbx, qword [rbp + 8]
cmp r15, rbx
jne 0x180009f0a
mov rcx, r14
mov qword [rbp - 0x30], rcx
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x40], cl
jmp 0x180009fe4
sub rbx, r15
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x18000a25b
cmp rbx, 0xf
ja 0x180009f4b
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x40], 0
jmp 0x180009fdc
mov rsi, rbx
or rsi, 0xf
cmp rsi, rax
jbe 0x180009f6a
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x180009f96
cmp rsi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
je 0x180009fbd
cmp rcx, 0x1000
jb 0x180009fb5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000a26d
mov rcx, rax
call fcn.18013fcd8
test rax, rax
je 0x18000a21d
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x180009fbd
call fcn.18013fcd8
mov r14, rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov r8, rbx
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov rcx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
lea r14, [rbp - 0x40]
mov r15, qword [rbp - 0x40]
cmp rsi, 0xf
cmova r14, r15
lea r12, [rbp - 0x40]
cmova r12, r15
add r12, rcx
lea rbx, [rbp - 0x40]
cmp rsi, 0xf
cmova rbx, r15
cmp rbx, r12
je 0x18000a034
sub r14, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + r14], al
inc rbx
cmp rbx, r12
jne 0x18000a013
mov rsi, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
mov r15, qword [rbp - 0x40]
lea r12, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r12, qword [rbp - 0x20]
lea r13, [rbp - 0x40]
cmp rsi, 0xf
cmova r13, r15
mov r14, qword [rbp - 0x10]
cmp r14, rcx
ja 0x18000a141
sub rcx, r14
test r14, r14
jne 0x18000a067
xor ebx, ebx
jmp 0x18000a0d2
lea rax, [rcx + 1]
add rax, r13
mov qword [rsp + 0x40], rax
movsx edx, byte [r12]
mov r8, rax
sub r8, r13
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18000a141
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000a0c9
inc rbx
mov r8, qword [rsp + 0x40]
sub r8, rbx
movsx edx, byte [r12]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18000a092
jmp 0x18000a141
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x18000a141
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x18000a0f3
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x18000a100
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.180017550
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r9, qword [rbp - 0x20]
lea rcx, [rbp - 0x40]
mov r15, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x28]
cmp rsi, 0xf
cmova rcx, r15
lea r8, [rbx + 1]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x30]
call fcn.180015f40
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000a0d2
cmp rsi, 0xf
jbe 0x18000a178
lea rdx, [rsi + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x18000a170
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a21d
mov rcx, r15
call fcn.18013fbb0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rcx, qword [rbp]
test rcx, rcx
je 0x18000a1bd
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a1b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a224
call fcn.18013fbb0
movabs rbx, 0x7fffffffffffffff
add r15, qword [rsp + 0x78]
mov qword [rsp + 0x38], r15
cmp r15, r13
jb 0x180009df0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x18000a231
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a22b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a22b
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.18013fbb0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18013fb90
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.1800053a0
nop
call fcn.180005300
int3
call fcn.180016d80
nop
call fcn.180005300
int3