Function at 0x435230
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x463d4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfd8
push ebx
push ebp
push esi
push edi
mov ecx, 0x3a2
xor eax, eax
lea edi, [esp + 0x160]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x47b780
xor ebp, ebp
mov dword [esp + 0xafc], ebx
mov dword [esp + 0xb08], 2
mov dword [esp + 0xb04], 1
call fcn.004438e0
mov eax, dword [0x47b85c]
mov edx, dword [esp + 0xff8]
mov ecx, dword [eax + 8]
call fcn.0040b460
cmp eax, ebx
je 0x4352c0
add eax, 0x10
cmp eax, ebx
je 0x4352c0
mov ecx, 0x3a2
mov esi, eax
lea edi, [esp + 0x160]
lea ebx, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x47b780
call fcn.00443910
test ebx, ebx
je 0x435677
test byte [ebx + 0x9a0], 4
je 0x4352e5
mov eax, 1
jmp 0x435679
lea ecx, [esp + 0x10]
push ecx
call fcn.00408910
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
push eax
push 0
push str.HideTray
push str.main
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00408010
test edi, edi
je 0x43531f
xor eax, eax
jmp 0x435679
mov eax, dword [ebx + 0x9a8]
test eax, eax
jne 0x435330
xor ebp, ebp
jmp 0x435677
cmp eax, 1
jne 0x43533c
mov ebp, eax
jmp 0x435677
cmp eax, 2
jne 0x435677
lea edx, [esp + 0x10]
mov ebp, 1
push edx
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push ebp
push str.HasTip
push 0x473dc8
call esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00408010
test edi, edi
je 0x435677
mov eax, dword [0x46f42c]
mov dword [esp + 0x18], eax
add ebx, 0x64
lea ecx, [esp + 0x18]
push ebx
push 0x46fa74
push ecx
mov dword [esp + 0xffc], 0
call fcn.004076f0
mov edx, dword [esp + 0x1008]
add esp, 0xc
lea eax, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00407110
lea ecx, [esp + 0x28]
call fcn.0042b5a0
lea ecx, [esp + 0x10]
mov byte [esp + 0xff0], 1
push ecx
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push ebp
push str.ProtectType
push str.main
call esi
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00408010
cmp esi, ebp
je 0x435401
mov eax, 3
jmp 0x435464
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x47b7d4
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x47b808]
lea ecx, [esp + 0x28]
push 0x47b7d4
mov dword [esp + 0x34], eax
mov dword [0x47b808], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x47b7a8]
push 0
push 0x4096e0
push esi
push 0xd8
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [esp + 0xb0]
inc eax
cmp eax, 4
ja case.default.0x43546e
jmp dword [eax*4 + 0x435694]
mov ecx, 0x47b780
call fcn.004438e0
mov edx, dword [esp + 0xff8]
push 0
push edx
mov ecx, 0x47b780
call fcn.004459e0
mov ecx, 0x47b780
call fcn.00443910
mov eax, dword [0x46f42c]
mov dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x18]
push 0x46f644
push ecx
mov byte [esp + 0xffc], 2
call fcn.004076f0
lea edx, [esp + 0x1c]
push edx
call fcn.00408910
mov eax, dword [eax]
add esp, 0x10
push eax
mov eax, dword [esp + 0x18]
push eax
push str.HasTip
push 0x473dc8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x10]
call fcn.00408010
lea ecx, [esp + 0x14]
mov byte [esp + 0xff0], 1
call fcn.00408010
xor ebp, ebp
jmp case.default.0x43546e
mov ecx, 0x47b780
call fcn.004438e0
mov ecx, dword [esp + 0xff8]
push 1
push ecx
mov ecx, 0x47b780
call fcn.004459e0
mov ecx, 0x47b780
call fcn.00443910
mov edx, dword [0x46f42c]
mov dword [esp + 0x14], edx
push 0
lea eax, [esp + 0x18]
push 0x46f644
push eax
mov byte [esp + 0xffc], 3
call fcn.004076f0
lea ecx, [esp + 0x28]
push ecx
call fcn.00408910
mov eax, dword [eax]
mov edx, dword [esp + 0x24]
add esp, 0x10
push eax
push edx
push str.HasTip
push 0x473dc8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x1c]
call fcn.00408010
lea ecx, [esp + 0x14]
mov byte [esp + 0xff0], 1
call fcn.00408010
mov ebp, 1
jmp case.default.0x43546e
xor ebp, ebp
mov dword [0x47b864], ebp
mov eax, dword [esp + 0x158]
mov byte [esp + 0xff0], 9
test eax, eax
je 0x4355bd
lea ecx, [esp + 0x158]
call fcn.00417940
mov eax, dword [esp + 0x154]
mov byte [esp + 0xff0], 8
test eax, eax
je 0x4355dc
lea ecx, [esp + 0x154]
call fcn.00417940
mov eax, dword [esp + 0x150]
mov byte [esp + 0xff0], 7
test eax, eax
je 0x4355fb
lea ecx, [esp + 0x150]
call fcn.00417940
lea ecx, [esp + 0x14c]
mov byte [esp + 0xff0], 6
call fcn.00408010
lea ecx, [esp + 0x100]
mov byte [esp + 0xff0], 5
call fcn.00409330
lea ecx, [esp + 0xb8]
mov byte [esp + 0xff0], 4
call fcn.00409330
lea ecx, [esp + 0x20]
mov byte [esp + 0xff0], 0
call fcn.0042cbe0
mov eax, dword [esp + 0x18]
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x435677
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x435677
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xfe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfe4
ret