Function at 0x10008eb0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001574e
mov eax, dword fs:[0]
push eax
mov eax, 0x1508
call fcn.10014b30
mov eax, dword [0x100210f0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150c], ecx
xor eax, eax
mov word [ebp - 0x27c], ax
push 0x206
push 0
lea ecx, [ebp - 0x27a]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.FSEkeyInfotemp.ini
push 0x104
lea eax, [ebp - 0x27c]
push eax
call fcn.10005b20
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000f130
mov ecx, eax
call fcn.1000f4f0
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10008f72
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000f130
mov ecx, eax
call fcn.1000f520
mov eax, 0xe8
jmp 0x10009398
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x1504]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 0x12f4], 0
xor edx, edx
mov dword [ebp - 0x12f0], edx
mov eax, dword [ebp - 0x1500]
mov dword [ebp - 0x12f0], eax
mov ecx, dword [ebp - 0x1504]
mov dword [ebp - 0x12f4], ecx
push 0
push 0x989680
mov edx, dword [ebp - 0x12f0]
push edx
mov eax, dword [ebp - 0x12f4]
push eax
call fcn.10014bf0
mov dword [ebp - 0x12f4], eax
mov dword [ebp - 0x12f0], edx
xor ecx, ecx
mov word [ebp - 0x6c], cx
push 0x3e
push 0
lea edx, [ebp - 0x6a]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push 0x20
lea ecx, [ebp - 0x6c]
push ecx
push 0
push str.Time
push 0x1001a38c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MSVCR90.dll__wtoi64]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x12f0]
jg 0x10009076
jl 0x1000903d
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x12f4]
ja 0x10009076
mov edx, dword [ebp - 0x14]
add edx, 0xb4
mov eax, dword [ebp - 0x10]
adc eax, 0
mov dword [ebp - 0x1514], edx
mov dword [ebp - 0x1510], eax
mov ecx, dword [ebp - 0x12f0]
cmp ecx, dword [ebp - 0x1510]
jl 0x100090a2
jg 0x10009076
mov edx, dword [ebp - 0x12f4]
cmp edx, dword [ebp - 0x1514]
jbe 0x100090a2
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000f130
mov ecx, eax
call fcn.1000f520
mov eax, 0xe8
jmp 0x10009398
push str.Read_key_info_from_config_file.
push 0x1001a398
call fcn.100103d0
add esp, 4
push eax
call fcn.10010a70
add esp, 8
lea ecx, [ebp - 0x12ec]
call fcn.100039c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x284], 1
lea ecx, [ebp - 0x27c]
push ecx
push 0
push str.BoundUser
push 0x1001a404
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x12ec]
call fcn.100041b0
lea eax, [ebp - 0x27c]
push eax
push 0
push str.FailSafe
push 0x1001a424
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x70], eax
xor ecx, ecx
cmp dword [ebp - 0x70], 0
setne cl
push ecx
lea ecx, [ebp - 0x12ec]
call fcn.10004180
lea edx, [ebp - 0x27c]
push edx
push 0
push str.Session
push 0x1001a440
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x12ec]
call fcn.10004140
xor ecx, ecx
mov word [ebp - 0x14fc], cx
push 0x206
push 0
lea edx, [ebp - 0x14fa]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push 0x104
lea ecx, [ebp - 0x14fc]
push ecx
push 0
push 0x1001a44c
push 0x1001a454
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x14fc]
push edx
push 0x104
lea eax, [ebp - 0xcd4]
push eax
call fcn.100020c0
push 0x208
push 0
lea ecx, [ebp - 0x14fc]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x27c]
push edx
push 0x104
lea eax, [ebp - 0x14fc]
push eax
push 0
push str.KeyName
push 0x1001a470
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x14fc]
push ecx
lea ecx, [ebp - 0x12ec]
call fcn.100040a0
push 0x208
push 0
lea edx, [ebp - 0x14fc]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push 0x104
lea ecx, [ebp - 0x14fc]
push ecx
push 0
push str.Serial
push 0x1001a48c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x14fc]
push edx
lea ecx, [ebp - 0x12ec]
call fcn.10004210
push 0x208
push 0
lea eax, [ebp - 0x14fc]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x27c]
push ecx
push 0x104
lea edx, [ebp - 0x14fc]
push edx
push 0
push str.Domain
push 0x1001a4a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x14fc]
push eax
lea ecx, [ebp - 0x12ec]
call fcn.10004070
push 0x208
push 0
lea ecx, [ebp - 0x14fc]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x27c]
push edx
push 0x104
lea eax, [ebp - 0x14fc]
push eax
push 0
push str.UserName
push 0x1001a4c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x14fc]
push ecx
lea ecx, [ebp - 0x12ec]
call fcn.10004040
push 0x208
push 0
lea edx, [ebp - 0x14fc]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x27c]
push eax
push 0x104
lea ecx, [ebp - 0x14fc]
push ecx
push 0
push str.WorkStation
push str.INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x14fc]
push edx
lea ecx, [ebp - 0x12ec]
call fcn.100040d0
call fcn.10001fc0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x12ec]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.100044b0
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000f130
mov ecx, eax
call fcn.1000f520
mov dword [ebp - 0x1508], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12ec]
call fcn.10003ce0
mov eax, dword [ebp - 0x1508]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret