Function at 0x416140
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x467658
call fcn.00466f40
sub esp, 0x214
push ebx
push esi
mov esi, 0x469bb8
mov ebx, ecx
mov eax, esi
push edi
test eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 0x488]
je 0x416170
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.004167eb
mov eax, esi
lea edi, [ebx + 0x48c]
test eax, eax
je 0x41618c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.004167eb
mov eax, esi
lea edi, [ebx + 0x484]
test eax, eax
je 0x4161a8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.004167eb
mov edi, dword [ebp + 8]
test edi, edi
je 0x4163af
mov dword [ebx + 0x480], edi
mov eax, dword [edi + 0x20]
cmp eax, 2
jne 0x4161ed
cmp dword [edi + 0x34], 0
jne 0x4161ed
push 1
push dword [ebx + 0x420]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x1c]
xor ecx, ecx
test eax, eax
setne cl
push 0
push ecx
jmp 0x4161ff
push 0
push dword [ebx + 0x420]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
push dword [ebx + 0x420]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x20]
cmp eax, 3
jne 0x41621c
push 0
jmp 0x41621e
push 1
push dword [ebx + 0x418]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 0x44]
lea ecx, [ebp - 0x14]
call fcn.00416715
mov ebx, 0x40b4a0
xor eax, eax
mov ecx, ebx
mov dword [ebp - 4], eax
test ecx, ecx
je 0x41624c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.004168db
mov eax, dword [0x40b12c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push 0x103
push 0x104
call fcn.004169c4
push eax
push esi
push 0x40b4d0
push 0x40b490
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00416a3e
mov ebx, 0x40b4cc
lea ecx, [ebp - 0x10]
push ebx
push 0x40b4c0
call fcn.00416aa0
push ebx
push 0x40b4b8
lea ecx, [ebp - 0x10]
call fcn.00416aa0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x484]
mov ecx, ebx
mov dword [ebp + 8], ebx
call fcn.0041688b
cmp dword [edi + 0x20], 3
je 0x416386
and word [ebp - 0x220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
stosw word es:[edi], ax
mov edi, 0x207
lea eax, [ebp - 0x220]
push edi
push eax
push esi
push 0x40b348
push 0x40b490
call ebx
lea eax, [ebp - 0x220]
test eax, eax
je 0x416328
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x220]
push ecx
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x488]
call fcn.004167eb
push dword [ebp - 0x14]
lea eax, [ebp - 0x220]
push edi
push eax
push esi
push 0x40b368
push 0x40b490
call ebx
lea eax, [ebp - 0x220]
test eax, eax
je 0x41636d
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x220]
push ecx
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x48c]
call fcn.004167eb
mov ebx, dword [ebp + 8]
push dword [ebx]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x424]
call dword [sym.imp.USER32.dll_SetWindowTextW]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004166e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004166e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4