Function at 0x435098
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, 0x4b5d2e
call fcn.0048501f
mov esi, dword [ebp + 0x40c]
push dword [esi + 0xc0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43551a
xor eax, eax
push 0x3fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00484150
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.004333e9
and dword [ebp - 4], 0
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x18]
call fcn.0042aa60
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0042aa60
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a487
test al, al
jne 0x43550f
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.0043323e
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.00484927
pop ecx
test eax, eax
jbe 0x4354e7
cmp dword [ebp - 0x10], 2
je 0x4354e7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push 0x4c2604
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484927
pop ecx
test eax, eax
jbe 0x4354e7
cmp dword [ebp - 0x10], 2
je 0x4354e7
lea eax, [ebp]
push eax
call fcn.0048ab4f
pop ecx
test eax, eax
jbe 0x4354e7
push edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp]
push 0
push eax
call fcn.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
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.00484927
pop ecx
test eax, eax
jbe 0x43524f
cmp dword [ebp - 0x10], 2
jne 0x435256
mov dword [ebp - 0x30], 1
push 0x4c270c
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x435272
mov dword [ebp - 0x30], 1
jmp 0x435288
push 0x4c2704
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x435288
and dword [ebp - 0x30], eax
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
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.00484927
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.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
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.00484927
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.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
push dword [ebp - 0x10]
lea ecx, [ebp]
push 0x200
push ecx
push 0
push 0x4c260c
push dword [eax]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
push eax
call fcn.00484927
pop ecx
test eax, eax
jbe 0x4354e7
cmp dword [ebp - 0x10], 2
je 0x4354e7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040c8e0
push edi
lea eax, [ebp]
push 0
push eax
call fcn.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
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.00484927
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.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
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.00484927
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.00484150
mov eax, dword [esi + 0xc0]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0043323e
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.0043323e
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.0043323e
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.0042aa60
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a3ef
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x48]
call fcn.00434e14
lea ecx, [ebp - 0x18]
call fcn.0043326a
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0042aa60
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0042a487
test al, al
je 0x435131
lea ecx, [ebp - 0x50]
call fcn.0042aace
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.00484247
add ebp, 0x404
leave
ret 4