Function at 0x10002b20
Capabilities:
Check os version
Read .ini file

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x4c]
mov edi, ecx
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x50], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x5c]
mov esi, 2
cmp eax, esi
je 0x10002b70
mov eax, dword [esp + 0x58]
xor edx, edx
mov dl, byte [esp + 0x5a]
mov ecx, eax
shr ecx, 0x18
and eax, 0xffff
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
xor ebx, ebx
xor eax, eax
mov cl, byte [eax + 0x1000e1b0]
mov byte [esp + eax + 0x1a8], cl
inc eax
cmp cl, bl
jne 0x10002b74
add edi, 4
lea eax, [esp + 0xe0]
push edi
push 0xc8
lea ecx, [esp + 0x1b0]
push eax
push ecx
push 0x1000e2f8
push str.Component
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0xe0], bl
je 0x10002c70
lea edx, [esp + 0xe0]
mov dword [0x1000e07c], ebx
mov dword [esp + 0x14], edx
mov edi, 1
mov ebp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 0x32
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.10003090
lea edx, [esp + 0x18]
push 0x1000e1b0
push edx
mov dword [esp + 0x1c], eax
call fcn.1000b960
add esp, 8
test eax, eax
je 0x10002c6a
lea eax, [esp + 0x18]
push str.WIN_9X
push eax
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002c2d
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, edi
jmp 0x10002ff5
lea ecx, [esp + 0x18]
push str.WIN_95
push ecx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002c7b
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
cmp dword [esp + 0x50], ebp
jne 0x10002ffb
cmp dword [esp + 0x54], 0xa
jae 0x10002ffb
mov dword [0x1000e07c], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
lea edx, [esp + 0x18]
push str.WIN_95_GOLD
push edx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002cc7
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
cmp dword [esp + 0x50], ebp
jne 0x10002ffb
cmp dword [esp + 0x54], 0xa
jae 0x10002ffb
cmp dword [esp + 0x58], 0x4bc
jb 0x10002c6a
jmp 0x10002ffb
lea eax, [esp + 0x18]
push str.WIN_95_OSR2_USB
push eax
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002d17
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
cmp dword [esp + 0x50], ebp
jne 0x10002ffb
cmp dword [esp + 0x54], 0xa
jae 0x10002ffb
cmp dword [esp + 0x58], 0x4bc
jae 0x10002c6a
jmp 0x10002ffb
lea ecx, [esp + 0x18]
push str.WIN_98
push ecx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002d65
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
mov eax, dword [esp + 0x50]
cmp eax, ebp
jne 0x10002d57
cmp dword [esp + 0x54], 0xa
jae 0x10002c6a
jmp 0x10002ffb
cmp eax, 5
jae 0x10002c6a
jmp 0x10002ffb
lea edx, [esp + 0x18]
push str.WIN_98_GOLD
push edx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002daf
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
cmp dword [esp + 0x50], ebp
jne 0x10002ffb
cmp dword [esp + 0x54], 0xa
jne 0x10002ffb
cmp dword [esp + 0x58], 0x7ce
jmp 0x10002ff5
lea eax, [esp + 0x18]
push str.WIN_98_SE
push eax
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002dff
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
cmp dword [esp + 0x50], ebp
jne 0x10002ffb
cmp dword [esp + 0x54], 0xa
jne 0x10002ffb
cmp dword [esp + 0x58], 0x8ae
jae 0x10002c6a
jmp 0x10002ffb
lea ecx, [esp + 0x18]
push str.WIN_ME
push ecx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002e3b
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
je 0x10002ffb
cmp dword [esp + 0x50], ebp
jne 0x10002ffb
cmp dword [esp + 0x54], 0x5a
jmp 0x10002ff5
lea edx, [esp + 0x18]
push str.WIN_NT
push edx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002e62
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
jmp 0x10002ff5
lea eax, [esp + 0x18]
push str.WIN_NT351
push eax
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002e9f
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
jne 0x10002ffb
cmp dword [esp + 0x50], 3
jne 0x10002ffb
cmp dword [esp + 0x54], 0x33
jmp 0x10002ff5
lea ecx, [esp + 0x18]
push str.WIN_NT4
push ecx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002ed0
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
jne 0x10002ffb
cmp dword [esp + 0x50], ebp
jmp 0x10002ff5
lea edx, [esp + 0x18]
push str.WIN_XP
push edx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002f32
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
jne 0x10002ffb
cmp dword [esp + 0x50], 5
jne 0x10002ffb
mov eax, dword [esp + 0x54]
cmp eax, edi
jne 0x10002f1a
push 0x57
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jmp 0x10002ff5
cmp eax, esi
jne 0x10002ffb
mov ecx, dword [esp + 0x10]
call fcn.10003e90
test eax, eax
jmp 0x10002ff5
lea eax, [esp + 0x18]
push str.WIN_XP_MCE
push eax
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002f81
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
jne 0x10002ffb
cmp dword [esp + 0x50], 5
jne 0x10002ffb
cmp dword [esp + 0x54], edi
jne 0x10002ffb
push 0x57
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x10002c6a
jmp 0x10002ffb
lea ecx, [esp + 0x18]
push str.WIN_64A
push ecx
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002fb0
mov ecx, dword [esp + 0x10]
mov dword [0x1000e07c], ebx
call fcn.10003e90
test eax, eax
jne 0x10002c6a
jmp 0x10002ffb
lea edx, [esp + 0x18]
push str.WIN_NT5
push edx
call fcn.1000b960
add esp, 8
test eax, eax
je 0x10002fdc
lea eax, [esp + 0x18]
push str.WIN_2K
push eax
call fcn.1000b960
add esp, 8
test eax, eax
jne 0x10002ffb
mov eax, dword [esp + 0x5c]
mov dword [0x1000e07c], ebx
cmp eax, esi
jne 0x10002ffb
cmp dword [esp + 0x50], 5
jne 0x10002ffb
cmp dword [esp + 0x54], ebx
je 0x10002c6a
cmp dword [esp + 0x14], ebx
jne 0x10002bd7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret