Function at 0x411bdf
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x418320
call fcn.00417cf0
sub esp, 0xac
test byte [0x419c40], 1
push ebx
push esi
push edi
mov esi, 0x419ad8
jne 0x411c19
or byte [0x419c40], 1
mov ecx, esi
call fcn.0040ed21
push 0x4123c8
call fcn.00417cbb
pop ecx
mov eax, dword [ebp + 0xc]
sub eax, 0xf
je 0x41233c
sub eax, 0x3f
je 0x4120d8
sub eax, 0xc2
je 0x412023
dec eax
jne 0x4123b5
push 0x469
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0
movzx eax, word [ebp + 0x10]
dec eax
mov dword [ebp - 0x10], edi
pop ebx
je 0x411eef
sub eax, 0x410
je 0x411d0d
sub eax, 0x27
je 0x411fc9
sub eax, 0x2c
je 0x411cee
sub eax, 6
jne 0x411fc9
push 0x28
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
mov dword [ebp - 0x40], 4
push ebx
push ebx
push 0x1042
push edi
call esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x1005
push edi
call esi
test eax, eax
je 0x411fc9
push dword [ebp - 0x20]
mov ecx, 0x418800
call fcn.004107e7
mov esi, eax
cmp esi, ebx
je 0x411fc9
push 0x46a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov dword [esi + 0x4c], eax
jmp 0x411fc9
push ebx
push 0x4117bc
push dword [ebp + 8]
push 0x126
push dword [0x42c490]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x411fc9
push 0x28
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
mov dword [ebp - 0x40], 4
push ebx
push ebx
push 0x1042
push edi
call esi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x1005
push edi
call esi
test eax, eax
je 0x411fc9
push dword [ebp - 0x20]
mov ecx, 0x418800
call fcn.004107e7
mov edi, eax
cmp edi, ebx
je 0x411fc9
mov eax, dword [0x4045c8]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
mov dword [ebp - 4], ebx
call fcn.00412b95
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040c3a3
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0040c21b
lea ecx, [ebp + 0xc]
call fcn.0040c58b
push dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_CharLowerA]
call esi
push 0x404eec
lea ecx, [ebp + 0xc]
call fcn.00412655
cmp eax, 0xffffffff
je 0x411ede
mov eax, dword [0x4045c8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
mov byte [ebp - 4], 2
call fcn.00412b2a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040c58b
push dword [ebp - 0x18]
call esi
cmp dword [edi + 0x24], 2
jne 0x411e8c
lea eax, [ebp - 0x68]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00412511
mov eax, dword [eax]
push 0x404ee4
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
neg eax
pop ecx
sbb al, al
pop ecx
inc al
lea ecx, [ebp - 0x68]
mov byte [ebp + 0x17], al
call fcn.0040c21b
cmp byte [ebp + 0x17], bl
je 0x411e8c
push 1
push 0x4199cc
push 0xfa7
call fcn.0040d75f
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
jne 0x411e8c
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.00412b95
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0041031f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040c3a3
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0040c21b
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.0040c21b
push ebx
push dword [ebp - 0x14]
call fcn.00413793
pop ecx
pop ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov esi, dword [eax - 8]
call fcn.0040c58b
mov eax, dword [ebp + 0xc]
mov byte [esi + eax - 1], bl
push dword [ebp + 0xc]
call fcn.00411761
test eax, eax
pop ecx
je 0x411ec7
push ebx
push dword [ebp - 0x3c]
push 0x1008
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040c21b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040c21b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040c21b
jmp 0x411fc9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1004
push edi
mov dword [ebp + 0x14], ebx
call esi
cmp eax, ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ebx
jle 0x411fa1
jmp 0x411f15
mov edi, dword [ebp - 0x10]
push 0x28
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x1005
push edi
mov dword [ebp - 0x40], 4
call esi
test eax, eax
je 0x411f92
push dword [ebp - 0x20]
mov ecx, 0x418800
call fcn.004107e7
push 0xf000
mov edi, eax
push dword [ebp + 8]
push 0x102c
push dword [ebp - 0x10]
call esi
shr eax, 0xc
dec eax
cmp eax, dword [edi + 0x40]
je 0x411f92
cmp eax, ebx
mov dword [edi + 0x40], eax
je 0x411f92
mov ecx, edi
call fcn.00410195
cmp eax, 2
je 0x411f8b
mov ecx, edi
call fcn.00410195
cmp eax, 3
jne 0x411f92
mov dword [ebp + 0x14], 1
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jl 0x411f12
mov esi, 0x404cac
push 0x80000001
push esi
call fcn.0040da59
cmp dword [ebp + 0x14], ebx
pop ecx
pop ecx
je 0x411fc9
push ebx
push 1
push 0x404ed0
push esi
call fcn.0040e1c9
add esp, 0x10
cmp word [ebp + 0x10], 1
je 0x411fdb
cmp word [ebp + 0x10], 2
jne 0x4123b5
push ebx
push 0xffffffffffffffff
mov ecx, 0x418800
call fcn.00410712
mov edi, eax
xor esi, esi
cmp edi, ebx
jle 0x4123b5
push ebx
push esi
push 0xffffffffffffffff
mov ecx, 0x418800
call fcn.00410773
cmp eax, ebx
je 0x412019
cmp word [ebp + 0x10], 1
mov edx, dword [eax]
mov ecx, eax
jne 0x412016
call dword [edx + 0x28]
jmp 0x412019
call dword [edx + 0x24]
inc esi
cmp esi, edi
jl 0x411ff4
jmp 0x4123b5
push 0x438
mov ecx, esi
push dword [ebp + 8]
call fcn.0040f080
push 0x469
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
mov edi, eax
push ebx
push 0x1037
push edi
call esi
or al, 0x24
push eax
push ebx
push 0x1036
push edi
call esi
mov dword [ebp - 0x50], 0xc43
mov dword [ebp - 0x4c], 0xc44
mov dword [ebp - 0x48], 0xc45
mov dword [ebp - 0x44], 0xc46
mov dword [ebp - 0x78], 0xaf
mov dword [ebp - 0x74], 0x6e
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x78
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + ebx*4 - 0x78]
push dword [ebp + ebx*4 - 0x50]
mov dword [ebp - 0x30], eax
call fcn.0040d75f
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x101b
push edi
call esi
inc ebx
cmp ebx, 4
jl 0x4120a2
push edi
call fcn.004114af
pop ecx
push 1
pop eax
jmp 0x4123b7
mov eax, 0x469
cmp dword [ebp + 0x10], eax
jne 0x4123b5
mov edi, dword [ebp + 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x4123b5
cmp dword [edi + 8], 0xffffff9b
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x4122b1
push eax
push dword [ebp + 8]
call esi
mov dword [ebp + 0x10], eax
push 0x28
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x1005
mov dword [ebp - 0x40], 4
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4122b1
push dword [ebp - 0x20]
mov ecx, 0x418800
call fcn.004107e7
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x4122b1
mov edi, 0x46a
push edi
push dword [ebp + 8]
call esi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
call fcn.00410195
cmp eax, 2
jne 0x412199
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x44], ebx
jne 0x412199
push 1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [eax + 0x4c]
cmp eax, ebx
setne cl
push ecx
jmp 0x4121a4
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x411
push dword [ebp + 8]
call esi
mov ecx, dword [ebp + 0x10]
mov edi, eax
call fcn.00410195
cmp eax, 3
jne 0x4121ca
push ebx
jmp 0x4121cc
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
call fcn.00412b95
push 0x404cd0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 6
push eax
call fcn.004103c4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.0040c21b
mov eax, dword [0x4045c8]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
push 0x103
push 0x104
call fcn.0040c4fc
push eax
push 0x418a34
push 0x404ec4
push 0x404cb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.0040c563
mov edi, 0x404ec0
lea ecx, [ebp + 0xc]
push edi
push 0x404eb8
call fcn.00412998
push edi
push 0x404eb4
lea ecx, [ebp + 0xc]
call fcn.00412998
push dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x46c
push dword [ebp + 8]
call edi
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
call fcn.004101a7
push dword [eax]
push 0x46e
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x58]
call fcn.0040c21b
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.0040c21b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c21b
mov edi, dword [ebp + 0x14]
cmp dword [edi + 8], 0xffffff9b
jne 0x4123b5
push 0x469
push dword [ebp + 8]
call esi
mov dword [ebp + 0x10], eax
push 0x28
lea eax, [ebp - 0x40]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push ebx
push 0x1005
mov dword [ebp - 0x40], 4
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4123b5
push dword [ebp - 0x20]
mov ecx, 0x418800
call fcn.004107e7
mov edi, eax
cmp edi, ebx
je 0x4123b5
push 0x411
push dword [ebp + 8]
call esi
mov ecx, edi
mov esi, eax
call fcn.00410195
cmp eax, 3
jne 0x412338
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4123b5
push 1
jmp 0x41232f
lea eax, [ebp - 0xb8]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 0x44], ebx
jle 0x41239c
push ebx
push esi
push ebx
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
push esi
push dword [ebp - 0x48]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
inc esi
inc esi
cmp esi, dword [ebp - 0x44]
jl 0x412380
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0xb8]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10