Function at 0x10006600
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002194c
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x100320ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.1000c4f0
add esp, 0xc
lea eax, [ebp - 0x128]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.explorer.exe
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10006cc3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10033840]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100334f8]
cmp eax, dword [ecx + 4]
jg 0x10006cde
push 0
call fcn.100116e5
add esp, 4
mov ecx, 0x10033038
push eax
call fcn.100036f0
mov esi, eax
mov dword [ebp - 0x14], 0
push esi
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push 0x10022bb8
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.10001c30
add esp, 0xc
lea eax, [ebp - 0x390]
mov ecx, 0x10033038
push eax
call fcn.10003c40
lea eax, [ebp - 0x3d8]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x10033038
call fcn.10003c60
cmp dword [ebp - 0x380], 0
mov byte [ebp - 4], 2
jne 0x10006710
push 0x92
call fcn.10001ed0
add esp, 4
jmp 0x10006cad
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
cmovae eax, dword [ebp - 0x390]
push eax
push 0xffffffffffffffff
push str.0ef4c
push 0x100225e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x1000674e
push eax
push 0x93
call fcn.10001ed0
add esp, 8
jmp 0x10006cad
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
cmovae eax, dword [ebp - 0x390]
push eax
lea eax, [ebp - 0x24]
push eax
push str.0ef4c
push 0x100225e0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x3c0]
mov ecx, 0x10033038
push eax
call fcn.100036d0
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3f8], 0
push str.1cdf
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
call fcn.10001630
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x400]
call fcn.100086d0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
call fcn.10001680
push 0x10022bd8
lea ecx, [ebp - 0x378]
call fcn.10001630
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x400]
call fcn.100086d0
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 4
call fcn.10001680
push 0x10022bdc
lea ecx, [ebp - 0x378]
call fcn.10001630
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.10002800
add esp, 0xc
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 9
call fcn.10001680
cmp dword [ebp - 0x3ac], 8
lea eax, [ebp - 0x3c0]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x3c0]
push eax
call edi
test eax, eax
je 0x10006937
cmp dword [ebp - 0x34c], 8
lea ecx, [ebp - 0x360]
lea eax, [ebp - 0x3c0]
cmovae ecx, dword [ebp - 0x360]
cmp dword [ebp - 0x3ac], 8
push ecx
cmovae eax, dword [ebp - 0x3c0]
push eax
push 0x94
call fcn.10001ed0
add esp, 0xc
mov dword [ebp - 0x3f4], 0xbb8
cmp dword [ebp - 0x34c], 8
lea eax, [ebp - 0x360]
lea ecx, [ebp - 0x3a8]
cmovae eax, dword [ebp - 0x360]
push eax
call fcn.10001630
cmp dword [ebp - 0x3ac], 8
lea eax, [ebp - 0x3c0]
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x3c0]
push eax
call fcn.10001630
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x3a8]
mov ecx, 0x10033038
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.100030f0
lea ecx, [ebp - 0x3f0]
call fcn.10001680
lea ecx, [ebp - 0x3a8]
jmp 0x10006c87
push 0x208
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.1000c4f0
add esp, 0xc
lea eax, [ebp - 0x390]
cmp dword [ebp - 0x37c], 8
cmovae eax, dword [ebp - 0x390]
push eax
push 0x104
lea eax, [ebp - 0x330]
push eax
push 0x10022340
push str.07577
push 0x100225e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x348]
call fcn.10001630
cmp dword [ebp - 0x338], 0
mov byte [ebp - 4], 0xc
je 0x100069c1
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
call edi
test eax, eax
jne 0x10006a61
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0
cmp dword [ebp - 0x3c4], 8
lea ecx, [ebp - 0x36c]
push 0
push ecx
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 0xd
cmovae eax, dword [ebp - 0x3d8]
push 0x10022be4
push eax
call fcn.100020c0
mov ecx, dword [ebp - 0x368]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x36c]
add esp, 0x10
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10006a52
lea eax, [ebp - 0x348]
cmp eax, esi
je 0x10006a52
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10006a43
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x348]
push eax
call fcn.10001ad0
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 0xc
call fcn.100016e0
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
call edi
test eax, eax
je 0x10006c5f
cmp dword [ebp - 0x37c], 8
lea eax, [ebp - 0x390]
cmovae eax, dword [ebp - 0x390]
push eax
push 3
push str.fe236
push 0x100225e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov eax, 3
test edi, edi
cmove edi, eax
lea eax, [ebp - 0x400]
push eax
push dword [ebp - 0x3fc]
push dword [ebp - 0x400]
call fcn.10001210
mov eax, dword [ebp - 0x400]
lea ecx, [ebp - 0x3a8]
add esp, 0xc
mov dword [ebp - 0x3fc], eax
push str.1cdf
call fcn.10001630
lea eax, [ebp - 0x3a8]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x400]
call fcn.100086d0
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
call fcn.10001680
push 0x10022bd8
lea ecx, [ebp - 0x3a8]
call fcn.10001630
lea eax, [ebp - 0x3a8]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x400]
call fcn.100086d0
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
call fcn.10001680
push 0x10022bfc
lea ecx, [ebp - 0x3a8]
call fcn.10001630
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3f0]
push eax
call fcn.10002800
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x360]
cmp eax, esi
je 0x10006bb2
mov ecx, eax
call fcn.10001680
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x360], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x350], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x3f0]
call fcn.10001680
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 0xc
call fcn.10001680
cmp dword [ebp - 0x34c], 8
lea ecx, [ebp - 0x360]
lea eax, [ebp - 0x348]
cmovae ecx, dword [ebp - 0x360]
cmp dword [ebp - 0x334], 8
push ecx
cmovae eax, dword [ebp - 0x348]
push eax
push 0x94
call fcn.10001ed0
imul eax, edi, 0x3e8
lea ecx, [ebp - 0x3a8]
add esp, 0xc
cmp dword [ebp - 0x34c], 8
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x360]
cmovae eax, dword [ebp - 0x360]
push eax
call fcn.10001630
lea eax, [ebp - 0x3f4]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x3a8]
mov ecx, 0x10033038
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.100030f0
lea ecx, [ebp - 0x3a8]
call fcn.10001680
jmp 0x10006c81
cmp dword [ebp - 0x334], 8
lea eax, [ebp - 0x348]
cmovae eax, dword [ebp - 0x348]
push eax
push 0x95
call fcn.10001ed0
add esp, 8
lea ecx, [ebp - 0x348]
call fcn.10001680
lea ecx, [ebp - 0x360]
call fcn.10001680
lea ecx, [ebp - 0x400]
call fcn.100016e0
lea ecx, [ebp - 0x3c0]
call fcn.10001680
lea ecx, [ebp - 0x3d8]
call fcn.10001680
lea ecx, [ebp - 0x390]
call fcn.10001680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009d13
mov esp, ebp
pop ebp
ret
push 0x100334f8
call fcn.1000a2b4
add esp, 4
cmp dword [0x100334f8], 0xffffffff
jne 0x10006691
mov ecx, 0x10033038
mov dword [ebp - 4], 0
call fcn.10002de0
push 0x10021b20
call fcn.1000a6d9
push 0x100334f8
mov dword [ebp - 4], 0xffffffff
call fcn.1000a26a
add esp, 8
jmp 0x10006691