Function at 0x40485c
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x411718
call fcn.0040cf08
sub esp, 0x85c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xbb8
mov esi, ecx
push 0
push 0x464
push dword [esi + 0x20]
call edi
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [esi + 0x20]
call edi
push dword [0x415248]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebx, 0x7d3
test eax, eax
jne 0x404ad7
push str.cm12.cab
lea ecx, [ebp - 0x130]
call fcn.00402b98
lea eax, [ebp - 0x130]
lea ecx, [esi + 0x134]
push eax
call fcn.00402bd3
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
call fcn.00401000
and dword [ebp - 4], 0
push 0xa
push str.CABINET
lea ecx, [ebp - 0x28]
push dword [0x4151c8]
call fcn.0040105f
test eax, eax
mov dword [ebp - 0x10], eax
je 0x404947
push 0x4144c4
push ebx
push dword [esi + 4]
call edi
push esi
lea eax, [esi + 0x134]
push 0
push eax
lea eax, [esi + 0x45c]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00402cec
add esp, 0xc
mov ecx, eax
call fcn.00402c19
push eax
lea ecx, [ebp - 0x28]
push dword [ebp - 0x10]
call fcn.004010d6
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401030
cmp dword [ebp - 0x14], 0
jne 0x404a57
lea ecx, [ebp - 0x130]
call fcn.00402b8b
mov eax, 0x104
lea ecx, [ebp - 0x130]
push eax
push eax
call fcn.00402e3f
push eax
push dword [0x4151c8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x130]
call fcn.00402e5b
lea ecx, [ebp - 0x28]
call fcn.00401000
push 0x4144b8
push ebx
push dword [esi + 4]
mov dword [ebp - 4], 1
call edi
push esi
push fcn.004043c6
lea ecx, [ebp - 0x130]
call fcn.00402c19
push eax
lea ecx, [ebp - 0x28]
call fcn.004011dc
test eax, eax
mov dword [ebp - 0x10], eax
jle 0x404a1f
push 0x4144c4
push ebx
push dword [esi + 4]
call edi
push esi
lea eax, [esi + 0x134]
push fcn.004043c6
push eax
lea eax, [esi + 0x45c]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00402cec
add esp, 0xc
mov ecx, eax
call fcn.00402c19
push eax
lea ecx, [ebp - 0x130]
call fcn.00402c19
push eax
lea ecx, [ebp - 0x28]
push dword [ebp - 0x10]
call fcn.004013a7
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401030
cmp dword [ebp - 0x14], 0
jne 0x404a57
push 0
push dword [0x41524c]
push 0x41448c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x414474
push ebx
push dword [esi + 4]
call edi
jmp 0x404e7b
lea ecx, [esi + 0x134]
call fcn.00402c19
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x15]
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call fcn.004058df
push dword [ebp - 0x14]
call fcn.0040e190
pop ecx
push eax
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.004059a8
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x564]
push eax
mov dword [ebp - 4], 2
call fcn.00405757
and dword [eax], 0
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call fcn.004058df
lea eax, [esi + 0x134]
push eax
lea eax, [esi + 0x45c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00402cec
add esp, 0xc
lea ecx, [esi + 0x134]
push eax
jmp 0x404af5
push dword [0x415248]
lea ecx, [ebp - 0x130]
call fcn.00402b98
lea eax, [ebp - 0x130]
lea ecx, [esi + 0x134]
push eax
call fcn.00402bd3
lea eax, [esi + 0x134]
lea ecx, [ebp - 0x658]
push eax
call fcn.00402bd3
cmp dword [esi + 0x348], 0
je 0x404b3c
lea ecx, [esi + 0x134]
call fcn.00402e76
push eax
lea ecx, [ebp - 0x658]
call fcn.00402e3f
push eax
mov ecx, esi
call fcn.0040531b
test eax, eax
je 0x404e7b
push 0xffffffffffffffff
lea ecx, [ebp - 0x658]
call fcn.00402e5b
push 0x414460
push ebx
push dword [esi + 4]
call edi
push esi
push 0xffffffffffffffff
call fcn.004043c6
pop ecx
pop ecx
lea ecx, [ebp - 0x340]
call fcn.00402b8b
mov eax, 0x104
lea ecx, [ebp - 0x340]
push eax
push eax
call fcn.00402e3f
push eax
push dword [0x4151c8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x340]
call fcn.00402e5b
push 0x5c
lea ecx, [ebp - 0x340]
call fcn.00402dbf
inc eax
lea ecx, [ebp - 0x340]
push eax
call fcn.00402de8
push eax
lea ecx, [ebp - 0x130]
call fcn.00402b98
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x340]
push eax
call fcn.00402bd3
lea ecx, [ebp - 0x340]
call fcn.00402c19
push eax
lea ecx, [esi + 0x134]
call fcn.00402c19
push eax
mov ecx, esi
call fcn.00404e8e
test eax, eax
jne 0x404c00
push 0x414440
push ebx
push dword [esi + 4]
call edi
jmp 0x404e6c
lea ecx, [esi + 0x2c]
call fcn.00402c19
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x404e70
push 0x414424
push ebx
push dword [esi + 4]
call edi
lea edi, [esi + 0x2c]
push 0x414420
push 3
mov ecx, edi
call fcn.00402e24
push eax
call fcn.00411250
pop ecx
test eax, eax
pop ecx
jne 0x404ccb
cmp dword [0x41535c], eax
jne 0x404c8b
push edi
lea eax, [esi + 0x354]
push 0x41441c
push eax
lea eax, [ebp - 0x130]
push str.DefaultInstall_132
push eax
call fcn.00402d64
add esp, 0xc
push eax
lea eax, [ebp - 0x760]
push eax
call fcn.00402d2b
add esp, 0xc
push eax
lea eax, [ebp - 0x550]
push eax
call fcn.00402cec
jmp 0x404cb4
push str.__DefaultInstall
lea eax, [esi + 0x354]
push edi
push eax
lea eax, [ebp - 0x550]
push eax
call fcn.00402cec
add esp, 0xc
push eax
lea eax, [ebp - 0x760]
push eax
call fcn.00402d2b
add esp, 0xc
mov ecx, eax
call fcn.00402c19
push eax
mov ecx, esi
call fcn.00405140
jmp 0x404e68
lea ecx, [ebp - 0x238]
call fcn.00402b8b
lea ecx, [ebp - 0x448]
call fcn.00402b8b
push 0x104
lea ecx, [ebp - 0x238]
lea ebx, [esi + 0x354]
call fcn.00402e3f
push eax
mov ecx, ebx
call fcn.00402c19
push eax
mov ecx, edi
call fcn.00402c19
mov ebx, dword [sym.imp.SHELL32.dll_FindExecutableA]
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x10], eax
call fcn.00402e5b
cmp dword [ebp - 0x10], 0x20
jbe 0x404d55
push 0x4143f0
push 3
mov ecx, edi
call fcn.00402e24
push eax
call fcn.00411250
pop ecx
test eax, eax
pop ecx
je 0x404e3c
push edi
push 0x4143ec
lea eax, [ebp - 0x550]
jmp 0x404e12
push 0x20
mov ecx, edi
call fcn.00402da3
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x404e30
push eax
mov ecx, edi
call fcn.00402de8
push eax
lea ecx, [ebp - 0x130]
call fcn.00402b98
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x238]
push eax
call fcn.00402bd3
mov ecx, edi
call fcn.00402e76
sub eax, dword [ebp - 0x10]
mov ecx, edi
dec eax
push eax
call fcn.00402e24
push eax
lea ecx, [ebp - 0x130]
call fcn.00402b98
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x448]
push eax
call fcn.00402bd3
push 0x104
lea ecx, [ebp - 0x238]
call fcn.00402e3f
push eax
lea ecx, [esi + 0x354]
call fcn.00402c19
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c19
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x238]
mov ebx, eax
call fcn.00402e5b
cmp ebx, 0x20
jbe 0x404e30
lea eax, [ebp - 0x448]
push eax
push 0x4143ec
lea eax, [ebp - 0x868]
push eax
call fcn.00402d64
add esp, 0xc
mov ecx, eax
call fcn.00402c19
push eax
lea ecx, [ebp - 0x238]
call fcn.00402cc0
jmp 0x404e3c
push edi
lea ecx, [ebp - 0x238]
call fcn.00402bd3
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x354]
call fcn.00402c19
push eax
lea ecx, [ebp - 0x238]
call fcn.00402c19
push eax
push 0
mov ecx, esi
call fcn.004051a2
test eax, eax
jne 0x404e70
push 2
jmp 0x404e72
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10