Function at 0x40b26a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov word [ebp - 0xc], 0
mov eax, dword [0x42deb0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
ja case.default.0x40b28b
mov ecx, dword [ebp - 0x18]
jmp dword [ecx*4 + 0x40b61f]
call fcn.00410626
call fcn.0040b0fd
mov word [0x420748], 0xff9d
mov dword [0x420744], 0xffffff9d
mov dword [0x42deb0], 1
jmp 0x40b61b
push 0x420728
push 0x427c78
push 0x427c90
push 0x427bd0
push 0x427bf8
call fcn.0040f380
add esp, 0x14
movsx edx, word [0x427ca2]
cmp edx, 0x52
jne 0x40b2f9
call fcn.0040b0fd
mov word [0x427ca2], 0x4e
push 0x427bd0
call fcn.0040f7f1
add esp, 4
movsx eax, ax
test eax, eax
je 0x40b33a
mov word [0x420750], 0x14
push 0x420728
push 0x427bd0
call fcn.0040fde2
add esp, 8
mov dword [ebp - 4], eax
mov dword [0x42deb0], 2
jmp 0x40b616
cmp dword [0x427c10], 0
je 0x40b394
movsx ecx, word [0x420750]
test ecx, ecx
je 0x40b372
mov edx, dword [0x427c10]
add edx, 0x1f4
mov dword [0x427c10], edx
mov ax, word [0x420750]
sub ax, 1
mov word [0x420750], ax
jmp 0x40b381
push 0
call fcn.0040b220
add esp, 4
mov dword [0x427c10], eax
cmp dword [0x427c10], 0
jne 0x40b394
mov dword [0x427c10], 0xa
cmp dword [0x427c10], 0x1f4
jb 0x40b3c4
push 0x420728
push 0x427bd0
call fcn.0040fde2
add esp, 8
mov dword [ebp - 4], eax
mov dword [0x42deb0], 2
jmp 0x40b611
jmp 0x40b61b
push 0x420728
call fcn.004100ee
add esp, 4
push 1
call fcn.0040b220
add esp, 4
mov dword [0x427c10], 0
call fcn.0040b0ab
push 0x420728
push 0
call fcn.00410124
add esp, 8
mov dword [0x42deb0], 3
jmp 0x40b61b
push 0x420728
push 1
call fcn.00410124
add esp, 8
mov word [ebp - 0xc], ax
movsx ecx, word [ebp - 0xc]
test ecx, ecx
je 0x40b529
mov dword [0x42de8c], 0
push 0x420728
push 0x427bf8
call fcn.0040f84f
add esp, 8
mov word [ebp - 8], ax
movsx edx, word [ebp - 8]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0xffffffa3
je 0x40b461
cmp dword [ebp - 0x1c], 0
je 0x40b4b2
jmp 0x40b4bc
mov dword [0x427c10], 0x1f4
mov eax, dword [0x427c0c]
mov dword [eax + 0x1d4], 1
push 0x420ab0
push 0
push str.EvitaRotture
push 0x420acc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x40b4a3
push 0
push 0
push str.AAAARRGGGHHH__N._Frame_error_
call sub.MFC42.DLL_AfxMessageBox
mov dword [0x42deb0], 1
jmp 0x40b61b
mov dword [0x42de8c], 1
cmp dword [0x42de8c], 0
jne 0x40b4ce
mov word [0x420750], 0x14
mov dword [0x427c10], 1
mov ecx, dword [0x42074c]
mov edx, dword [0x42074c]
mov al, byte [edx + 0xa]
mov byte [ecx + 1], al
mov ecx, dword [0x42074c]
mov edx, dword [0x42074c]
mov al, byte [edx + 0xb]
mov byte [ecx + 2], al
mov ecx, dword [0x42074c]
mov dl, byte [ecx + 3]
add dl, 1
mov eax, dword [0x42074c]
mov byte [eax + 3], dl
mov ecx, dword [0x42074c]
mov byte [ecx + 4], 0
mov dword [0x42deb0], 1
jmp 0x40b61b
call fcn.0040b0c5
test eax, eax
je 0x40b603
mov edx, dword [0x42074c]
xor eax, eax
mov al, byte [edx + 4]
cmp eax, 0xa
jge 0x40b5f7
mov ecx, dword [0x42074c]
mov dl, byte [ecx + 4]
add dl, 1
mov eax, dword [0x42074c]
mov byte [eax + 4], dl
mov word [ebp - 0x10], 2
mov cx, word [ebp - 0x10]
mov word [ebp - 0x14], cx
jmp 0x40b586
mov dx, word [ebp - 0x10]
add dx, 1
mov word [ebp - 0x10], dx
mov ax, word [ebp - 0x14]
add ax, 1
mov word [ebp - 0x14], ax
movsx ecx, word [ebp - 0x10]
cmp ecx, 6
jge 0x40b5b0
movsx edx, word [ebp - 0x14]
mov eax, dword [0x420730]
xor ecx, ecx
mov cl, byte [eax + edx]
cmp ecx, 0x10
jne 0x40b5ae
mov dx, word [ebp - 0x14]
add dx, 1
mov word [ebp - 0x14], dx
jmp 0x40b56e
movsx eax, word [ebp - 0x14]
mov ecx, dword [0x420730]
mov edx, dword [0x42074c]
mov dl, byte [edx + 4]
mov byte [ecx + eax], dl
mov eax, dword [0x420734]
sub eax, 2
mov dword [0x420734], eax
push 0x420728
call fcn.0040f738
add esp, 4
mov dword [ebp - 4], eax
push 0x420728
call fcn.004100ee
add esp, 4
call fcn.0040b0ab
jmp 0x40b603
mov dword [0x42deb0], 1
jmp 0x40b61b
mov dword [0x42deb0], 3
jmp 0x40b61b
jmp 0x40b61b
jmp case.0x40b28b.2
jmp case.0x40b28b.2
mov esp, ebp
pop ebp
ret