Function at 0x10015fa0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10016244
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1001602d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10016028
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x10016242
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x100160bb
xor eax, eax
inc eax
jne 0x100160bb
and dword [ebp - 0x28], 0
jmp 0x100160c2
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jle 0x100160d5
mov dword [ebp - 0x30], 1
jmp 0x100160d9
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x100160ec
mov dword [ebp - 0xc], 1
jmp 0x100160f0
and dword [ebp - 0xc], 0
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.1002fdaa
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jle 0x10016115
mov dword [ebp - 0x10], 1
jmp 0x10016119
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 0x40]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 1
ja 0x10016137
mov dword [ebp - 0x20], 1
jmp 0x1001613b
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x1001615a
push 0
mov ecx, dword [ebp - 0x40]
call fcn.1002fdaa
cmp dword [eax], 0
jne 0x1001615a
and dword [ebp - 8], 0
jmp 0x10016161
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jne 0x1001618a
mov dword [ebp - 0x14], 1
jmp 0x1001618e
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfffffff6
je 0x1001619d
mov dword [ebp - 0x18], 1
jmp 0x100161a1
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x18]
jne 0x100161c9
mov dword [ebp - 0x1c], 1
jmp 0x100161cd
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jne 0x100161e0
mov dword [ebp - 0x24], 1
jmp 0x100161e4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
je 0x1001620c
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.1002fdaa
cmp dword [eax], 0
je 0x1001620c
mov dword [ebp - 0x34], 1
jmp 0x10016210
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x10016233
mov dword [ebp - 0x44], 1
jmp 0x10016237
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x1001625d
push 0xf6f
push 0x7443
push 0
push 0x306a
call fcn.1000e4e3
add esp, 0x10
mov esp, ebp
pop ebp
ret