Function at 0x401ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4434fb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x4513e0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [esp + 0x14], eax
lea ebx, [esi + 0xa88]
push ebx
mov dword [esp + 0x23c], eax
call fcn.00401750
cmp dword [esi + 0xaec], 8
jb 0x401f0c
mov eax, dword [esi + 0xad8]
jmp 0x401f12
lea eax, [esi + 0xad8]
push eax
lea eax, [esp + 0x20]
push 0x104
push eax
call fcn.00429cf8
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push str.setup.if2
lea ecx, [esp + 0x20]
push ecx
call edi
push esi
lea eax, [esp + 0x20]
call fcn.0041e690
test al, al
jne 0x401f50
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x40210c
cmp dword [esi + 0xaec], 8
jb 0x401f61
mov eax, dword [esi + 0xad8]
jmp 0x401f67
lea eax, [esi + 0xad8]
push eax
lea edx, [esp + 0x20]
push 0x104
push edx
call fcn.00429cf8
add esp, 0xc
push str.custom.ini
lea eax, [esp + 0x20]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401fae
push esi
lea eax, [esp + 0x20]
call fcn.0041e690
test al, al
jne 0x401fae
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x40210c
call fcn.00405500
test eax, eax
jne 0x402025
push str.Showing_install_wizard
push 0x4524d8
call fcn.0041eee0
add esp, 8
call fcn.00402430
call fcn.00423f00
call fcn.00423f50
call fcn.00423fa0
push 1
call fcn.004240f0
cmp eax, 0x3eb
je 0x401ff2
cmp eax, 0x47b
jne 0x402025
push str.User_canceled_wizard
push 0x4524d8
mov eax, 2
call fcn.0041eee0
mov eax, dword [esp + 0x1c]
sub dword [0x4524f8], 1
add esp, 8
mov dword [0x4524fc], 0xa009
test eax, eax
jmp 0x40210c
call fcn.00426060
push ebx
call fcn.00409570
xor edi, edi
cmp dword [ebx + 0x38], edi
jne 0x4020f6
call fcn.004261c0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40204f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push 0xf003f
push edi
push str.SoftwareIntelCIM
push 0x80000002
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40209d
push 0x446ba0
lea eax, [esp + 0x18]
push eax
mov edx, str.F7E5EE2B_0155_4fe2_80EF_7555C069EFA0
call fcn.0041f370
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x402099
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov edx, 0x446984
call fcn.004051c0
mov esi, eax
call fcn.00401820
call fcn.00405500
test eax, eax
jne 0x4020d4
cmp dword [ebx + 0x34], edi
je 0x402139
call fcn.00424030
push 1
call fcn.004240f0
xor ecx, ecx
cmp eax, 0x467
sete cl
mov esi, ecx
cmp esi, edi
je 0x4020f6
push 0x44698c
mov ecx, 0x446984
call fcn.00405330
push 0x44698c
mov ecx, 0x44694c
call fcn.00405330
mov edx, dword [ebx + 0x38]
mov eax, dword [esp + 0x14]
sub dword [0x4524f8], 1
mov dword [0x4524fc], edx
cmp eax, edi
je 0x402115
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004289ca
mov esp, ebp
pop ebp
ret
call fcn.00423ff0
push 1
call fcn.004240f0
jmp 0x4020f6