Function at 0x1000cc70
Capabilities:
Check os version
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x938
push ebx
push esi
push edi
mov dword [ebp - 0x938], ecx
push 0x100016a8
push 0x100016b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], 0
push 0x105
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100016c4
push 0x100016d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x148], eax
push 0x100016e0
push 0x5c
lea ecx, [ebp - 0x250]
push ecx
call fcn.10024c10
add esp, 8
add eax, 1
push eax
call dword [ebp - 0x148]
mov edx, dword [ebp - 0x938]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 9
mov esi, 0x100016ec
lea edi, [ebp - 0x3b4]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x38f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
mov esi, 0x10001714
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x3e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x3b4]
push eax
push 0x10001734
lea ecx, [ebp - 0x138]
push ecx
call dword [0x10007598]
add esp, 0x10
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x23
lea ecx, [ebp - 0x35c]
push ecx
push 0
call dword [0x100074f0]
push 0x1000173c
lea edx, [ebp - 0x35c]
push edx
push 0x1000176c
lea eax, [ebp - 0x35c]
push eax
call dword [0x10007598]
add esp, 0x10
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x144], ecx
lea edx, [ebp - 0x35c]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x1000ce10
cmp dword [ebp - 0x94], 5
jb 0x1000ce10
mov ecx, dword [ebp - 0x938]
call fcn.1000dd1e
mov dword [ebp - 4], 0x1000
mov ecx, dword [ebp - 4]
push ecx
call fcn.10023ad8
add esp, 4
mov dword [ebp - 0x924], eax
mov edx, dword [ebp - 0x924]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x254], 0
jmp 0x1000ce50
mov eax, dword [ebp - 0x254]
add eax, 1
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 2
jae 0x1000d1c6
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x13c]
push edx
call fcn.10023a80
add esp, 0xc
push 0x10001774
push 0x10001794
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp + eax*4 - 0x144]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x13c]
push eax
call dword [ebp - 0x408]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x40c], ecx
jmp 0x1000ced9
mov edx, dword [ebp - 0x40c]
push edx
call dword [ebp - 0x364]
mov ecx, dword [ebp - 0x40c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp - 0x40c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1000d1c1
mov edx, dword [ebp - 0x40c]
push edx
mov ecx, dword [ebp - 0x938]
call fcn.1000d414
mov dword [ebp - 0x714], eax
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x710]
push eax
call fcn.10023a80
add esp, 0xc
push pe_nt_image_headers32
push 0
lea ecx, [ebp - 0x91c]
push ecx
call fcn.10023a80
add esp, 0xc
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x60c]
push edx
call fcn.10023a80
add esp, 0xc
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.10023a80
add esp, 0xc
push pe_nt_image_headers32
push 0
lea ecx, [ebp - 0x50c]
push ecx
call fcn.10023a80
add esp, 0xc
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp + edx*4 - 0x144]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x710]
push ecx
push 0
push 0x100017a4
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jle 0x1000d09b
mov dword [ebp - 0x920], 0
jmp 0x1000cfcc
mov eax, dword [ebp - 0x920]
add eax, 1
mov dword [ebp - 0x920], eax
mov ecx, dword [ebp - 0x938]
mov edx, dword [ebp - 0x920]
cmp edx, dword [ecx + 0x10]
jge 0x1000d09b
mov eax, dword [ebp - 0x920]
imul eax, eax, 0x301
mov ecx, dword [ebp - 0x938]
mov edx, dword [ecx + 0x1c]
add edx, eax
push edx
lea eax, [ebp - 0x710]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1000d096
mov ecx, dword [ebp - 0x920]
imul ecx, ecx, 0x301
mov edx, dword [ebp - 0x938]
mov eax, dword [edx + 0x1c]
lea ecx, [eax + ecx + 0x200]
push ecx
lea edx, [ebp - 0x91c]
push edx
call dword [ebp - 0x148]
mov eax, dword [ebp - 0x920]
imul eax, eax, 0x301
mov ecx, dword [ebp - 0x938]
mov edx, dword [ecx + 0x1c]
lea eax, [edx + eax + 0x100]
push eax
lea ecx, [ebp - 0x60c]
push ecx
call dword [ebp - 0x148]
mov edx, dword [ebp - 0x920]
imul edx, edx, 0x301
mov eax, dword [ebp - 0x938]
mov ecx, dword [eax + 0x1c]
mov byte [ecx + edx + 0x300], 1
mov edx, dword [ebp - 0x938]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp - 0x938]
mov dword [ecx + 8], eax
jmp 0x1000d09b
jmp 0x1000cfbd
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp + edx*4 - 0x144]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x818]
push ecx
push 0
push 0x100017b4
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp + eax*4 - 0x144]
push ecx
push pe_nt_image_headers32
lea edx, [ebp - 0x50c]
push edx
push 0
push 0x100017c0
mov eax, dword [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x50c]
push ecx
mov ecx, dword [ebp - 0x938]
call fcn.1000d414
mov dword [ebp - 0x610], eax
lea edx, [ebp - 0x91c]
push edx
mov ecx, dword [ebp - 0x938]
call fcn.1000d414
mov dword [ebp - 0x718], eax
mov eax, dword [ebp - 0x610]
push eax
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x60c]
push edx
mov eax, dword [ebp - 0x718]
push eax
mov ecx, dword [ebp - 0x714]
push ecx
lea edx, [ebp - 0x710]
push edx
mov ecx, dword [ebp - 0x938]
call fcn.1000d1ea
mov eax, dword [ebp - 0x714]
mov dword [ebp - 0x928], eax
mov ecx, dword [ebp - 0x928]
push ecx
call fcn.10023b02
add esp, 4
nop
nop
nop
sub eax, 0
add eax, 0
sub eax, 0
add eax, 0
mov edx, dword [ebp - 0x718]
mov dword [ebp - 0x92c], edx
mov eax, dword [ebp - 0x92c]
push eax
call fcn.10023b02
add esp, 4
mov ecx, dword [ebp - 0x610]
mov dword [ebp - 0x930], ecx
mov edx, dword [ebp - 0x930]
push edx
call fcn.10023b02
add esp, 4
jmp 0x1000cebc
jmp 0x1000ce41
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x934], eax
mov ecx, dword [ebp - 0x934]
push ecx
call fcn.10023b02
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret