Function at 0x40cd90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568fdd
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5d4050]
xor eax, ebp
mov dword [ebp - 0x18], 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 - 0x80], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
lea esi, [edi + 0x28]
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x40cdf6
mov ecx, dword [esi]
jmp 0x40cdf8
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40ce03
mov eax, dword [eax]
push eax
push 5
push str.UninstallFinishType
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 4], eax
test eax, eax
jne 0x40cf27
cmp dword [esi + 0x14], 0x10
jb 0x40ce27
mov ecx, dword [esi]
jmp 0x40ce29
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40ce34
mov eax, dword [eax]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.UninstallFinishRegistryValueType
push ecx
call eax
mov dword [ebx + 8], eax
cmp dword [esi + 0x14], 0x10
jb 0x40ce51
mov eax, dword [esi]
jmp 0x40ce53
mov eax, esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.UninstallFinishRegistryPath
push eax
call fcn.00402250
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebx + 0xc]
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x40ce91
mov eax, dword [esi]
jmp 0x40ce93
mov eax, esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.UninstallFinishRegistryValueName
push eax
call fcn.00402250
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebx + 0x110]
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x40ced4
mov eax, dword [esi]
jmp 0x40ced6
mov eax, esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.UninstallFinishRegistryValue
push eax
call fcn.00402250
cmp dword [ebp - 0x20], 0
jne 0x40cf02
push 2
push 0x5b06bc
lea ecx, [ebp - 0x30]
call fcn.00402bf0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebx + 0x214]
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
jmp 0x40d491
cmp eax, 1
jne 0x40d001
mov dword [ebx + 8], 0
cmp dword [esi + 0x14], 0x10
jb 0x40cf41
mov eax, dword [esi]
jmp 0x40cf43
mov eax, esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.VendorProductKey
push eax
call fcn.00402250
lea eax, [ebp - 0x30]
mov edx, str.HKEY_LOCAL_MACHINESoftware_
push eax
lea ecx, [ebp - 0xc8]
call fcn.004110e0
add esp, 4
push str.InstAll
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00403ac0
add esp, 4
cmp dword [ebp - 0xb4], 0x10
jb 0x40cf9e
push dword [ebp - 0xc8]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
lea eax, [ebx + 0xc]
push 0x104
push eax
call fcn.0054ac11
push str.Finish
lea eax, [ebx + 0x110]
push 0x104
push eax
call fcn.0054ac11
push 0x5b0704
lea eax, [ebx + 0x214]
push 0x104
push eax
call fcn.0054ac11
add esp, 0x24
cmp dword [ebp - 0x4c], 0x10
jb 0x40d491
push dword [ebp - 0x60]
call fcn.00421c08
add esp, 4
jmp 0x40d491
cmp eax, 2
jne 0x40d39a
cmp dword [esi + 0x14], 0x10
jb 0x40d014
mov ecx, dword [esi]
jmp 0x40d016
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40d021
mov eax, dword [eax]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.UninstallProcessCount
push ecx
call eax
mov ebx, eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x318], ebx
lea esp, [esp]
test ebx, ebx
jle 0x40d48e
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov edx, ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.00417c00
push eax
mov edx, str.UninstallProcess
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe0]
call fcn.0040a7c0
add esp, 4
push str.ClassName
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00403ac0
add esp, 4
cmp dword [ebp - 0xcc], 0x10
jb 0x40d0c2
push dword [ebp - 0xe0]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xe0], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0xe4], 0x10
jb 0x40d0f8
push dword [ebp - 0xf8]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov dword [ebp - 0xe4], 0xf
cmovae eax, dword [ebp - 0x48]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xf8], 0
jb 0x40d128
mov ecx, dword [esi]
jmp 0x40d12a
mov ecx, esi
lea edx, [ebp - 0x60]
push edx
push 0x5afb08
push eax
push ecx
mov ecx, dword [edi + 0xc]
call fcn.00402250
mov edx, ebx
lea ecx, [ebp - 0x98]
call fcn.00417c00
push eax
mov edx, str.UninstallProcess
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc8]
call fcn.0040a7c0
add esp, 4
push str.CaptionName
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x110]
call fcn.00403ac0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x40d1b0
cmp dword [ebp - 0x34], 0x10
jb 0x40d195
push dword [ebp - 0x48]
call fcn.00421c08
add esp, 4
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.004028b0
cmp dword [ebp - 0xfc], 0x10
jb 0x40d1c7
push dword [ebp - 0x110]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0xfc], 0xf
mov dword [ebp - 0x100], 0
mov byte [ebp - 0x110], 0
jb 0x40d1f9
push dword [ebp - 0xc8]
call fcn.00421c08
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x84], 0x10
mov dword [ebp - 0xb4], 0xf
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xc8], 0
jb 0x40d22f
push dword [ebp - 0x98]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
cmp dword [esi + 0x14], 0x10
jb 0x40d244
mov ecx, dword [esi]
jmp 0x40d246
mov ecx, esi
lea edx, [ebp - 0x78]
push edx
push 0x5afb08
push eax
push ecx
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx + 0xc]
call fcn.00402250
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x9c], 0xf
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0xb0], 0
call fcn.00402ac0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x78]
push 0
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
call fcn.00402ac0
mov edi, dword [ebp - 0x7c]
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x31c]
call fcn.00411260
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [edi + 0x31c]
call fcn.00411290
cmp dword [ebp - 0x84], 0x10
jb 0x40d304
push dword [ebp - 0x98]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x9c], 0x10
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
jb 0x40d336
push dword [ebp - 0xb0]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x34], 0x10
jb 0x40d347
push dword [ebp - 0x48]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x40d36a
push dword [ebp - 0x78]
call fcn.00421c08
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
jb 0x40d391
push dword [ebp - 0x60]
call fcn.00421c08
add esp, 4
mov edi, dword [ebp - 0x80]
dec ebx
jmp 0x40d040
cmp eax, 3
jne 0x40d43a
cmp dword [esi + 0x14], 0x10
jb 0x40d3ad
mov ecx, dword [esi]
jmp 0x40d3af
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40d3ba
mov eax, dword [eax]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0xffff
push str.UninstallFinishMessageType
push ecx
call eax
mov dword [ebx + 0x324], eax
test eax, eax
jne 0x40d3f5
push str.InstaAll_INSTALL_FINISH
lea eax, [ebx + 0x328]
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
jmp 0x40d491
cmp dword [esi + 0x14], 0x10
jb 0x40d3ff
mov eax, dword [esi]
jmp 0x40d401
mov eax, esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.UninstallFinishMessage
push eax
call fcn.00402250
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebx + 0x328]
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
jmp 0x40d491
cmp eax, 6
jne 0x40d491
cmp dword [esi + 0x14], 0x10
jb 0x40d449
mov eax, dword [esi]
jmp 0x40d44b
mov eax, esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [edi + 0xc]
push str.setup.exe
push str.UninstallFinishProcessName
push eax
call fcn.00402250
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebx + 0x430]
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
jmp 0x40d491
mov ebx, dword [ebp - 0x7c]
cmp dword [esi + 0x14], 0x10
jb 0x40d499
mov esi, dword [esi]
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40d4a4
mov eax, dword [eax]
push eax
push 0x78
push str.UninstallFinishTimeOutSecond
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x1c], 0x10
mov dword [ebx + 0x42c], eax
jb 0x40d4ca
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00549fe1
mov esp, ebp
pop ebp
ret 4