Function at 0x140014240
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x14005e018]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx], 0
je 0x14001450a
mov rdi, rcx
cmp qword [rcx + 8], 0
je 0x14001450a
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001450a
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14001450a
mov ebx, dword [rdi + 0x28]
shl ebx, 7
mov ebp, ebx
or ebp, 0x7f
mov edx, dword [rdi + 0x24]
cmp ebp, edx
jb 0x140014381
cmp edx, dword [rdi + 0x20]
jae 0x14001450a
mov eax, dword [0x14005ed3c]
mov ecx, dword [0x14005e488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140014447
mov edx, dword [0x14005ed38]
mov ecx, dword [rdi + 0x24]
add rcx, qword [rdi + 0x10]
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001450a
mov eax, dword [0x14005ed3c]
mov ecx, dword [0x14005e488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140014488
mov r8d, dword [0x14005ed38]
mov edx, dword [rdi + 0x24]
add rdx, qword [rdi + 0x18]
mov rcx, qword [rdi]
mov dword [rsp + 0x20], 0x20
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x14001450a
mov eax, dword [0x14005ed3c]
mov ecx, dword [0x14005e488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400144c9
mov eax, dword [0x14005ed38]
add dword [rdi + 0x24], eax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov edx, ebx
add rax, rdx
add rcx, rdx
lea r9, [rsp + 0x38]
mov qword [r9 - 8], rdi
mov dword [r9], 0
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rax
mov qword [r9 + 0x18], 0
mov dword [r9 + 0x20], 0x80
mov byte [r9 + 0x24], 1
mov edx, 0x80
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140014525
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140014532
mov rdx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x38]
mov cl, byte [rsp + 0x5c]
test rdx, rdx
je 0x140014404
test rbp, rbp
je 0x140014404
test ebx, ebx
je 0x140014404
test cl, cl
je 0x140014404
inc dword [rdi + 0x28]
mov qword [rsi], rax
mov dword [rsi + 8], ebx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x54]
mov dword [rsi + 0x24], eax
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x28], eax
mov byte [rsi + 0x2c], cl
mov byte [rsi + 0x30], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002c730
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x14005ed3c]
call fcn.14002b51c
cmp dword [0x14005ed3c], 0xffffffff
jne 0x1400142d0
lea rbp, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 4]
mov dword [0x14005ed38], eax
lea rcx, [0x14005ed3c]
call fcn.14002b4bc
jmp 0x1400142d0
lea rcx, [0x14005ed3c]
call fcn.14002b51c
cmp dword [0x14005ed3c], 0xffffffff
jne 0x14001431d
lea rbp, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 4]
mov dword [0x14005ed38], eax
lea rcx, [0x14005ed3c]
call fcn.14002b4bc
jmp 0x14001431d
lea rcx, [0x14005ed3c]
call fcn.14002b51c
cmp dword [0x14005ed3c], 0xffffffff
jne 0x140014370
lea rbp, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 4]
mov dword [0x14005ed38], eax
lea rcx, [0x14005ed3c]
call fcn.14002b4bc
jmp 0x140014370
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x30], 0
jmp 0x14001442e
mov dword [rsp + 0x38], 0
jmp 0x1400143cf
mov ebx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov cl, byte [rsp + 0x5c]
jmp 0x140014401