Function at 0x25ca980
Capabilities:
Check if file exists
Get file attributes
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x270e6fb
mov eax, dword fs:[0]
push eax
sub esp, 0x6d0
push esi
push edi
lea edi, [ebp - 0x6dc]
mov ecx, 0x1b4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x23f6480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, esp
push 0x200
lea eax, [ebp - 0x414]
push eax
mov edi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp edi, esp
call fcn.026a5ffe
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.026a5ffe
push 0x5c
lea ecx, [ebp - 0x414]
push ecx
call fcn.025cb880
add esp, 8
mov dword [ebp - 0x41c], eax
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp - 0x41c]
mov word [edx + eax], cx
mov eax, dword [ebp - 0x41c]
add eax, 2
mov dword [ebp - 0x41c], eax
lea ecx, [ebp - 0x414]
push ecx
push 0x2564898
call fcn.025dcbe0
add esp, 8
push eax
lea ecx, [ebp - 0x438]
call fcn.025bf940
mov dword [ebp - 4], 0
mov dword [ebp - 0x440], 0x25648b0
lea ecx, [ebp - 0x438]
call fcn.025cb750
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
je 0x25caadc
lea ecx, [ebp - 0x438]
call fcn.025cb750
mov esi, esp
push eax
push 0x100
lea edx, [ebp - 0x644]
push edx
push 0x25648c4
mov eax, dword [ebp - 0x440]
push eax
push 0x25648c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp esi, esp
call fcn.026a5ffe
nop
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x644]
test eax, eax
je 0x25caadc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.025c05b0
nop
jmp 0x25cae88
mov esi, esp
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp esi, esp
call fcn.026a5ffe
lea ecx, [ebp - 0x650]
push ecx
call fcn.025caff0
add esp, 4
mov esi, esp
push eax
push 0x2564b2c
push 1
push 0
push 0x2568a5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp esi, esp
call fcn.026a5ffe
mov edx, dword [ebp - 0x650]
mov eax, dword [edx]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x6b8], ecx
mov esi, esp
lea edx, [ebp - 0x65c]
push edx
mov eax, dword [ebp - 0x650]
push eax
call dword [ebp - 0x6b8]
cmp esi, esp
call fcn.026a5ffe
mov ecx, dword [ebp - 0x65c]
or ecx, 0x60
mov dword [ebp - 0x65c], ecx
mov edx, dword [ebp - 0x650]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x6bc], ecx
mov esi, esp
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ebp - 0x650]
push eax
call dword [ebp - 0x6bc]
cmp esi, esp
call fcn.026a5ffe
mov ecx, dword [ebp - 0x650]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x6c0], eax
mov esi, esp
push 0x25648d8
mov ecx, dword [ebp - 0x650]
push ecx
call dword [ebp - 0x6c0]
cmp esi, esp
call fcn.026a5ffe
mov edx, dword [ebp - 0x650]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x6c4], ecx
mov esi, esp
push 0
mov edx, dword [ebp - 0x650]
push edx
call dword [ebp - 0x6c4]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x664], eax
cmp dword [ebp - 0x664], 0
jge 0x25cac2a
mov esi, esp
push 0x10
push 0x2564928
mov eax, dword [ebp - 0x664]
push eax
push 0x2564938
call fcn.025dcbe0
add esp, 8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x66c], 0
mov ecx, dword [ebp - 0x650]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x6c8], eax
mov esi, esp
lea ecx, [ebp - 0x66c]
push ecx
mov edx, dword [ebp - 0x650]
push edx
call dword [ebp - 0x6c8]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x664], eax
cmp dword [ebp - 0x66c], 0
jne 0x25cacb0
mov esi, esp
push 0x10
push 0x2564990
mov eax, dword [ebp - 0x664]
push eax
push 0x25649a0
call fcn.025dcbe0
add esp, 8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x66c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x6cc], eax
mov esi, esp
lea ecx, [ebp - 0x678]
push ecx
push 0x80058000
mov edx, dword [ebp - 0x66c]
push edx
call dword [ebp - 0x6cc]
cmp esi, esp
call fcn.026a5ffe
mov dword [ebp - 0x664], eax
cmp dword [ebp - 0x664], 0
jge 0x25cad31
mov esi, esp
push 0x10
push 0x2564a04
mov eax, dword [ebp - 0x664]
push eax
push 0x2564a10
call fcn.025dcbe0
add esp, 8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x650]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 0x650]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp esi, esp
call fcn.026a5ffe
mov edx, dword [ebp - 0x66c]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x66c]
push ecx
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.026a5ffe
nop
push 0x2564a7c
mov eax, dword [ebp - 0x678]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.025bf940
mov dword [ebp - 0x6d0], eax
mov ecx, dword [ebp - 0x6d0]
mov dword [ebp - 0x6d4], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6d4]
push edx
lea eax, [ebp - 0x698]
push eax
call fcn.025cafa0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6b4]
call fcn.025c05b0
nop
lea ecx, [ebp - 0x698]
call fcn.025cb750
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp esi, esp
call fcn.026a5ffe
cmp eax, 0xffffffff
jne 0x25cae0e
mov esi, esp
push 0x30
push 0x2564a94
push 0x2564aa0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x438]
call fcn.025cb750
mov dword [ebp - 0x6d8], eax
mov ecx, dword [ebp - 0x678]
mov dword [ebp - 0x6dc], ecx
mov esi, esp
mov edx, dword [ebp - 0x6d8]
push edx
mov eax, dword [ebp - 0x6dc]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
push 0x2564b20
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp esi, esp
call fcn.026a5ffe
mov esi, esp
mov edx, dword [ebp - 0x678]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp esi, esp
call fcn.026a5ffe
lea ecx, [ebp - 0x698]
call fcn.025c05b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.025c05b0
nop
push edx
mov ecx, ebp
push eax
lea edx, [0x25caec4]
call fcn.026a5faa
pop eax
pop edx
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.026a6086
add esp, 0x6dc
cmp ebp, esp
call fcn.026a5ffe
mov esp, ebp
pop ebp
ret