Function at 0x180003890
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 [0x18015f080]
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 0x180003dd1
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.18000c540
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 0x18000397b
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 0x180003967
cmp r15, r13
jae 0x180003d7a
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 0x180003d7a
cmp dword [rbp - 0x80], 0x1000
jne 0x180003d67
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x180003d67
cmp eax, 0x100
je 0x180003d67
mov rsi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor r14d, r14d
mov qword [rbp + 0x10], r14
test rsi, rsi
je 0x180003a50
cmp rsi, rbx
ja 0x180003e07
cmp rsi, 0x1000
jb 0x180003a2b
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x180003e01
call fcn.180110ba8
mov rcx, rax
test rax, rax
je 0x180003dc4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180003a33
mov rcx, rsi
call fcn.180110ba8
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 0x180003d27
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 0x180003aaa
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 0x180003b84
sub rbx, r15
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x180003dfb
cmp rbx, 0xf
ja 0x180003aeb
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 0x180003b7c
mov rsi, rbx
or rsi, 0xf
cmp rsi, rax
jbe 0x180003b0a
mov rsi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x180003b36
cmp rsi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
je 0x180003b5d
cmp rcx, 0x1000
jb 0x180003b55
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003e0d
mov rcx, rax
call fcn.180110ba8
test rax, rax
je 0x180003dbd
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x180003b5d
call fcn.180110ba8
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 0x180003bd4
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 0x180003bb3
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 0x180003ce1
sub rcx, r14
test r14, r14
jne 0x180003c07
xor ebx, ebx
jmp 0x180003c72
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 0x180003ce1
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180003c69
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 0x180003c32
jmp 0x180003ce1
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x180003ce1
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x180003c93
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x180003ca0
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.18000f340
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.18000e3d0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180003c72
cmp rsi, 0xf
jbe 0x180003d18
lea rdx, [rsi + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x180003d10
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003dbd
mov rcx, r15
call fcn.180110ba0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
mov rcx, qword [rbp]
test rcx, rcx
je 0x180003d5d
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003d58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003dc4
call fcn.180110ba0
movabs rbx, 0x7fffffffffffffff
add r15, qword [rsp + 0x78]
mov qword [rsp + 0x38], r15
cmp r15, r13
jb 0x180003990
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180003dd1
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003dcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003dcb
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.180110ba0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180110b80
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.180002900
nop
call fcn.180002860
int3
call fcn.18000eec0
nop
call fcn.180002860
int3