Function at 0x14000e880
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 [0x140361080]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x60], 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 0x14000ed11
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x60]
mov qword [rsp + 0x38], r15
mov r13, qword [rbp - 0x58]
mov qword [rsp + 0x50], r13
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140019720
nop
lea rsi, [rbp - 0x18]
mov r8, qword [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rsi, r8
lea rcx, [rbp - 0x18]
cmova rcx, r8
mov r14, qword [rbp - 8]
add r14, rcx
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rbx, r8
cmp rbx, r14
je 0x14000e96b
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 0x14000e957
cmp r15, r13
jae 0x14000ecba
movabs rsi, 0x7fffffffffffffff
nop
mov r9d, Ordinal_50
lea r8, [rsp + 0x68]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14000ecba
cmp dword [rbp - 0x78], 0x1000
jne 0x14000eca8
mov eax, dword [rbp - 0x74]
cmp eax, 1
je 0x14000eca8
cmp eax, 0x100
je 0x14000eca8
mov rbx, qword [rbp - 0x80]
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
xor r14d, r14d
mov qword [rbp + 0x18], r14
test rbx, rbx
je 0x14000ea41
cmp rbx, rsi
ja 0x14000ed3b
cmp rbx, 0x1000
jb 0x14000ea17
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000ed41
call fcn.1401208a8
test rax, rax
je 0x14000ed04
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000ea22
mov rcx, rbx
call fcn.1401208a8
mov rsi, rax
mov qword [rbp + 8], rsi
lea r14, [rbx + rsi]
mov qword [rbp + 0x18], r14
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x10], r14
jmp 0x14000ea49
mov r14, qword [rbp + 0x10]
mov rsi, qword [rbp + 8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000ec66
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
cmp rsi, r14
jne 0x14000ea99
mov ecx, eax
mov qword [rbp - 0x28], rax
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x38], al
jmp 0x14000eab3
sub r14, rsi
mov r8, r14
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.14001b650
mov r14, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
lea r15, [rbp - 0x38]
mov r12, qword [rbp - 0x38]
cmp r14, 0xf
cmova r15, r12
lea r13, [rbp - 0x38]
cmova r13, r12
add r13, rcx
lea rbx, [rbp - 0x38]
cmp r14, 0xf
cmova rbx, r12
cmp rbx, r13
je 0x14000eb03
sub r15, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r15 + rbx], al
inc rbx
cmp rbx, r13
jne 0x14000eae2
mov r14, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
mov r12, qword [rbp - 0x38]
lea r13, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r13, qword [rbp - 0x18]
lea rax, [rbp - 0x38]
cmp r14, 0xf
cmova rax, r12
mov qword [rsp + 0x40], rax
mov r15, qword [rbp - 8]
cmp r15, rcx
ja 0x14000ec1f
sub rcx, r15
test r15, r15
jne 0x14000eb3b
xor ebx, ebx
jmp 0x14000ebb0
inc rcx
add rcx, rax
mov qword [rsp + 0x58], rcx
movsx edx, byte [r13]
mov r8, rcx
sub r8, rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000ec1f
nop word [rax + rax]
mov r8, r15
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000eba4
inc rbx
mov r8, qword [rsp + 0x58]
sub r8, rbx
movsx edx, byte [r13]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14000eb70
jmp 0x14000ec1f
sub rbx, qword [rsp + 0x40]
cmp rbx, 0xffffffffffffffff
je 0x14000ec1f
nop
mov rcx, qword [rsp + 0x68]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14000ebd1
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x14000ebde
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.14001c400
lea r9, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r9, qword [rbp - 0x18]
lea rcx, [rbp - 0x38]
mov r12, qword [rbp - 0x38]
mov r14, qword [rbp - 0x20]
cmp r14, 0xf
cmova rcx, r12
lea r8, [rbx + 1]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x28]
call fcn.14001b430
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ebb0
cmp r14, 0xf
jbe 0x14000ec57
lea rdx, [r14 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000ec4f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ecfd
mov rcx, r12
call fcn.1401204e0
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
test rsi, rsi
je 0x14000ec9e
mov rcx, qword [rbp + 0x18]
sub rcx, rsi
mov rax, rsi
cmp rcx, 0x1000
jb 0x14000ec93
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ed04
mov rdx, rcx
mov rcx, rsi
call fcn.1401204e0
movabs rsi, 0x7fffffffffffffff
add r15, qword [rbp - 0x80]
mov qword [rsp + 0x38], r15
cmp r15, r13
jb 0x14000e980
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14000ed11
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed0b
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.1401204e0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1401204c0
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.14001c120
nop
call fcn.14000aaa0
int3