Function at 0x401f5b
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x3c
mov eax, 0x4be916
call fcn.00443ad4
xor ebx, ebx
push 0x103
lea eax, [ebp + 0x121]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x120], bl
call fcn.00443e40
lea eax, [esi + 0x24]
push 0x4cc5d8
push eax
lea eax, [ebp]
push eax
call fcn.004018ea
add esp, 0x18
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov dword [ebp - 4], ebx
jae 0x401fbf
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x120]
push eax
push 0x4cc6f0
push 0x4cc6ec
mov edi, str.SETUP
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4cc6e8
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004018ea
lea ecx, [ebp + 0x120]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.004018ea
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x78]
push eax
mov byte [ebp - 4], 2
call fcn.00401762
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401336
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00401336
push 0x4cc6e8
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004018ea
lea ecx, [ebp + 0x120]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.004018ea
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xcc]
push eax
mov byte [ebp - 4], 4
call fcn.00401762
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401336
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401336
push 0x103
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.00443e40
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 0x10
jae 0x4020ac
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x1c]
push eax
push 0x4cc6f0
push str.RUNLOGO
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x4cc6e8
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004018ea
lea ecx, [ebp + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
call fcn.004018ea
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 6
call fcn.00401762
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401336
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401336
xor eax, eax
inc eax
cmp dword [0x4f8f80], eax
mov dword [ebp - 0x10], eax
jle 0x40215c
push 0x4cc6dc
lea ecx, [esi + 0x94]
call fcn.00401745
mov eax, dword [0x4f8f84]
mov ecx, dword [ebp - 0x10]
push dword [eax + ecx*4]
lea ecx, [esi + 0x94]
call fcn.00401745
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x4f8f80]
jl 0x402128
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp + 0x120], bl
jae 0x40216e
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x120]
push eax
push 0x4cc6f0
push str.CMDLINE
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp + 0x120], bl
je 0x4021b6
lea ecx, [esi + 0x94]
push 0x4cc6dc
call fcn.00401745
lea eax, [ebp + 0x120]
push eax
lea ecx, [esi + 0x94]
call fcn.00401745
push 0xffffffffffffffff
lea eax, [esi + 0x94]
push ebx
push eax
lea ecx, [esi + 0x78]
call fcn.004014e0
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x94]
push eax
lea ecx, [esi + 0xcc]
call fcn.004014e0
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4021e9
lea eax, [ebp + 4]
push eax
push 1
push str.SHOW
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp + 0x18], 0x10
mov dword [esi + 4], eax
mov eax, dword [ebp + 4]
jae 0x402207
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x120]
push eax
push 0x4cc6c0
push 0x4cc6bc
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 0x120]
push eax
lea ecx, [esi + 0xb0]
call fcn.004018cd
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp + 0x120], bl
jae 0x402249
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x120]
push eax
push 0x4cc6a4
push str.CheckDiskTitle
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esi + 0x120]
cmp byte [ebp + 0x120], bl
jne 0x40227c
push 0x4cc6a4
jmp 0x402283
lea eax, [ebp + 0x120]
push eax
call fcn.004018cd
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp + 0x120], bl
jae 0x40229a
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x120]
push eax
push 0x4cc658
push str.CheckDiskTip
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esi + 0x104]
cmp byte [ebp + 0x120], bl
jne 0x4022cd
push 0x4cc60c
jmp 0x4022d4
lea eax, [ebp + 0x120]
push eax
call fcn.004018cd
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp + 0x120], bl
jae 0x4022eb
lea eax, [ebp + 4]
push eax
push 0x1f4
push str.CheckDiskSize
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 1
lea ecx, [ebp]
mov dword [esi + 0x13c], eax
call fcn.00401336
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x228
leave
ret