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

Disassembly:
sub esp, 0x7c0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x10001368
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x1000135c
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov edi, 0x1000135c
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x10001240
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10001368
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc0]
push 0x105
push ecx
call eax
push 0x10001344
lea edx, [esp + 0xc4]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0xc0]
push eax
push ecx
call esi
lea edx, [esp + 0xc0]
push 0x10001300
push edx
call esi
push 0
lea eax, [esp + 0x2cc]
push 0x23
push eax
push 0
call dword [0x100030dc]
lea ecx, [esp + 0x2c8]
push 0x100012d0
push ecx
lea edx, [esp + 0x2d0]
push 0x100012c8
push edx
call dword [fcn.10003174]
add esp, 0x10
lea edx, [esp + 0x2c]
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x2c8]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x3c]
mov edi, 2
cmp eax, edi
jne 0x10006355
cmp dword [esp + 0x30], 5
jb 0x10006355
mov ecx, ebp
call fcn.10006090
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
lea eax, [esp + 0x28]
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov ecx, 0x400
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push eax
push 0x1000
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [esi], 0
je 0x10006547
push esi
mov ecx, ebp
call fcn.100069e0
mov dword [esp + 0x14], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c8]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x4d0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x5d0]
mov edx, dword [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x3d0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x6d0]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x1cc]
push 0x100
push eax
push 0
push 0x100013b0
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x10006494
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x10006494
xor edi, edi
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x1c8]
add ecx, edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1000644a
mov eax, dword [ebp + 0x10]
inc ebx
add edi, 0x301
cmp ebx, eax
jl 0x10006422
jmp 0x10006494
mov eax, dword [ebp + 0x1c]
lea edi, [ebx + ebx*2]
shl edi, 8
add edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x4d0]
lea ecx, [eax + edi + 0x200]
push ecx
push edx
call ebx
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x5d0]
lea ecx, [eax + edi + 0x100]
push ecx
push edx
call ebx
mov eax, dword [ebp + 0x1c]
mov byte [eax + edi + 0x300], 1
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea ecx, [esp + 0x3d4]
push 0x100
push ecx
push 0
push 0x100013a4
push esi
call ebx
push edi
lea edx, [esp + 0x6d4]
push 0x100
push edx
push 0
push 0x1000139c
push esi
call ebx
lea eax, [esp + 0x6d0]
mov ecx, ebp
push eax
call fcn.100069e0
lea ecx, [esp + 0x4d0]
mov edi, eax
push ecx
mov ecx, ebp
call fcn.100069e0
mov ecx, dword [esp + 0x14]
mov ebx, eax
lea edx, [esp + 0x3d0]
push edi
lea eax, [esp + 0x5d4]
push edx
push eax
push ebx
lea edx, [esp + 0x1d8]
push ecx
push edx
mov ecx, ebp
call fcn.10006580
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x1000639f
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x10006374
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c0
ret