Function at 0x140011c30
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx], 0
je 0x140011f0e
mov rdi, rcx
cmp qword [rcx + 8], 0
je 0x140011f0e
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140011f0e
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x140011f0e
mov ebp, dword [rdi + 0x28]
shl ebp, 7
mov r8d, ebp
or r8d, 0x7f
mov edx, dword [rdi + 0x24]
cmp r8d, edx
jb 0x140011d74
cmp edx, dword [rdi + 0x20]
jae 0x140011f0e
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011e4b
mov edx, dword [0x140064d70]
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 0x140011f0e
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011e8c
mov r8d, dword [0x140064d70]
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 0x140011f0e
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011ecd
mov eax, dword [0x140064d70]
add dword [rdi + 0x24], eax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov edx, ebp
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 0x140011f25
mov rdx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
test rdx, rdx
je 0x140011f32
mov r8, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x30]
mov cl, byte [rsp + 0x5c]
test r8, r8
je 0x140011df9
test rax, rax
je 0x140011df9
test r9d, r9d
je 0x140011df9
test cl, cl
je 0x140011df9
inc dword [rdi + 0x28]
mov qword [rsi], rdx
mov dword [rsi + 8], r9d
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rax
mov eax, dword [rsp + 0x48]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsi + 0x24], eax
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x28], eax
mov eax, dword [rsp + 0x54]
mov dword [rsi + 0x2c], eax
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x30], eax
mov byte [rsi + 0x34], cl
mov byte [rsi + 0x38], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400300f0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140064d74]
call fcn.14002ef84
cmp dword [0x140064d74], 0xffffffff
jne 0x140011cc3
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002ef24
jmp 0x140011cc3
lea rcx, [0x140064d74]
call fcn.14002ef84
cmp dword [0x140064d74], 0xffffffff
jne 0x140011d10
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002ef24
jmp 0x140011d10
lea rcx, [0x140064d74]
call fcn.14002ef84
cmp dword [0x140064d74], 0xffffffff
jne 0x140011d63
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002ef24
jmp 0x140011d63
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x140011e32
mov dword [rsp + 0x30], 0
jmp 0x140011dc2
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov cl, byte [rsp + 0x5c]
jmp 0x140011df6