Function at 0x4021a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x7b4
mov eax, dword [0x41f4c8]
xor eax, esp
mov dword [esp + 0x7b0], eax
mov eax, dword [0x451c30]
push esi
push edi
push 1
push str.SETUP
push str.Start_Setup_Processing.Ready_
push eax
mov esi, ecx
mov edi, edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x4024c9
mov ecx, dword [str.CREATE_PATH]
imul edi, edi, 0x3e54
imul esi, esi, 0x28c
mov edx, dword [0x417558]
mov eax, dword [0x41755c]
push ebx
push ebp
push 1
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x90]
add esi, edi
push 0x4172e0
push ecx
mov dword [esp + 0x24], esi
lea ebx, [esi + 0x42a822]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
call fcn.004048de
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push ebx
push 0x104
lea edx, [esp + 0x1c0]
push edx
push str.NONE
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x94]
push ecx
call edi
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpNA]
push 4
push str.NONE
lea edx, [esp + 0x1c0]
push edx
call ebp
test eax, eax
je 0x4022de
mov esi, 1
lea ecx, [ecx]
lea eax, [esp + 0x1b8]
push eax
call fcn.00404820
inc esi
push esi
lea ecx, [esp + 0x94]
push 0x4172e0
push ecx
call fcn.004048de
add esp, 0x10
push ebx
push 0x104
lea edx, [esp + 0x1c0]
push edx
push str.NONE
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x94]
push ecx
call edi
push 4
push str.NONE
lea edx, [esp + 0x1c0]
push edx
call ebp
test eax, eax
jne 0x402280
xor esi, esi
mov dword [esp + 0x20], str.COPY_FILE
mov dword [esp + 0x24], str.COPY_FILE_NORMAL
mov dword [esp + 0x28], str.COPY_FILE_NMSG
mov dword [esp + 0x2c], str.COPY_FILE_NORMAL_NMSG
mov dword [esp + 0x10], esi
jmp 0x402310
push 1
lea eax, [esp + 0xa4]
push 0x4172e0
push eax
call fcn.004048de
mov eax, dword [esp + esi*4 + 0x2c]
add esp, 0xc
push ebx
push 0x400
lea ecx, [esp + 0x3c8]
push ecx
push str.NONE
lea edx, [esp + 0xb0]
push edx
push eax
mov dword [esp + 0x2c], eax
call edi
push 4
push str.NONE
lea eax, [esp + 0x3c8]
push eax
call ebp
test eax, eax
je 0x4024a0
mov ebp, 1
jmp 0x402370
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c4]
push edx
call fcn.00401410
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 8
push eax
lea ecx, [esp + 0xb8]
push ecx
call esi
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x2c0]
push eax
call esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x42aa7c], 1
jne 0x4023ff
lea ecx, [esp + 0xb4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
inc eax
lea edx, [esp + 0x1c]
sub edx, eax
jmp 0x4023d0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4023d0
lea edx, [esi + 0x42aa80]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4023e5
sub eax, esi
push eax
push edx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x40243a
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40240d
push 1
push 1
jmp 0x402424
cmp eax, 1
jne 0x402417
push 0
push eax
jmp 0x402424
cmp eax, 2
jne 0x402420
push 1
jmp 0x402422
push 0
push 0
lea esi, [esp + 0xbc]
lea edi, [esp + 0x2c4]
call fcn.004020e0
add esp, 8
inc ebp
push ebp
lea eax, [esp + 0xa4]
push 0x4172e0
push eax
call fcn.004048de
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push ebx
push 0x400
lea ecx, [esp + 0x3c8]
push ecx
push str.NONE
lea edx, [esp + 0xb0]
push edx
push eax
call edi
push 4
push str.NONE
lea ecx, [esp + 0x3c8]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNA]
test eax, eax
jne 0x402370
mov esi, dword [esp + 0x10]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCmpNA]
inc esi
cmp esi, 4
mov dword [esp + 0x10], esi
jl 0x402310
mov edx, dword [0x451c30]
push 0
push str.SETUP
push str.Setup_Processing_is_completed.
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
pop ebx
mov ecx, dword [esp + 0x7b8]
pop edi
pop esi
xor ecx, esp
call fcn.0040495b
add esp, 0x7b4
ret