Function at 0x10074dc0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2106
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100dbc1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
lea ebx, [edi + 0x34]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], eax
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x228], ebx
test ebx, ebx
je 0x10074e1e
mov eax, dword [ebx]
push ebx
call dword [eax]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x100bc45c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10074e80
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.lds.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x1c], eax
test eax, eax
jne 0x10074f4e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1008a2ec
add esp, 4
call fcn.1008a2cb
cdq
mov ecx, 0x64
idiv ecx
inc edx
mov dword [edi + 0x1c], edx
call fcn.1000a9e0
mov ecx, eax
test ecx, ecx
je 0x10074ffd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push dword [edi + 0x1c]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push 0x100b4310
push eax
call fcn.10021c80
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push esi
push str.stat_rand
push str.statistic
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10074f48
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
cmp dword [edi + 0x24], 0
jge 0x10074fc7
mov eax, dword [ebp + 8]
mov dword [edi + 0x24], eax
test eax, eax
jns 0x10074f62
xor esi, esi
jmp 0x10074fcc
test esi, esi
je 0x10074f8e
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074f71
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x30]
call fcn.10009e80
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10074fc0
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x220], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10074fa3
sub edx, dword [ebp - 0x220]
sar edx, 1
push edx
push ecx
lea ecx, [edi + 0x2c]
call fcn.10009e80
mov ecx, edi
call fcn.10075160
mov esi, 1
mov dword [ebp - 4], 2
test ebx, ebx
je 0x10074fdd
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100763b4
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000a7c0
int3