Function at 0x418520
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xf0
mov eax, 0x4afde4
call fcn.0049174a
mov eax, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ebx
call fcn.00418304
mov dword [ebp - 4], ebx
lea esi, [edi + 0x524]
mov dword [edi], vtable.InstallRequestWnd.0
mov dword [edi + 0x10], vtable.InstallRequestWnd.1.0
mov dword [edi + 0x14], vtable.InstallRequestWnd.2.0
call fcn.004026a8
lea esi, [edi + 0x540]
call fcn.004026a8
lea esi, [edi + 0x55c]
call fcn.004026a8
push ebx
push ebx
lea eax, [ebp - 0xc0]
call fcn.00431ce9
push dword [ebp - 0x8c]
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 6
call fcn.00439717
lea ecx, [ebp - 0xc0]
xor esi, esi
push ecx
mov byte [ebp - 4], 7
inc esi
mov ecx, eax
mov dword [ebp - 0x88], esi
call fcn.0040122b
add esp, 0xc
test al, al
je 0x4185d8
cmp byte [ebp - 0xb8], 7
mov byte [ebp - 0x81], bl
je 0x4185df
mov byte [ebp - 0x81], 1
push ebx
push esi
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 6
call fcn.00402abb
cmp byte [ebp - 0x81], 0
je 0x418616
push 0x10
push 0x4b8140
push 0x4bb424
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x4b86d8
lea ecx, [ebp - 0xe0]
call fcn.004026bb
sub esp, 0x1c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x88], esp
mov ebx, 0x4b8448
push ebx
call fcn.004026bb
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x64]
push eax
lea esi, [ebp - 0xc0]
call fcn.00406a70
add esp, 0x24
push 0
push 1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call fcn.00402abb
push str.path
lea ecx, [ebp - 0xa8]
call fcn.004026bb
sub esp, 0x1c
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x88], esp
push ebx
call fcn.004026bb
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00406a70
add esp, 0x24
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [edi + 0x540]
mov byte [ebp - 4], 0xc
call fcn.00402991
push esi
push 1
lea ecx, [ebp - 0xfc]
call fcn.00402abb
push esi
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.00402abb
push str.version
lea ecx, [ebp - 0xa8]
call fcn.004026bb
sub esp, 0x1c
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x88], esp
push ebx
call fcn.004026bb
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0xc0]
call fcn.00406a70
add esp, 0x24
push 0
mov byte [ebp - 4], 0xf
push 1
lea ecx, [ebp - 0xa8]
call fcn.00402abb
push str.hash4k
lea ecx, [ebp - 0xe0]
call fcn.004026bb
sub esp, 0x1c
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x88], esp
push ebx
call fcn.004026bb
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00406a70
add esp, 0x24
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea esi, [edi + 0x55c]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00402991
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.00402abb
push ebx
push 1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xf
call fcn.00402abb
cmp dword [edi + 0x570], ebx
je 0x4188e5
cmp dword [ebp - 0x50], ebx
je 0x4188e5
cmp dword [edi + 0x554], ebx
je 0x4188e5
lea eax, [edi + 0x540]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004011eb
pop ecx
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x4187e0
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x80]
push eax
call fcn.00449046
pop ecx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4187fa
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4188d4
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0040be61
pop ecx
pop ecx
test al, al
je 0x4188d4
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
lea esi, [edi + 0x524]
push eax
mov ecx, esi
call fcn.00402991
cmp dword [ebp - 0x34], ebx
je 0x41888f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa8]
push 0x4bb458
push eax
call fcn.0041bcd9
add esp, 0xc
push 0x4bb19c
push eax
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040bea3
add esp, 0xc
push 0xffffffffffffffff
push ebx
mov byte [ebp - 4], 0x15
call fcn.0040bbab
push ebx
push 1
lea ecx, [ebp - 0xfc]
call fcn.00402abb
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.00402abb
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00402abb
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00402bb8
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00402abb
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00402abb
lea esi, [ebp - 0xc0]
mov byte [ebp - 4], 3
call fcn.0043102f
mov eax, edi
call fcn.004917cd
ret 4
push 0x10
push 0x4b8140
push 0x4bb448
jmp 0x418608
push 0x10
push 0x4b8140
push 0x4bb438
jmp 0x418608