Function at 0x40b7c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568e3f
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
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
push 0x718
mov dword [ebp - 0xc8], 0
call fcn.00421bdb
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40b821
mov ecx, eax
call fcn.0040ac20
jmp 0x40b823
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
push 0
mov dword [edi + 8], eax
mov ebx, dword [eax + 0x714]
push 0x5afb08
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
call fcn.00402bf0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0
push 0x5afb08
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00402bf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
push 0
push 0x5afb08
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00402bf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
push 2
xor eax, eax
mov dword [ebx], 0
push 0x5b04d4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00403360
mov byte [ebp - 4], 5
mov ecx, dword [0x5e0630]
test ecx, ecx
jne 0x40b920
push 4
call fcn.00421bdb
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x40b914
mov ecx, eax
mov dword [eax], 0
call fcn.004051a0
mov ecx, eax
jmp 0x40b916
xor ecx, ecx
mov byte [ebp - 4], 5
mov dword [0x5e0630], ecx
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov esi, dword [ecx]
mov ecx, esi
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.00415d40
mov eax, dword [esi + 0x1c]
cmp dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
setne bl
cmp dword [ebp - 0x1c], 8
jb 0x40b95e
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
test bl, bl
je 0x40b9bb
cmp dword [edi + 0x3c], 0x10
lea esi, [edi + 0x28]
jb 0x40b96f
mov eax, dword [esi]
jmp 0x40b971
mov eax, esi
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.SilentUninstallPath
push eax
call fcn.00402250
cmp dword [esi + 0x14], 0x10
jb 0x40b9a6
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
push 0x5afb08
push str.SilentUninstallRun
jmp 0x40bb56
lea ecx, [ebp - 0x48]
mov eax, esi
push ecx
push 0x5afb08
push str.SilentUninstallRun
jmp 0x40bb56
push 1
xor eax, eax
mov dword [ebp - 0x1c], 7
push 0x5b0504
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00403360
mov byte [ebp - 4], 7
mov ecx, dword [0x5e0630]
test ecx, ecx
jne 0x40ba1e
push 4
call fcn.00421bdb
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x40ba12
mov ecx, eax
mov dword [eax], 0
call fcn.004051a0
mov ecx, eax
jmp 0x40ba14
xor ecx, ecx
mov byte [ebp - 4], 7
mov dword [0x5e0630], ecx
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov esi, dword [ecx]
mov ecx, esi
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.00415d40
mov eax, dword [esi + 0x1c]
cmp dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
setne bl
cmp dword [ebp - 0x1c], 8
jb 0x40ba5c
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
test bl, bl
je 0x40babb
cmp dword [edi + 0x3c], 0x10
lea esi, [edi + 0x28]
jb 0x40ba6d
mov eax, dword [esi]
jmp 0x40ba6f
mov eax, esi
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.SilentInstallPath
push eax
call fcn.00402250
cmp dword [esi + 0x14], 0x10
jb 0x40ba93
mov eax, dword [esi]
jmp 0x40ba95
mov eax, esi
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.SilentInstallRun
push eax
call fcn.00402250
mov eax, dword [edi + 8]
mov byte [eax + 0x711], 1
jmp 0x40bbb6
push 0x5b0530
lea ecx, [ebp - 0x30]
call fcn.004026c0
mov byte [ebp - 4], 9
call fcn.00405120
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
cmovae ecx, dword [ebp - 0x30]
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.00415d40
mov eax, dword [esi + 0x1c]
cmp dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
setne bl
cmp dword [ebp - 0x1c], 8
jb 0x40bb0f
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
lea esi, [edi + 0x28]
test bl, bl
je 0x40bb6d
cmp dword [esi + 0x14], 0x10
jb 0x40bb20
mov eax, dword [esi]
jmp 0x40bb22
mov eax, esi
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.UninstallPath
push eax
call fcn.00402250
cmp dword [esi + 0x14], 0x10
jb 0x40bb46
mov eax, dword [esi]
jmp 0x40bb48
mov eax, esi
lea ecx, [ebp - 0x48]
push ecx
push 0x5afb08
push str.UninstallRun
mov ecx, dword [edi + 0xc]
push eax
call fcn.00402250
mov eax, dword [ebp - 0xc4]
mov dword [eax], 1
jmp 0x40bbb6
cmp dword [esi + 0x14], 0x10
jb 0x40bb77
mov eax, dword [esi]
jmp 0x40bb79
mov eax, esi
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.InstallPath
push eax
call fcn.00402250
cmp dword [esi + 0x14], 0x10
jb 0x40bb9d
mov eax, dword [esi]
jmp 0x40bb9f
mov eax, esi
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.InstallRun
push eax
call fcn.00402250
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xc0]
call fcn.00410ff0
mov ebx, eax
lea edx, [edi + 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x30]
call fcn.004086a0
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov edx, eax
push ebx
call fcn.00403c50
add esp, 4
lea ecx, [ebp - 0x90]
call fcn.004178e0
add esp, 0x18
cmp dword [ebp - 0x1c], 0x10
jb 0x40bc0b
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xac], 0x10
jb 0x40bc38
push dword [ebp - 0xc0]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x7c], 0x10
lea eax, [ebp - 0x90]
mov dword [ebp - 0xac], 0xf
cmovae eax, dword [ebp - 0x90]
push eax
push 0x104
push dword [edi + 8]
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
call fcn.0054ac11
add esp, 0xc
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x78]
cmovae edx, dword [ebp - 0x48]
call fcn.00417af0
push 1
push ecx
push 0x5b056c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.00402e20
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40bd60
push ebx
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402680
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 0x10
cmovae eax, dword [ebp - 0xc0]
push eax
mov eax, dword [edi + 8]
add eax, 0x104
push 0x104
push eax
call fcn.0054ac11
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x78]
add esp, 0xc
sub eax, ebx
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00402680
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
mov eax, dword [edi + 8]
add eax, 0x208
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
cmp dword [ebp - 0x1c], 0x10
jb 0x40bd31
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xac], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x40bd82
push dword [ebp - 0xc0]
call fcn.00421c08
add esp, 4
jmp 0x40bd82
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
cmovae eax, dword [ebp - 0x78]
push eax
mov eax, dword [edi + 8]
add eax, 0x104
push 0x104
push eax
call fcn.0054ac11
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x40bd8c
mov ecx, dword [esi]
jmp 0x40bd8e
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40bd99
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.InstallReboot
push ecx
call ebx
test eax, eax
je 0x40bdb8
mov eax, dword [edi + 8]
mov byte [eax + 0x70c], 1
cmp dword [esi + 0x14], 0x10
jb 0x40bdc2
mov ecx, dword [esi]
jmp 0x40bdc4
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40bdcf
mov eax, dword [eax]
push eax
push 0
push str.UninstallReboot
push ecx
call ebx
test eax, eax
je 0x40bde8
mov eax, dword [edi + 8]
mov byte [eax + 0x70d], 1
call fcn.00417240
test al, al
je 0x40be17
cmp dword [esi + 0x14], 0x10
jb 0x40bdfb
mov ecx, dword [esi]
jmp 0x40bdfd
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40be08
mov eax, dword [eax]
push eax
push 0
push str.PassVistaWHQL
push ecx
call ebx
mov ebx, eax
jmp 0x40be80
cmp dword [esi + 0x14], 0x10
jb 0x40be21
mov ecx, dword [esi]
jmp 0x40be23
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40be2e
mov eax, dword [eax]
push eax
push 0
push str.PassWHQL
push ecx
call ebx
cmp dword [esi + 0x14], 0x10
mov ebx, eax
jb 0x40be45
mov eax, dword [esi]
jmp 0x40be47
mov eax, esi
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [edi + 0xc]
push 0x5afb08
push str.DeviceDescr
push eax
call fcn.00402250
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
mov eax, dword [edi + 8]
add eax, 0x30c
push 0x400
push eax
call fcn.0054ac11
add esp, 0xc
test ebx, ebx
jne 0x40be8e
mov eax, dword [edi + 8]
mov byte [eax + 0x70e], 1
cmp dword [esi + 0x14], 0x10
jb 0x40be98
mov ecx, dword [esi]
jmp 0x40be9a
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40bea5
mov eax, dword [eax]
push eax
push 0
push str.ShowWaitingWindow
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x40bf58
push 1
xor eax, eax
mov dword [ebp - 0x1c], 7
push 0x5b0504
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00403360
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xc8], 1
mov ecx, dword [0x5e0630]
test ecx, ecx
jne 0x40bf2c
push 4
call fcn.00421bdb
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x40bf20
mov ecx, eax
mov dword [eax], 0
call fcn.004051a0
mov ecx, eax
jmp 0x40bf22
xor ecx, ecx
mov byte [ebp - 4], 0x11
mov dword [0x5e0630], ecx
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ebx, dword [ecx]
mov ecx, ebx
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.00415d40
mov eax, dword [ebx + 0x1c]
cmp dword [ebp - 0x18], eax
jne 0x40bf58
mov bl, 1
jmp 0x40bf5a
xor bl, bl
mov dword [ebp - 4], 0xf
test byte [ebp - 0xc8], 1
je 0x40bf7b
cmp dword [ebp - 0x1c], 8
jb 0x40bf7b
push dword [ebp - 0x30]
call fcn.00421c08
add esp, 4
test bl, bl
je 0x40bf93
mov eax, dword [edi + 8]
mov byte [eax + 0x70f], 1
mov eax, dword [edi + 8]
mov byte [eax + 0x712], 1
mov eax, dword [ebp - 0xc4]
mov ecx, edi
push eax
cmp dword [eax], 0
jne 0x40c078
call fcn.0040c1f0
test al, al
jne 0x40c082
push 0
push 0x5b05cc
push str.Parse_Inistall_finish_item_fail
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x64], 0x10
jb 0x40bfd7
push dword [ebp - 0x78]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x7c], 0x10
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
jb 0x40bffd
push dword [ebp - 0x90]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x4c], 0x10
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
jb 0x40c023
push dword [ebp - 0x60]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
jb 0x40c046
push dword [ebp - 0x48]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x94], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x40c1ca
push dword [ebp - 0xa8]
call fcn.00421c08
add esp, 4
jmp 0x40c1ca
call fcn.0040cd90
jmp 0x40bfaa
cmp dword [esi + 0x14], 0x10
jb 0x40c08c
mov ecx, dword [esi]
jmp 0x40c08e
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40c099
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 3
push str.WaitBeforeInstall
push ecx
call ebx
mov ecx, dword [ebp - 0xc4]
mov dword [ecx + 0x538], eax
cmp dword [esi + 0x14], 0x10
jb 0x40c0c0
mov ecx, dword [esi]
jmp 0x40c0c2
mov ecx, esi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40c0cd
mov eax, dword [eax]
push eax
push 3
push str.WaitAfterInstall
push ecx
call ebx
mov ecx, dword [ebp - 0xc4]
mov dword [ecx + 0x53c], eax
cmp dword [esi + 0x14], 0x10
jb 0x40c0ec
mov esi, dword [esi]
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x40c0f7
mov eax, dword [eax]
push eax
push 0
push str.InstallMethod
push esi
call ebx
cmp eax, 1
jne 0x40c111
mov eax, dword [edi + 8]
mov byte [eax + 0x710], 1
cmp dword [ebp - 0x64], 0x10
jb 0x40c122
push dword [ebp - 0x78]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x7c], 0x10
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
jb 0x40c148
push dword [ebp - 0x90]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x4c], 0x10
jb 0x40c159
push dword [ebp - 0x60]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jb 0x40c17c
push dword [ebp - 0x48]
call fcn.00421c08
add esp, 4
cmp dword [ebp - 0x94], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x40c1a5
push dword [ebp - 0xa8]
call fcn.00421c08
add esp, 4
mov al, 1
jmp 0x40c1cc
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