Function at 0x1000b970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b4
mov eax, dword [0x100a7914]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], 0
call fcn.10015900
mov dword [ebp - 0x10c], eax
mov eax, 0x202
mov word [ebp - 0x11c], ax
mov dword [ebp - 0x1b8], 0x94
lea ecx, [ebp - 0x1b8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.100120a0
add esp, 8
push 0x100
lea eax, [ebp - 0x108]
push eax
push 0x844
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0x27
push 0xc5
push 0x4a8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x845
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
push 0x494
mov edx, dword [ebp + 8]
push edx
call fcn.10015ba0
add esp, 0x10
push 0x846
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
push 0x495
mov edx, dword [ebp + 8]
push edx
call fcn.10015ba0
add esp, 0x10
push 0x855
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
push 0x4a7
mov edx, dword [ebp + 8]
push edx
call fcn.10015ba0
add esp, 0x10
push 0x848
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
push 0x498
mov edx, dword [ebp + 8]
push edx
call fcn.10015ba0
add esp, 0x10
push 2
push 0x1005c768
push 0x1005c760
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
push 0x497
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.10010a00
add esp, 0x14
push 0x13bc
mov eax, dword [ebp - 0x10c]
push eax
push 0x100aa720
call fcn.10029ef0
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x5b0]
push ecx
push 0x100518ac
mov edx, dword [ebp - 0x10c]
add edx, 0x54
push edx
call fcn.10010aa0
add esp, 0x10
lea eax, [ebp - 0x5b0]
push eax
call fcn.1002abae
add esp, 4
mov byte [ebp - 0x10d], al
lea ecx, [ebp - 0x59c]
push ecx
call fcn.1002abae
add esp, 4
mov byte [ebp - 1], al
lea edx, [ebp - 0x588]
push edx
call fcn.1002abae
add esp, 4
mov byte [ebp - 0x1b9], al
lea eax, [ebp - 0x574]
push eax
call fcn.1002abae
add esp, 4
mov byte [ebp - 0x115], al
movzx ecx, byte [ebp - 0x10d]
shl ecx, 0x18
movzx edx, byte [ebp - 1]
shl edx, 0x10
add ecx, edx
movzx eax, byte [ebp - 0x1b9]
shl eax, 8
add ecx, eax
movzx edx, byte [ebp - 0x115]
add ecx, edx
push ecx
push 0
push 0x465
push 0x496
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x10c]
add ecx, 0x154
push ecx
push 0x4a8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [ebp - 0x10c]
add eax, 0x54
push eax
push 0x10051830
push 0x100aa218
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 0x10c]
add ecx, 0x154
push ecx
push 0x10051830
push 0x100a9e18
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp - 0x1b4], 5
ja 0x1000bc19
cmp dword [ebp - 0x1a8], 3
ja 0x1000bc19
mov edx, dword [ebp - 0x10c]
cmp dword [edx + 0x50], 2
jne 0x1000bc19
mov dword [0x100a8fe0], 0
mov eax, dword [ebp - 0x10c]
mov dword [eax + 0x50], 1
mov dword [ebp - 0x1c8], 0x494
mov dword [ebp - 0x1c4], 0x495
mov dword [ebp - 0x1c0], 0x4a7
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x5b4], edx
cmp dword [ebp - 0x5b4], 0
je 0x1000bc6e
cmp dword [ebp - 0x5b4], 1
je 0x1000bcf7
cmp dword [ebp - 0x5b4], 2
je 0x1000bd80
jmp 0x1000be04
push 0x494
push 3
lea eax, [ebp - 0x1c8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10015a90
add esp, 0x10
push 0
push 0x496
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x498
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x497
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x100a8fe0], 1
push 0
push 0x4a8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1000be04
push 0x495
push 3
lea eax, [ebp - 0x1c8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10015a90
add esp, 0x10
push 1
push 0x496
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x498
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x497
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x100a8fe0], 0
push 0
push 0x4a8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1000be04
mov dword [0x100a8fe0], 2
push 0x4a7
push 3
lea eax, [ebp - 0x1c8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10015a90
add esp, 0x10
push 0
push 0x496
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x4a8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x498
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x497
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x70
push 1
push 0x67
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
cmp dword [ebp + 0x10], 1
jne 0x1000be3a
call fcn.10020400
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1000be3a
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10029d6b
mov esp, ebp
pop ebp
ret