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

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x4c
mov eax, 0x4b613e
call fcn.00485421
mov esi, dword [ebp + 0x40c]
push dword [esi + 0xc0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43556d
xor eax, eax
push 0x3fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00484550
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.0043343c
and dword [ebp - 4], 0
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.0042aab5
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0042aab5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a4dc
test al, al
jne 0x435562
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x400
mov eax, dword [esi + 0xc0]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push str.name
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
test eax, eax
jbe 0x43553a
cmp dword [ebp - 0x10], 2
je 0x43553a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push 0x4c266c
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
test eax, eax
jbe 0x43553a
cmp dword [ebp - 0x10], 2
je 0x43553a
lea eax, [ebp]
push eax
call fcn.0048af4f
pop ecx
test eax, eax
jbe 0x43553a
push edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push str.btnstate
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
test eax, eax
jbe 0x4352a2
cmp dword [ebp - 0x10], 2
jne 0x4352a9
mov dword [ebp - 0x30], 1
push 0x4c2774
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4352c5
mov dword [ebp - 0x30], 1
jmp 0x4352db
push 0x4c276c
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4352db
and dword [ebp - 0x30], eax
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push str.on_info
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push str.off_info
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push 0x4c2674
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
test eax, eax
jbe 0x43553a
cmp dword [ebp - 0x10], 2
je 0x43553a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push str.toolids
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push str.smalllogo
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp]
push eax
call fcn.00484d27
pop ecx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484550
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
mov eax, dword [eax]
push 0
push str.st_base
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xc0]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
mov eax, dword [eax]
push dword [ebp - 0x10]
push 0
push str.size
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xc0]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00433291
push dword [ebp - 0x10]
mov eax, dword [eax]
push 1
push str.checkexpire
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28], eax
call fcn.0042aab5
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a444
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x48]
call fcn.00434e67
lea ecx, [ebp - 0x18]
call fcn.004332bd
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0042aab5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a4dc
test al, al
je 0x435184
lea ecx, [ebp - 0x50]
call fcn.0042ab23
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00484647
add ebp, 0x404
leave
ret 4