Function at 0x40d510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0xc]
push 5
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x14], 8
jb 0x40d558
mov eax, dword [esi]
jmp 0x40d55a
mov eax, esi
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [edi + 0x44]
call ebx
cmp dword [ebp + 8], 0
jne 0x40d895
cmp dword [esi + 0x14], 8
jb 0x40d578
mov esi, dword [esi]
push esi
push dword [edi + 0x44]
call ebx
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x40d6dd
push 0x16
push str.Installed_Successfully
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004014e0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push str.setup.install_success
call fcn.00401340
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d5d9
mov eax, dword [eax]
push eax
push dword [edi + 0x44]
call ebx
cmp dword [ebp - 0x14], 8
jb 0x40d5f0
push dword [ebp - 0x28]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x40d61c
push dword [ebp - 0x40]
call fcn.00419766
add esp, 4
push 6
push 0x43ad28
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004014e0
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push str.setup.btn_finish
call fcn.00401340
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d66b
mov eax, dword [eax]
push eax
push dword [edi + 0x40]
call ebx
cmp dword [ebp - 0x14], 8
jb 0x40d682
push dword [ebp - 0x28]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x40d6ae
push dword [ebp - 0x40]
call fcn.00419766
add esp, 4
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [edi + 0x40]
call esi
push 1
push dword [edi + 0x34]
call esi
push 1
push dword [edi + 0x30]
call esi
lea eax, [edi + 0x10]
push eax
lea ecx, [edi + 0x6c]
call fcn.0040df50
mov byte [eax], 1
jmp 0x40da2b
cmp eax, 2
jne 0x40d811
push str.Uninstalled_Successfully
lea ecx, [ebp - 0x58]
call fcn.00401340
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push str.setup.uninstall_success
call fcn.00401340
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d721
mov eax, dword [eax]
push eax
push dword [edi + 0x44]
call ebx
cmp dword [ebp - 0x14], 8
jb 0x40d738
push dword [ebp - 0x28]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x40d764
push dword [ebp - 0x58]
call fcn.00419766
add esp, 4
push str.Install_Now
lea ecx, [ebp - 0x58]
call fcn.00401340
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
push str.setup.btn_install
call fcn.00401340
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d79f
mov eax, dword [eax]
push eax
push dword [edi + 0x40]
call ebx
cmp dword [ebp - 0x14], 8
jb 0x40d7b6
push dword [ebp - 0x28]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x40d7e2
push dword [ebp - 0x58]
call fcn.00419766
add esp, 4
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x34]
call esi
push 0
push dword [edi + 0x30]
call esi
lea eax, [edi + 0x10]
push eax
lea ecx, [edi + 0x6c]
call fcn.0040df50
mov byte [eax], 0
jmp 0x40da2b
cmp eax, 3
jne 0x40da2b
push str.Repairing
lea ecx, [ebp - 0x58]
call fcn.00401340
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
push str.setup.repair_progress
call fcn.00401340
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d855
mov eax, dword [eax]
push eax
push dword [edi + 0x44]
call ebx
lea ecx, [ebp - 0x28]
call fcn.00401b60
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.004013a0
push 1
mov ecx, edi
mov dword [edi + 4], 1
call fcn.0040d2d0
push dword [edi + 4]
mov ecx, dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.00410390
jmp 0x40da2b
push 6
push str.Error:
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004014e0
push esi
sub esp, 0x18
mov dword [ebp - 4], 5
mov ecx, esp
push 0x12
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.setup.error_prefix
mov byte [ecx], 0
call fcn.004014e0
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004103e0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x40d8fc
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040e7e0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40d911
mov eax, dword [eax]
push eax
push dword [edi + 0x44]
call ebx
cmp dword [ebp - 0x14], 8
jb 0x40d928
push dword [ebp - 0x28]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x40d94d
push dword [ebp - 0x58]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x40d979
push dword [ebp - 0x40]
call fcn.00419766
add esp, 4
push 0xb
push str.Install_Now
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.004014e0
sub esp, 0x18
mov dword [ebp - 4], 7
mov ecx, esp
push 0x11
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.setup.btn_install
mov byte [ecx], 0
call fcn.004014e0
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d9de
mov eax, dword [eax]
push eax
push dword [edi + 0x40]
call ebx
cmp dword [ebp - 0x74], 8
jb 0x40d9f8
push dword [ebp - 0x88]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x40da20
push dword [ebp - 0x70]
call fcn.00419766
add esp, 4
push 1
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 8