Function at 0x46d740
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x54], ecx
push 1
push 0x5b43
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x58
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
push 1
push 0x5b44
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x58
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
push 1
push 0x5b45
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x58
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
push 1
push 0x5b3b
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x58
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
push 1
push 0x5b3c
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x58
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
push 1
push 0x5b3d
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x58
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x188], 0
je 0x46d824
mov ecx, dword [ebp - 0x54]
call fcn.00472330
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5c57
jne 0x46d824
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x188], 0
lea ecx, [ebp - 0x10]
call fcn.00433cf0
movzx edx, al
test edx, edx
je 0x46d96a
lea ecx, [ebp - 0x14]
call fcn.00433cf0
movzx eax, al
test eax, eax
je 0x46d96a
lea ecx, [ebp - 0x20]
call fcn.00433cf0
movzx ecx, al
test ecx, ecx
je 0x46d96a
lea ecx, [ebp - 0x1c]
call fcn.00433cf0
movzx edx, al
test edx, edx
je 0x46d96a
lea ecx, [ebp - 4]
call fcn.00433cf0
movzx eax, al
test eax, eax
je 0x46d96a
lea ecx, [ebp - 0x18]
call fcn.00433cf0
movzx ecx, al
test ecx, ecx
je 0x46d96a
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x188]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x46d8b9
cmp dword [ebp - 0x58], 1
je 0x46d8f4
cmp dword [ebp - 0x58], 2
je 0x46d92f
jmp 0x46d96a
lea ecx, [ebp - 0x10]
call fcn.00433ce0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046d560
lea ecx, [ebp - 0x1c]
call fcn.00433ce0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046c570
push 0x4ff390
push 0x4ff3bc
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0048ea60
add esp, 0xc
jmp 0x46d96a
lea ecx, [ebp - 0x14]
call fcn.00433ce0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046d560
lea ecx, [ebp - 4]
call fcn.00433ce0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046c570
push 0x4ff3e8
push 0x4ff414
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0048ea60
add esp, 0xc
jmp 0x46d96a
lea ecx, [ebp - 0x20]
call fcn.00433ce0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046d560
lea ecx, [ebp - 0x18]
call fcn.00433ce0
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0046c570
push 1
push str.advtool_PopWndTracker
push str.SOFTWARE360Safe_stat
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0048e9c0
add esp, 0x10
push 0x4ff498
lea ecx, [ebp - 0xc]
call fcn.00413a00
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x188]
push edx
push 0x4ff49c
lea eax, [ebp - 0xc]
push eax
call fcn.00415220
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
call fcn.00410200
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
lea ecx, [ebp - 0xc]
call fcn.00413b20
push eax
push 0x4ff4a4
push 0x4ff4b0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.00413a40
mov edx, dword [ebp - 0x54]
cmp dword [edx + 0x188], 0
jne 0x46da09
lea eax, [ebp - 0x34]
push eax
call fcn.00410200
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
push 0x4ff4c4
push 0x4ff4c8
push 0x4ff4d4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x34]
call fcn.00413a40
jmp 0x46daaa
lea ecx, [ebp - 0x38]
push ecx
call fcn.00410200
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
push 0xffffffffffffffff
push str.typeweb
push 0x4ff4f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x38]
call fcn.00413a40
cmp dword [ebp - 0x28], 0xffffffff
je 0x46da46
cmp dword [ebp - 0x28], 1
jne 0x46da79
lea edx, [ebp - 0x3c]
push edx
call fcn.00410200
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
push 0x4ff50c
push 0x4ff510
push 0x4ff51c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x3c]
call fcn.00413a40
jmp 0x46daaa
lea eax, [ebp - 0x40]
push eax
call fcn.00410200
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
push 0x4ff530
push 0x4ff534
push 0x4ff540
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x40]
call fcn.00413a40
push 1
push 0x406
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x54
call fcn.00433c20
mov ecx, eax
call fcn.00436b80
mov ecx, eax
call fcn.00435ba0
mov ecx, eax
call fcn.00436a70
push eax
lea ecx, [ebp - 8]
call fcn.00435490
lea ecx, [ebp - 0x48]
call fcn.004373f0
lea ecx, [ebp - 0x44]
call fcn.004373a0
lea ecx, [ebp - 8]
call fcn.004346c0
movzx eax, al
test eax, eax
je 0x46db6e
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x188], 0
jne 0x46db16
mov dword [ebp - 0x5c], str.._image_icon_off.png
jmp 0x46db1d
mov dword [ebp - 0x5c], str.._image_icon_on.png
push ecx
mov ecx, esp
push 0x4ff554
call fcn.00436630
push ecx
mov ecx, esp
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00436630
mov ecx, 0x518d54
call fcn.00433df0
mov ecx, eax
call fcn.00436ee0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 8]
call fcn.00434690
mov ecx, eax
call fcn.00436cb0
push 1
lea ecx, [ebp - 8]
call fcn.00434690
mov ecx, eax
call fcn.00436a20
mov ecx, dword [ebp - 0x54]
call fcn.0046e2b0
mov ecx, dword [ebp - 0x54]
call fcn.0046e450
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x188]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.004725d0
mov ecx, dword [ebp - 0x54]
call fcn.0046dbe0
lea ecx, [ebp - 8]
call fcn.00434670
lea ecx, [ebp - 0xc]
call fcn.00413a40
lea ecx, [ebp - 0x18]
call fcn.004373f0
lea ecx, [ebp - 4]
call fcn.004373f0
lea ecx, [ebp - 0x1c]
call fcn.004373f0
lea ecx, [ebp - 0x20]
call fcn.004373f0
lea ecx, [ebp - 0x14]
call fcn.004373f0
lea ecx, [ebp - 0x10]
call fcn.004373f0
mov esp, ebp
pop ebp
ret