Function at 0x412f70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56999d
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xbc], edi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
cmovae eax, dword [ebp + 8]
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00402120
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.InstallCount
push str.MultiInstall
call esi
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x413087
push 0x30
push 0x5b05cc
push str.InstallCounts_value_is_empty
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x24], 0
je 0x413054
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x34]
mov byte [eax], 0
push dword [ebp - 0x1c]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x4134df
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0xffff
push str.PrimaryInstall
push str.MultiInstall
call esi
mov dword [edi + 0x60], eax
cmp eax, 0xffff
je 0x4134c3
cmp eax, dword [ebp - 0xa0]
ja 0x4134c3
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
lea edx, [ebp + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.004086a0
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00410ff0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xd8], 0x10
jb 0x41310b
push dword [ebp - 0xec]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0xd8], 0xf
mov esi, 1
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
jmp 0x413130
cmp esi, dword [ebp - 0xa0]
ja 0x413464
mov edx, esi
lea ecx, [ebp - 0x104]
call fcn.00417c00
push eax
mov edx, str.Path
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.0040a7c0
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xf0], 0x10
jb 0x413179
push dword [ebp - 0x104]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x68], 0x10
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xf0], 0xf
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x34]
push 0x5afb08
push eax
push str.MultiInstall
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
call fcn.00402250
cmp dword [ebp - 0x3c], 0
je 0x413449
push 1
push ecx
push 0x5b0ba8
lea ecx, [ebp - 0x4c]
call fcn.00402e20
cmp eax, 0xffffffff
je 0x4133a7
sub esp, 0x18
lea edi, [eax + 1]
mov ecx, esp
lea eax, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402ac0
mov edx, edi
lea ecx, [ebp - 0xb8]
call fcn.00417df0
add esp, 0x18
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x41321b
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0xd4]
call fcn.00417af0
push eax
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x94]
call fcn.00414c30
add esp, 4
cmp dword [ebp - 0xc0], 0x10
jb 0x413255
push dword [ebp - 0xd4]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xa4], 0x10
jb 0x41328b
push dword [ebp - 0xb8]
call fcn.00421c08
add esp, 4
sub esp, 0x18
mov dword [ebp - 0xa4], 0xf
mov ecx, esp
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 0xb8], 0
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402ac0
mov edi, dword [ebp - 0xbc]
mov ecx, edi
call fcn.00413520
test al, al
jne 0x41337b
cmp dword [ebp - 0x80], 0x10
jb 0x4132f5
push dword [ebp - 0x94]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp dword [ebp - 0x68], 0x10
jb 0x41331e
push dword [ebp - 0x7c]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
jb 0x413341
push dword [ebp - 0x64]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x413364
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jmp 0x4134df
lea eax, [ebp - 0x94]
push eax
lea ecx, [edi + 0x64]
call fcn.004107a0
cmp dword [ebp - 0x80], 0x10
jb 0x413449
push dword [ebp - 0x94]
call fcn.00421c08
add esp, 4
jmp 0x413449
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xd4]
call fcn.00410ff0
push eax
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb8]
call fcn.00414c30
add esp, 4
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
mov edx, eax
push edi
call fcn.00403d00
add esp, 4
mov ecx, edi
call fcn.00413950
test al, al
sete byte [ebp - 0x95]
cmp dword [ebp - 0xa4], 0x10
jb 0x413406
push dword [ebp - 0xb8]
call fcn.00421c08
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc0], 0x10
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
jb 0x41343c
push dword [ebp - 0xd4]
call fcn.00421c08
add esp, 4
cmp byte [ebp - 0x95], 0
jne 0x41330d
mov byte [ebp - 4], 7
cmp dword [ebp - 0x68], 0x10
jb 0x41345e
push dword [ebp - 0x7c]
call fcn.00421c08
add esp, 4
inc esi
jmp 0x413130
cmp dword [ebp - 0x50], 0x10
jb 0x413475
push dword [ebp - 0x64]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x413498
push dword [ebp - 0x4c]
call fcn.00421c08
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.004020a0
cmp dword [ebp + 0x1c], 0x10
jb 0x4134b1
push dword [ebp + 8]
call fcn.00421c08
add esp, 4
mov al, 1
jmp 0x4134fa
push 0x10
push 0x5b05cc
push str.Invalid_PrimaryInstall
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x34]
call fcn.004021f0
lea ecx, [ebp - 0x34]
call fcn.004020a0
cmp dword [ebp + 0x1c], 0x10
jb 0x4134f8
push dword [ebp + 8]
call fcn.00421c08
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 0x18