Function at 0x1400141e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x140061018]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx], 0
je 0x1400144b8
mov rdi, rcx
cmp qword [rcx + 8], 0
je 0x1400144b8
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400144b8
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400144b8
mov ebx, dword [rdi + 0x28]
shl ebx, 7
mov ebp, ebx
or ebp, 0x7f
mov edx, dword [rdi + 0x24]
cmp ebp, edx
jb 0x140014321
cmp edx, dword [rdi + 0x20]
jae 0x1400144b8
mov eax, dword [0x140061d64]
mov ecx, dword [0x1400614b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400143f5
mov edx, dword [0x140061d60]
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 0x1400144b8
mov eax, dword [0x140061d64]
mov ecx, dword [0x1400614b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140014436
mov r8d, dword [0x140061d60]
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 0x1400144b8
mov eax, dword [0x140061d64]
mov ecx, dword [0x1400614b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140014477
mov eax, dword [0x140061d60]
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 + 0x30]
mov qword [r9 - 8], rdi
mov dword [r9], 0
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [r9 + 0x18], xmm0
mov dword [r9 + 0x28], 0x80
mov byte [r9 + 0x2c], 1
mov edx, 0x80
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400144cf
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400144dc
mov rdx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x30]
mov al, byte [rsp + 0x5c]
test rdx, rdx
je 0x1400143a4
test rbp, rbp
je 0x1400143a4
test ebx, ebx
je 0x1400143a4
test al, al
je 0x1400143a4
inc dword [rdi + 0x28]
mov qword [rsi], rcx
mov dword [rsi + 8], ebx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], rbp
mov ecx, dword [rsp + 0x48]
mov dword [rsi + 0x20], ecx
mov ecx, dword [rsp + 0x4c]
mov dword [rsi + 0x24], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rsi + 0x28], ecx
mov ecx, dword [rsp + 0x54]
mov dword [rsi + 0x2c], ecx
mov ecx, dword [rsp + 0x58]
mov dword [rsi + 0x30], ecx
mov byte [rsi + 0x34], al
mov byte [rsi + 0x38], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002f4d0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140061d64]
call fcn.14002e2bc
cmp dword [0x140061d64], 0xffffffff
jne 0x140014270
lea rbp, [rsp + 0x28]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 4]
mov dword [0x140061d60], eax
lea rcx, [0x140061d64]
call fcn.14002e25c
jmp 0x140014270
lea rcx, [0x140061d64]
call fcn.14002e2bc
cmp dword [0x140061d64], 0xffffffff
jne 0x1400142bd
lea rbp, [rsp + 0x28]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 4]
mov dword [0x140061d60], eax
lea rcx, [0x140061d64]
call fcn.14002e25c
jmp 0x1400142bd
lea rcx, [0x140061d64]
call fcn.14002e2bc
cmp dword [0x140061d64], 0xffffffff
jne 0x140014310
lea rbp, [rsp + 0x28]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 4]
mov dword [0x140061d60], eax
lea rcx, [0x140061d64]
call fcn.14002e25c
jmp 0x140014310
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x1400143dc
mov dword [rsp + 0x30], 0
jmp 0x14001436f
mov ebx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov al, byte [rsp + 0x5c]
jmp 0x1400143a1