Function at 0x10006d90
Capabilities:
Check os version
Contain obfuscated stackstrings
Get common file path
Query environment variable
Read .ini file

Disassembly:
sub esp, 0x8e0
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, 2
call fcn.100066b0
mov ebp, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x2c], 0x105
call dword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x44]
push 0x10001454
push edx
call edi
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x44]
push eax
push ecx
call edi
mov edx, dword [0x10001364]
lea eax, [esp + 0x44]
push edx
push eax
call edi
lea ecx, [esp + 0x44]
push ecx
call fcn.10006630
add esp, 4
test al, al
jne 0x10006e11
lea edx, [esp + 0x44]
push 0x105
push edx
push 0x10001404
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0
lea eax, [esp + 0x3ec]
push 0x23
push eax
push 0
call dword [0x10003a48]
lea ecx, [esp + 0x3e8]
push 0x100013d4
push ecx
lea edx, [esp + 0x3f0]
push 0x100013cc
push edx
call dword [fcn.10003b38]
add esp, 0x10
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1e0]
mov dword [esp + 0x24], 0x105
push eax
push ecx
push ebp
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
mov edx, dword [0x10001364]
lea eax, [esp + 0x1e0]
push edx
push eax
call edi
test ebp, ebp
je 0x10006e80
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x1e0]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3e8]
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.10006630
add esp, 4
test al, al
je 0x10006ed1
lea ecx, [esp + 0x1e0]
lea edx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10006ed1
lea eax, [esp + 0x1e0]
mov ebx, 3
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x14c], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x15c], 2
jne 0x10006f05
cmp dword [esp + 0x150], 5
jb 0x10006f05
mov ecx, esi
call fcn.10006cb0
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
test ebx, ebx
mov dword [esp + 0x34], ebp
jle 0x10007179
lea edx, [esp + 0x38]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], edx
mov ecx, 0x400
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
push eax
push 0x1000
push ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [ebp], 0
je 0x1000715f
push ebp
mov ecx, esi
call fcn.10007650
mov dword [esp + 0x2c], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2e8]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x6f0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x7f0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x4f0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x5f0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x2ec]
push 0x100
push edx
push eax
push 0x100014a8
push ebp
call edi
test eax, eax
jle 0x10007063
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jle 0x10007063
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x1c]
add eax, edx
lea ecx, [esp + 0x2e8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1000701a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
inc ebx
add ecx, 0x301
cmp ebx, eax
mov dword [esp + 0x1c], ecx
jl 0x10006fe6
jmp 0x10007063
mov edx, dword [esi + 0x1c]
lea edi, [ebx + ebx*2]
shl edi, 8
add edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x6f0]
lea eax, [edi + edx + 0x200]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x7f0]
lea eax, [edi + edx + 0x100]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x1c]
mov byte [edi + edx + 0x300], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x4f0]
push ebx
push 0x100
push eax
lea ecx, [esp + 0x1c]
push 0
push ecx
push ebp
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], 0x68
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x6e
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0x4e
mov byte [esp + 0x2e], 0x75
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x30], 0x62
mov byte [esp + 0x31], 0x65
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0
call edi
push ebx
lea edx, [esp + 0x5f4]
push 0x100
push edx
push 0
push 0x100014a0
push ebp
call edi
lea eax, [esp + 0x5f0]
mov ecx, esi
push eax
call fcn.10007650
lea ecx, [esp + 0x6f0]
mov ebx, eax
push ecx
mov ecx, esi
call fcn.10007650
mov ecx, dword [esp + 0x2c]
mov edi, eax
lea edx, [esp + 0x4f0]
push ebx
lea eax, [esp + 0x7f4]
push edx
push eax
push edi
lea edx, [esp + 0x2f8]
push ecx
push edx
mov ecx, esi
call fcn.100071f0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000712c
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
je 0x10007139
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebx, ebx
je 0x10007146
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x10006f58
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add ecx, 4
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
jne 0x10006f2c
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jle 0x100071da
xor edi, edi
mov eax, dword [esi + 0x1c]
add eax, edi
mov cl, byte [eax + 0x300]
test cl, cl
jne 0x100071cc
mov dl, byte [eax + 0x200]
lea ecx, [eax + 0x200]
test dl, dl
jne 0x100071ad
mov dl, byte [eax + 0x100]
test dl, dl
je 0x100071cc
push 0x1001bef8
lea edx, [eax + 0x100]
push 0x1001bef8
push edx
push ecx
push 0x1001bef8
push eax
mov ecx, esi
call fcn.100071f0
mov eax, dword [esi + 8]
inc ebx
add edi, 0x301
cmp ebx, eax
jl 0x10007184
push ebp
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, 0x8e0
ret