Function at 0x10060cd
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 0x10063bc
cmp byte [0x1015d78], 0
push ebx
push edi
mov dword [ebp - 8], esi
jbe 0x10062d8
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 + 0x10160b0]
mov dword [ebp - 0x34], eax
sbb eax, dword [esi + 0x10160b4]
mov dword [ebp + esi - 0x140], edx
mov edx, dword [ebp + esi - 0x240]
mov dword [ebp - 0x2c], eax
mov eax, ebx
sub eax, dword [esi + 0x10162b0]
mov dword [ebp + esi - 0x244], ebx
mov ebx, dword [ebp + esi - 0x144]
mov dword [ebp - 0x28], eax
mov eax, edx
sbb eax, dword [esi + 0x10162b4]
sub ebx, dword [esi + 0x10161b0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + esi - 0x140]
sbb eax, dword [esi + 0x10161b4]
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 0x1006204
push 0
push 0x64
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.01012160
push dword [ebp - 0x3c]
push ebx
push edx
push eax
call fcn.010120b0
mov cl, 0x64
sub cl, al
mov byte [ebp - 1], cl
jmp 0x1006208
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x10163b0]
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 0x1006254
push 0
push 0x64
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.01012160
push dword [ebp - 0x3c]
push ebx
push edx
push eax
call fcn.010120b0
mov byte [ebp - 1], al
jmp 0x1006258
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov ebx, dword [eax*4 + 0x1016430]
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 + 0x10161b0], eax
mov eax, dword [ebp + esi - 0x140]
mov dword [esi + 0x10161b4], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x10160b0], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x10160b4], eax
mov eax, dword [ebp + esi - 0x244]
mov dword [esi + 0x10162b0], eax
mov eax, dword [ebp + esi - 0x240]
mov dword [esi + 0x10162b4], eax
movzx eax, byte [0x1015d78]
add esp, 0xc
inc dword [ebp - 8]
add edi, 0x30
cmp dword [ebp - 8], eax
jl 0x1006120
xor esi, esi
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov eax, edi
or eax, ebx
je 0x1006307
push esi
push 0x64
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.01012160
push ebx
push edi
push edx
push eax
call fcn.010120b0
mov cl, 0x64
sub cl, al
mov byte [0x10164b4], cl
jmp 0x100630e
mov byte [0x10164b4], 0
cmp dword [ebp + 8], esi
je 0x10063ba
mov eax, edi
or eax, ebx
je 0x100633b
push esi
push 0x64
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.01012160
push ebx
push edi
push edx
push eax
call fcn.010120b0
mov byte [0x10164b5], al
jmp 0x1006342
mov byte [0x10164b5], 0
push esi
push 0x138
lea eax, [ebp - 0x37c]
push eax
push 2
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x10063ba
mov eax, dword [0x10160a8]
shr eax, 0xa
imul eax, dword [ebp - 0x34c]
mov dword [0x10164b8], eax
mov eax, dword [0x10164b0]
push 0x7cf
push eax
inc eax
push eax
mov dword [0x10164bc], esi
call dword [sym.imp.ntdll.dll_memmove]
add esp, 0xc
push esi
push 0x64
push dword [0x10164bc]
push dword [0x10164b8]
call fcn.01012160
push dword [0x10164c4]
push dword [0x10164c0]
push edx
push eax
call fcn.010120b0
mov ecx, dword [0x10164b0]
mov byte [ecx], al
pop edi
pop ebx
pop esi
leave
ret 4