Function at 0x10016e10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
cmp dword [ecx + 8], 0
jne 0x10017484
lea esi, [esp + 0x88]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], edx
push esi
call fcn.1003b040
add esp, 4
push esi
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 0x88]
xor ecx, ecx
mov ebx, 1
mov edi, 0
mov dword [esp + 0x60], eax
mov eax, 0x80000000
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000004
jb 0x10017079
mov dword [esp + 0x50], eax
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 4
push 0x50
call fcn.1000d070
add esp, 8
test eax, eax
je 0x100174dd
mov dword [esp + 0x18], 5
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov ebx, 0x80000000
mov edi, 0x80000000
mov dword [esp + 0x20], 0
nop word [eax + eax]
cmp ebx, eax
mov eax, ebx
adc edi, 0
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [esp], esi
mov dword [esp + 0x68], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x18]
jne 0x10016ef5
lea eax, [esp + 0x18]
push eax
call fcn.100240d0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
mov eax, esi
inc esi
shl eax, 4
mov dword [ecx + eax], edx
mov edx, dword [esp]
mov dword [ecx + eax + 4], edx
mov edx, dword [esp + 4]
mov dword [ecx + eax + 8], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax + 0xc], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], esi
cmp ebx, eax
jae 0x10016f2f
cmp edi, eax
mov ebx, edi
jbe 0x10016ec0
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push 0x30
call fcn.1000d070
add esp, 8
test eax, eax
je 0x100174e6
mov ecx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
cmp ecx, 3
jb 0x10017027
mov ebx, dword [esp + 0x1c]
shl ecx, 4
lea edi, [esp + 8]
mov edx, dword [ebx + 0x20]
add ecx, ebx
lea esi, [ebx + 0x30]
mov dword [esp], ecx
mov ecx, edi
call fcn.100175e0
mov edx, dword [ebx + 0x24]
mov ecx, edi
call fcn.100175e0
mov edx, dword [ebx + 0x28]
mov ecx, edi
call fcn.100175e0
mov edx, dword [ebx + 0x2c]
mov ecx, edi
call fcn.100175e0
cmp esi, dword [esp]
je 0x10016ffe
mov ebx, 0xfffffff0
lea edi, [esp + 8]
nop word [eax + eax]
mov edx, dword [esi + ebx + 0x10]
mov ecx, edi
call fcn.100175e0
mov edx, dword [esi + ebx + 0x14]
mov ecx, edi
call fcn.100175e0
mov edx, dword [esi + ebx + 0x18]
mov ecx, edi
call fcn.100175e0
mov edx, dword [esi + ebx + 0x1c]
mov ecx, edi
call fcn.100175e0
mov ecx, dword [esp]
test ebx, ebx
je 0x10016ffe
lea eax, [esi + ebx + 0x20]
add ebx, 0x10
cmp eax, ecx
jne 0x10016fc0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
xor esi, esi
test ecx, ecx
je 0x10017027
nop dword [eax]
cmp byte [eax + esi], 0
je 0x1001701f
inc esi
cmp ecx, esi
jne 0x10017010
mov esi, ecx
jmp 0x10017027
cmp esi, ecx
ja 0x10017510
lea ecx, [esp + 0x28]
push esi
push eax
push ecx
call fcn.100e1df0
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x1001722c
mov ebx, 1
xor edi, edi
mov eax, dword [esp + 8]
test eax, eax
je 0x1001705f
push 1
push eax
push dword [esp + 0x14]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10017079
shl eax, 4
push 4
push eax
push dword [esp + 0x24]
call fcn.1000d080
add esp, 0xc
mov dword [esp + 0x24], ebx
mov dword [esp + 4], edi
xor eax, eax
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov eax, dword [0x106b6680]
mov dword [esp], ecx
mov esi, edx
movzx eax, byte [eax]
push 1
push 0xc
call fcn.1000d070
add esp, 8
test eax, eax
je 0x100174cc
lea edi, [esp + 8]
mov edx, ebx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov ecx, edi
call fcn.100175e0
mov ecx, edi
mov edx, esi
call fcn.100175e0
mov edx, dword [esp]
mov ecx, edi
call fcn.100175e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x10017107
xor edx, edx
nop
cmp byte [eax + edx], 0
je 0x100170fd
inc edx
cmp ecx, edx
jne 0x100170f0
jmp 0x10017107
cmp edx, ecx
ja 0x10017504
mov ecx, edx
lea edx, [esp + 0x28]
push ecx
push eax
push edx
call fcn.100e1df0
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x10017137
mov eax, dword [esp + 0x60]
cmp ax, 0xe
ja 0x10017169
mov edi, dword [eax*4 + 0x106926fc]
mov esi, dword [eax*4 + 0x10692738]
jmp 0x10017173
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test edi, edi
je 0x1001748c
js 0x100174ef
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push edi
call fcn.1000d070
add esp, 8
test eax, eax
jne 0x1001718e
jmp 0x100174f8
mov esi, 0x10692652
mov edi, 7
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push edi
call fcn.1000d070
add esp, 8
test eax, eax
je 0x100174d5
mov ebx, eax
push edi
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x100171b2
push 1
push eax
push dword [esp + 0x14]
call fcn.1000d080
add esp, 0xc
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x9c]
cmp byte [esp + 0x4c], 0
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
je 0x10017201
lea ecx, [esp + 0x54]
mov edx, ebx
call fcn.10017670
inc ebx
jne 0x10017276
xor ebx, ebx
mov eax, 8
jmp 0x100172a2
test ebx, ebx
je 0x10017264
lea esi, [ebx*8]
cmp ebx, 0xfffffff
ja 0x100174b7
push 8
push esi
call fcn.1000d0c0
add esp, 8
test eax, eax
jne 0x10017269
jmp 0x100174c0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test edi, edi
je 0x10017496
js 0x100174ef
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 1
push edi
call fcn.1000d070
add esp, 8
test eax, eax
je 0x100174f8
mov ebx, eax
jmp 0x1001749b
mov eax, 8
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
inc ebx
mov esi, ebx
shl esi, 6
cmp ebx, 0x1ffffff
ja 0x100174b7
mov eax, dword [0x106b6680]
movzx eax, byte [eax]
push 8
push esi
call fcn.1000d070
add esp, 8
test eax, eax
je 0x100174c0
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
test edi, edi
mov dword [esp + 4], ecx
je 0x100173e9
shl edi, 3
mov esi, 1
jmp 0x1001733e
mov eax, dword [esp + 0x44]
mov ecx, ebx
inc ebx
inc esi
shl ecx, 6
add edi, 0xfffffff8
mov dword [eax + ecx], 0x80000000
mov dword [eax + ecx + 0xc], 0
mov dword [eax + ecx + 0x10], edx
mov edx, dword [esp]
mov dword [eax + ecx + 0x14], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx + 0x20], edx
movsd xmm0, qword [esp + 8]
movsd qword [eax + ecx + 0x18], xmm0
mov edx, dword [esp + 0x30]
mov dword [eax + ecx + 0x2c], edx
movsd xmm0, qword [esp + 0x28]
movsd qword [eax + ecx + 0x24], xmm0
mov edx, dword [esp + 0x20]
mov dword [eax + ecx + 0x38], edx
movsd xmm0, qword [esp + 0x18]
movsd qword [eax + ecx + 0x30], xmm0
mov dword [esp + 0x48], ebx
je 0x100173e9
lea eax, [esp + 0x84]
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], 0x106926f4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x84], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], fcn.100ec7c0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 1
push ebx
lea eax, [esp + 0xc]
push eax
call fcn.100d19e0
add esp, 8
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.100d3440
add esp, 8
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100d3440
add esp, 8
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x48]
mov edx, dword [eax + esi*8 - 8]
mov eax, dword [eax + esi*8 - 4]
cmp ebx, dword [esp + 0x40]
mov dword [esp], eax
jne 0x100172d0
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x28], edx
call fcn.10023f00
mov edx, dword [esp + 0x28]
add esp, 4
jmp 0x100172d0
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x28], xmm0
test eax, eax
je 0x10017417
shl eax, 3
push 8
push eax
push dword [esp + 0xc]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x64]
test eax, eax
je 0x10017435
push 1
push eax
push dword [esp + 0x84]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1001744c
push 1
push eax
push dword [esp + 0x78]
call fcn.1000d080
add esp, 0xc
push esi
call fcn.100186f0
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1001746c
shl eax, 6
push 8
push eax
push dword [esi + 4]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x4c]
movsd qword [esi], xmm0
mov byte [esi + 0x1c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 1
jmp 0x10017190
mov ebx, 1
push edi
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
jne 0x10017050
jmp 0x1001705f
xor eax, eax
push esi
push eax
call fcn.100d0890
mov eax, 8
push esi
push eax
call fcn.100d0890
push 0xc
push 1
call fcn.100d0890
push edi
push 1
call fcn.100d0890
push 0x50
push 4
call fcn.100d0890
push 0x30
push 1
call fcn.100d0890
xor eax, eax
push edi
push eax
call fcn.100d0890
mov eax, 1
push edi
push eax
call fcn.100d0890
push 0x106926e0
push ecx
push edx
call fcn.100e1b70
push 0x106926d0
push ecx
push esi
call fcn.100e1b70
nop dword [eax]
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, esi
call fcn.10016e10
mov eax, dword [esi + 8]
pop esi
pop ebp
ret