Function at 0x408290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb44
mov eax, dword [0x584c30]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x542]
push ecx
mov word [ebp - 0x544], ax
call fcn.00511ef0
xor edx, edx
push 0x1fe
push edx
lea eax, [ebp - 0x742]
push eax
mov word [ebp - 0x744], dx
call fcn.00511ef0
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x942]
push edx
mov word [ebp - 0x944], cx
call fcn.00511ef0
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0xb42]
push ecx
mov word [ebp - 0xb44], ax
call fcn.00511ef0
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x42]
push eax
mov word [ebp - 0x44], dx
call fcn.00511ef0
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x142]
push edx
mov word [ebp - 0x144], cx
call fcn.00511ef0
add esp, 0x48
call fcn.0041c4e6
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0x200
lea ecx, [ebp - 0x544]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x544]
push 0x5c
push eax
call fcn.0050f66e
add esp, 8
test eax, eax
je 0x408377
xor ecx, ecx
mov word [eax], cx
push ebx
push edi
push str.CleanerSettings.ini
lea edx, [ebp - 0x544]
push 0x200
push edx
call fcn.0050fcc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0x544]
push eax
push 0x100
lea ecx, [ebp - 0x744]
push ecx
push 0x5629d4
push 0x5634ec
push str.Last
call ebx
lea edx, [ebp - 0x744]
push 0x5629d4
push edx
call fcn.0050e96c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 8
test eax, eax
je 0x4083fe
mov eax, dword [esi + 0x794]
push 0
push 1
push 0xf1
push eax
call edi
lea ecx, [ebp - 0x744]
push ecx
lea ecx, [esi + 0x8d0]
call fcn.0042291f
lea edx, [ebp - 0x544]
push edx
push 0x100
lea eax, [ebp - 0xb44]
push eax
push 0x5629d4
push 0x563508
push str.Last
call ebx
lea ecx, [ebp - 0xb44]
push 0x5629d4
push ecx
call fcn.0050e96c
add esp, 8
test eax, eax
je 0x40845e
mov edx, dword [esi + 0x6ac]
push 0
push 1
push 0xf1
push edx
call edi
lea eax, [ebp - 0xb44]
push eax
lea ecx, [esi + 0x190]
call fcn.0042291f
lea ecx, [ebp - 0x544]
push ecx
push 0x100
lea edx, [ebp - 0x944]
push edx
push 0x5629d4
push 0x563514
push str.Last
call ebx
lea eax, [ebp - 0x944]
push 0x5629d4
push eax
call fcn.0050e96c
add esp, 8
test eax, eax
je 0x4084be
mov ecx, dword [esi + 0x808]
push 0
push 1
push 0xf1
push ecx
call edi
lea edx, [ebp - 0x944]
push edx
lea ecx, [esi + 0x944]
call fcn.0042291f
lea eax, [ebp - 0x544]
push eax
push 0x80
lea ecx, [ebp - 0x144]
push ecx
push 0x5629d4
push str.FileStr
push str.Last
call ebx
lea edx, [ebp - 0x144]
push 0x5629d4
push edx
call fcn.0050e96c
add esp, 8
test eax, eax
je 0x40851e
mov eax, dword [esi + 0xd78]
push 0
push 1
push 0xf1
push eax
call edi
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [esi + 0xdcc]
call fcn.0042291f
lea edx, [ebp - 0x544]
push edx
push 0
push str.NoMZ
push str.Last
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40854d
mov eax, dword [esi + 0xa4c]
push 0
push 1
push 0xf1
push eax
call edi
lea ecx, [ebp - 0x544]
push ecx
push 0
push str.Nested
push str.Last
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40857c
mov edx, dword [esi + 0x9d8]
push 0
push 1
push 0xf1
push edx
call edi
lea eax, [ebp - 0x544]
push eax
push 0x100
push 0x58cbb0
push 0x5629d4
push 0x56355c
push str.Last
call ebx
push 0x5629d4
push 0x58cbb0
call fcn.0050e96c
add esp, 8
test eax, eax
je 0x4085d8
mov ecx, dword [esi + 0x720]
push 0
push 1
push 0xf1
push ecx
call edi
push 0x58cbb0
lea ecx, [esi + 0x85c]
call fcn.0042291f
jmp 0x4085ef
push 0x5628c8
push 0xff
push 0x58cbb0
call fcn.0051018e
add esp, 0xc
lea edx, [ebp - 0x544]
push edx
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x562ff0
push str.ExtChars
push str.Last
call ebx
lea ecx, [ebp - 0x44]
push 0x562ff0
push ecx
call fcn.0050e96c
add esp, 8
test eax, eax
je 0x408643
mov edx, dword [esi + 0xc1c]
push 0
push 1
push 0xf1
push edx
call edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0xc70]
call fcn.0042291f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0050e062
mov esp, ebp
pop ebp
ret