Function at 0x415dea
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x46763c
call fcn.00466f40
sub esp, 0x33c
push ebx
push esi
push edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov ebx, ecx
push edi
push edi
push 0x1037
mov dword [ebx + 0x47c], edi
push dword [ebx + 0x41c]
mov dword [ebp - 0x28], 0x54
mov dword [ebp - 0x24], 0xc44
mov dword [ebp - 0x30], 0xd7
mov dword [ebp - 0x2c], 0x50
call esi
or al, 0x24
push eax
push edi
push 0x1036
push dword [ebx + 0x41c]
call esi
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x74], edi
mov eax, dword [ebp + edi*4 - 0x30]
push dword [ebp + edi*4 - 0x28]
mov dword [ebp - 0x70], eax
call fcn.00452730
mov dword [ebp - 0x6c], eax
pop ecx
lea eax, [ebp - 0x78]
push eax
push edi
push 0x1061
push dword [ebx + 0x41c]
call esi
inc edi
cmp edi, 2
jl 0x415e53
xor edi, edi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x58], 0xc49
mov dword [ebp - 0x54], 0xc48
mov dword [ebp - 0x50], 0xc47
mov dword [ebp - 0x4c], 0xc4a
mov dword [ebp - 0x48], 0xc4b
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
push edi
mov ecx, 0x48aa84
mov eax, dword [ebp + eax - 0x44]
push eax
call fcn.0043ceee
cmp eax, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], edi
jle 0x416119
mov eax, dword [ebp - 0x10]
push edi
push dword [ebp - 0x1c]
mov ecx, 0x48aa84
push dword [ebp + eax - 0x44]
call fcn.0043cf3b
cmp eax, edi
mov dword [ebp - 0x24], eax
je 0x41610a
cmp dword [eax + 0x14], edi
jne 0x41610a
push dword [eax + 0x44]
lea ecx, [ebp - 0x18]
call fcn.00416715
mov dword [ebp - 4], edi
mov edi, 0x40b4a0
mov eax, edi
test eax, eax
je 0x415f34
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.004168db
mov eax, dword [0x40b12c]
mov dword [ebp - 0x14], eax
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0xa0]
rep stosd dword es:[edi], eax
and dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa0], 5
mov dword [ebp - 0x80], eax
mov edi, dword [eax + 0x38]
mov byte [ebp - 4], 1
test edi, edi
jne 0x415f78
xor eax, eax
jmp 0x415f7f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004167eb
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.004169c4
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x8c], eax
call fcn.00416a3e
lea eax, [ebp - 0xa0]
push eax
push 0
push 0x104d
push dword [ebx + 0x41c]
call esi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc0], 1
push dword [ebp + edi - 0x58]
call fcn.00452730
mov dword [ebp - 0xb4], eax
pop ecx
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0x20]
push 0x1074
push dword [ebx + 0x41c]
call esi
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x130], 0xf000
mov eax, dword [eax + 0x30]
test eax, eax
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x20]
setne cl
inc ecx
push 0x102b
push dword [ebx + 0x41c]
shl ecx, 0xc
mov dword [ebp - 0x134], ecx
call esi
cmp dword [ebp + edi - 0x44], 3
je 0x4160f0
and word [ebp - 0x348], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x346]
push dword [ebp - 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x348]
push 0x103
push eax
push 0x469bb8
push 0x40b348
push 0x40b490
call edi
lea eax, [ebp - 0x348]
mov dword [ebp - 0xe8], 2
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x20]
push 0x1074
push dword [ebx + 0x41c]
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x348]
push 0x103
push eax
push 0x469bb8
push 0x40b368
push 0x40b490
call edi
lea eax, [ebp - 0x348]
mov dword [ebp - 0x110], 3
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x20]
push 0x1074
push dword [ebx + 0x41c]
call esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004166e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004166e9
xor edi, edi
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jl 0x415eeb
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 0x14
jl 0x415eca
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0x47c], 1
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret