Function at 0x10012acc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006678d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10012d90
mov dword [ebp - 0x40], 0x4c6a
mov dword [ebp - 0xa8], 0x10007c78
cmp dword [ebp - 0x40], 0x504c
jle 0x10012b95
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
and dword [ebp - 0x38], 0
jmp 0x10012b2c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5d76
jge 0x10012b95
and dword [ebp - 0x1c], 0
jmp 0x10012b42
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x50de
jge 0x10012b93
and dword [ebp - 0x34], 0
jmp 0x10012b58
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x19c1
jge 0x10012b91
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
and eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x10012b51
jmp 0x10012b3b
jmp 0x10012b25
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x4c57
jge 0x10012bb8
mov edx, dword [ebp - 0xa8]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x10012bd4
or dword [ebp - 4], 0xffffffff
jmp 0x10012bde
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10012c26
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov byte [eax], 1
jmp 0x10012d8b
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x44], 0x1ed0
mov dword [ebp - 0x74], 0x10007cf0
cmp dword [ebp - 0x44], 0x21bd
jle 0x10012d10
and dword [ebp - 0x24], 0
jmp 0x10012c5d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x611
jge 0x10012d10
and dword [ebp - 0x3c], 0
jmp 0x10012c77
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x3bc9
jge 0x10012d0b
and dword [ebp - 0x2c], 0
jmp 0x10012c91
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x27ea
jge 0x10012d06
and dword [ebp - 0x14], 0
jmp 0x10012ca7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x661f
jge 0x10012d04
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x3c]
xor edx, dword [ebp - 0x2c]
xor edx, dword [ebp - 0x14]
mov eax, edx
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xd8]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.100130a8
jmp 0x10012ca0
jmp 0x10012c8a
jmp 0x10012c70
jmp 0x10012c56
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x1ca6
jge 0x10012d35
push dword [ebp - 0x74]
call fcn.10050ebf
pop ecx
jmp 0x10012d51
or dword [ebp - 4], 0xffffffff
jmp 0x10012d5b
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x50]
call fcn.100133d8
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10012ee4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10012ec1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x48], 0x4537
mov dword [ebp - 0x80], 0x10007d78
cmp dword [ebp - 0x48], 0x4847
jle 0x10012e70
and dword [ebp - 0x18], 0
jmp 0x10012de1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2248
jge 0x10012e66
and dword [ebp - 0x20], 0
jmp 0x10012df7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x767a
jge 0x10012e61
and dword [ebp - 0x28], 0
jmp 0x10012e0d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1a11
jge 0x10012e5f
and dword [ebp - 0x30], 0
jmp 0x10012e23
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3839
jge 0x10012e5d
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x10012e1c
jmp 0x10012e06
jmp 0x10012df0
jmp 0x10012dda
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
and dword [eax], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0x48], 0x4513
jge 0x10012e99
mov edx, dword [ebp - 0x80]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x10012eb5
or dword [ebp - 4], 0xffffffff
jmp 0x10012ebf
jmp 0x10012ee4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
and dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret