Function at 0x10015546
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015763
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10015759
mov dword [ebp - 0x38], 0x1d85
cmp dword [ebp - 0x38], 0x1079
jge 0x1001570f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10007e7c
call fcn.100505bb
add esp, 0xc
and dword [ebp - 8], 0
jmp 0x100155ae
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x28]
jge 0x10015612
and dword [ebp - 4], 0
jmp 0x100155c3
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jge 0x10015610
imul eax, dword [ebp - 8], 0xb
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 0x10612400]
push eax
push 0x10007e84
call fcn.100505bb
pop ecx
pop ecx
imul eax, dword [ebp - 8], 0xb
mov ecx, dword [ebp - 4]
movsx eax, byte [eax + ecx + 0x10612400]
cmp eax, 0x53
jne 0x1001560e
mov eax, dword [ebp - 4]
mov byte [eax + 0x106123f4], 1
mov eax, dword [ebp - 8]
mov byte [eax + 0x1061247c], 1
jmp 0x100155bc
jmp 0x100155a7
and dword [ebp - 0x1c], 0
and dword [ebp - 0xc], 0
jmp 0x10015623
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x28]
jge 0x1001568b
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x1061247c]
test eax, eax
jne 0x10015689
and dword [ebp - 0x14], 0
jmp 0x10015646
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jge 0x10015689
imul eax, dword [ebp - 0xc], 0xb
mov ecx, dword [ebp - 0x14]
movsx eax, byte [eax + ecx + 0x10612400]
cmp eax, 0x23
je 0x1001566b
mov dword [ebp - 0x2c], 1
jmp 0x1001566f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0xc], 0xb
mov ecx, dword [ebp - 0x14]
mov byte [eax + ecx + 0x10612400], 0x23
jmp 0x1001563f
jmp 0x1001561c
and dword [ebp - 0x10], 0
jmp 0x10015698
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jge 0x10015700
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x106123f4]
test eax, eax
jne 0x100156fe
and dword [ebp - 0x18], 0
jmp 0x100156bb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jge 0x100156fe
imul eax, dword [ebp - 0x18], 0xb
mov ecx, dword [ebp - 0x10]
movsx eax, byte [eax + ecx + 0x10612400]
cmp eax, 0x23
je 0x100156e0
mov dword [ebp - 0x30], 1
jmp 0x100156e4
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0x18], 0xb
mov ecx, dword [ebp - 0x10]
mov byte [eax + ecx + 0x10612400], 0x23
jmp 0x100156b4
jmp 0x10015691
push dword [ebp - 0x1c]
push 0x10007e88
call fcn.100507d6
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1001573d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 2
jge 0x10015757
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.1000b0e1
or dword [eax], 0xffffffff
jmp 0x10015732
jmp 0x10015761
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x1001577c
push 1
push 0x12e4
push 0x1b03
push 0x1f85
call fcn.10012963
add esp, 0x10
mov esp, ebp
pop ebp
ret