Function at 0x4056b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30c
xor eax, eax
lea edx, [esp + 0x104]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x426f58
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x114]
test ecx, ecx
jne 0x405705
lea edx, [esp + 0x114]
push 0x104
push edx
call fcn.00413cc0
add esp, 8
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x114]
push eax
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x5c
je 0x405762
mov edi, 0x4220bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.setupwiz.ini
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004136d0
add esp, 8
cmp eax, 0xffffffff
push ebp
jne 0x4057e7
push 0x467
push 0x428420
call fcn.004097e0
add esp, 0xc
mov dword [0x428ecc], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30c
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x14]
push 0x104
push eax
push 0x426bb0
push str.eula
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405831
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push ecx
push edx
lea eax, [ebp + 0x104]
push 0x4220b4
push eax
call fcn.00413140
add esp, 0x10
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.NTSP
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x30c]
push ecx
push 0x426bb0
push str.NTSpMinVer
push str.setup_wizard
call ebx
push ebp
lea edx, [esp + 0x14]
push 0x104
push edx
push 0x426bb0
push str.IEIni
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405944
lea eax, [esp + 0x10]
lea ecx, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x220]
push 0x4220b4
push edx
call fcn.00413140
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x114]
lea edx, [ebp + 0x30e]
push eax
push ecx
push 0x4220b4
push edx
call fcn.00413140
add esp, 0x10
lea eax, [esp + 0x218]
lea ecx, [esp + 0x10]
push eax
push 0x104
push ecx
push 0x426bb0
push str.version
push str.IE4CHECK
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xa44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push 0x422308
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405989
lea edx, [esp + 0x10]
lea eax, [esp + 0x114]
push edx
push eax
lea ecx, [ebp + 0x412]
push 0x4220b4
push ecx
call fcn.00413140
add esp, 0x10
push ebp
lea edx, [esp + 0x14]
push 0x104
push edx
push 0x426bb0
push 0x422304
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x4059ce
lea eax, [esp + 0x10]
lea ecx, [esp + 0x114]
push eax
push ecx
lea edx, [ebp + 0x516]
push 0x4220b4
push edx
call fcn.00413140
add esp, 0x10
push ebp
lea eax, [esp + 0x14]
push 0x104
push eax
push 0x426bb0
push 0x422300
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x61a]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push 0x4222f8
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405a5c
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x71e]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.Acme
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405aa7
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x822]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
push 0
push str.CommonFilesMin
push str.setup_wizard
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.AcmeID
push str.setup_wizard
mov word [ebp + 0x11a4], ax
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405b0c
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x926]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.MSDNID
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x933]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push str.VmVer
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xa64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push str.VmPath
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xa84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push str.NtSpUrl
push str.setup_wizard
call ebx
or ecx, 0xffffffff
lea edi, [esp + 0x10]
lea edx, [ebp + 0xb88]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push str.IEUrl
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xc8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push 0x4222a8
push str.setup_wizard
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x109c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 0x426bb0
push 0x4222a4
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405ce9
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x940]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.RegUrl
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405d34
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xd90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.UsrUrl
push str.setup_wizard
call ebx
mov al, byte [esp + 0x10]
test al, al
je 0x405d7f
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0xe94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x14]
push 0x104
push ecx
push 0x426bb0
push str.server1
push str.server_nt
call ebx
push ebp
lea edx, [esp + 0x14]
push 0x104
push edx
push 0x426bb0
mov esi, 1
push str.server1
push str.server_w95
mov dword [ebp + 0x11a0], esi
call ebx
push ebp
lea eax, [esp + 0x14]
push 0x104
push eax
push 0x426bb0
push str.server1
push str.server_351
mov dword [ebp + 0x11a0], esi
call ebx
mov edi, 0x427068
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x11a0], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x10]
test al, al
je 0x405e3f
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x940]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x42907c
call fcn.00404e10
test al, 1
jne 0x4057dc
lea ecx, [esp + 0x114]
push ecx
mov ecx, ebp
call fcn.00405510
cmp eax, 0xffffffff
je 0x4057d2
pop edi
pop esi
pop ebp
mov dword [0x428ec4], eax
pop ebx
add esp, 0x30c
ret