Function at 0x10060cb
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x97c
push esi
xor esi, esi
push esi
push 0x600
lea eax, [ebp - 0x97c]
push eax
push 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x10063ba
cmp byte [0x1014e08], 0
push ebx
push edi
mov dword [ebp - 8], esi
jbe 0x10062d6
lea edi, [ebp - 0x97c]
mov esi, dword [ebp - 8]
mov ecx, dword [edi]
mov ebx, dword [edi + 8]
mov edx, dword [edi + 4]
shl esi, 3
sub ebx, ecx
lea eax, [ebp + esi - 0x344]
mov dword [eax], ecx
mov ecx, dword [edi + 0xc]
sbb ecx, edx
mov dword [ebp + esi - 0x240], ecx
mov ecx, dword [edi + 0x10]
add ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x14]
adc edx, dword [edi + 0xc]
mov dword [ebp + esi - 0x144], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], ecx
sub ecx, dword [esi + 0x1015128]
mov dword [ebp - 0x34], eax
sbb eax, dword [esi + 0x101512c]
mov dword [ebp + esi - 0x140], edx
mov edx, dword [ebp + esi - 0x240]
mov dword [ebp - 0x2c], eax
mov eax, ebx
sub eax, dword [esi + 0x1015328]
mov dword [ebp + esi - 0x244], ebx
mov ebx, dword [ebp + esi - 0x144]
mov dword [ebp - 0x28], eax
mov eax, edx
sbb eax, dword [esi + 0x101532c]
sub ebx, dword [esi + 0x1015228]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + esi - 0x140]
sbb eax, dword [esi + 0x101522c]
add dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
adc dword [ebp - 0x14], ecx
add dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
adc dword [ebp - 0xc], eax
add dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
adc dword [ebp - 0x1c], ecx
mov ecx, ebx
or ecx, eax
je 0x1006202
push 0
push 0x64
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.01010c90
push dword [ebp - 0x3c]
push ebx
push edx
push eax
call fcn.01010be0
mov cl, 0x64
sub cl, al
mov byte [ebp - 1], cl
jmp 0x1006206
and byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x1015428]
push 0x7cf
push eax
mov dword [ebp - 0x44], eax
inc eax
push eax
call dword [sym.imp.ntdll.dll_memmove]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x44]
mov byte [ecx], al
mov eax, ebx
add esp, 0xc
or eax, dword [ebp - 0x3c]
je 0x1006252
push 0
push 0x64
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.01010c90
push dword [ebp - 0x3c]
push ebx
push edx
push eax
call fcn.01010be0
mov byte [ebp - 1], al
jmp 0x1006256
and byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov ebx, dword [eax*4 + 0x10154a8]
push 0x7cf
lea eax, [ebx + 1]
push ebx
push eax
call dword [sym.imp.ntdll.dll_memmove]
mov al, byte [ebp - 1]
mov byte [ebx], al
mov eax, dword [ebp + esi - 0x144]
mov dword [esi + 0x1015228], eax
mov eax, dword [ebp + esi - 0x140]
mov dword [esi + 0x101522c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1015128], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x101512c], eax
mov eax, dword [ebp + esi - 0x244]
mov dword [esi + 0x1015328], eax
mov eax, dword [ebp + esi - 0x240]
mov dword [esi + 0x101532c], eax
movzx eax, byte [0x1014e08]
add esp, 0xc
inc dword [ebp - 8]
add edi, 0x30
cmp dword [ebp - 8], eax
jl 0x100611e
xor esi, esi
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov eax, edi
or eax, ebx
je 0x1006305
push esi
push 0x64
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.01010c90
push ebx
push edi
push edx
push eax
call fcn.01010be0
mov cl, 0x64
sub cl, al
mov byte [0x101552c], cl
jmp 0x100630c
and byte [0x101552c], 0
cmp dword [ebp + 8], esi
je 0x10063b8
mov eax, edi
or eax, ebx
je 0x1006339
push esi
push 0x64
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.01010c90
push ebx
push edi
push edx
push eax
call fcn.01010be0
mov byte [0x101552d], al
jmp 0x1006340
and byte [0x101552d], 0
push esi
push 0x138
lea eax, [ebp - 0x37c]
push eax
push 2
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x10063b8
mov eax, dword [0x1015124]
shr eax, 0xa
imul eax, dword [ebp - 0x34c]
mov dword [0x1015530], eax
mov eax, dword [0x1015528]
push 0x7cf
push eax
inc eax
push eax
mov dword [0x1015534], esi
call dword [sym.imp.ntdll.dll_memmove]
add esp, 0xc
push esi
push 0x64
push dword [0x1015534]
push dword [0x1015530]
call fcn.01010c90
push dword [0x101553c]
push dword [0x1015538]
push edx
push eax
call fcn.01010be0
mov ecx, dword [0x1015528]
mov byte [ecx], al
pop edi
pop ebx
pop esi
leave
ret 4