Function at 0x408fc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49222f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x40], ebp
call fcn.00404e10
lea ecx, [esp + 0x64]
xor ebx, ebx
push ecx
mov dword [esp + 0xb8], ebx
call fcn.00454dc0
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xb8], 1
call fcn.00404e10
lea eax, [ebp + 0x24]
mov byte [esp + 0xb4], 2
mov dword [esp + 0x20], eax
call fcn.0047ca70
mov edi, str.Advanced_Tools
mov ecx, reloc.BootTime.dll_Ordinal_1
lea esi, [esp + 0x64]
call fcn.00454e40
test eax, eax
jne 0x40914b
mov ecx, edi
mov ebx, reloc.BootTime.dll_Ordinal_1
call fcn.00454f70
test eax, eax
je 0x409183
xor edx, edx
mov ecx, str.ADT_SC_STARTUPI
mov edi, esi
call fcn.00455100
mov edx, 1
mov ecx, str.ADT_WR_REPAIR
call fcn.00455100
mov edx, 2
mov ecx, str.ADT_DS_CLEANUP
call fcn.00455100
mov edx, 3
mov ecx, str.ADT_SC_CONTEXTM
call fcn.00455100
mov edx, 4
mov ecx, str.ADT_DS_EXPLORERD
call fcn.00455100
mov edx, 5
mov ecx, str.ADT_SC_PROCESSES
call fcn.00455100
mov edx, 6
mov ecx, str.ADT_PROGRAMS_UNINSTALL
call fcn.00455100
mov edx, 7
mov ecx, str.ADT_PROGRAMS_CHECKFU
call fcn.00455100
mov edx, 8
mov ecx, str.ADT_ST_BROWSERS
call fcn.00455100
mov edx, 9
mov ecx, str.ADT_PRIVACY_ERASEH
call fcn.00455100
mov eax, dword [esp + 0x84]
test eax, eax
je 0x40912d
push eax
call dword [sym.imp.Config.dll_Ordinal_1_4]
add esp, 4
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
lea eax, [esp + 0x24]
push eax
mov ecx, str.Advanced_Tools
call fcn.004553c0
jmp 0x409183
lea ecx, [esp + 0x24]
push ecx
mov ecx, str.Advanced_Tools
call fcn.004553c0
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x409176
push eax
call dword [sym.imp.Config.dll_Ordinal_1_4]
add esp, 4
mov dword [esp + 0x84], ebx
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
mov ecx, dword [esp + 0x34]
mov esi, ecx
sub esi, dword [esp + 0x30]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], eax
je 0x40941b
xor esi, esi
mov dword [esp + 0x18], esi
test eax, eax
jle 0x40941b
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x4091c8
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
cmp edi, 0x230
jge 0x40941b
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4091f5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
cmp dword [ecx + edi + 0x34], 8
lea eax, [ecx + edi + 0x1c]
jb 0x409209
mov eax, dword [eax + 4]
jmp 0x40920c
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
add esp, 4
cmp eax, dword [ebp]
mov eax, 0x92492493
jae 0x4093ce
mov ebx, dword [ebp + 0x1c]
imul ecx
mov edi, dword [ebp + 4]
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add ebp, 4
add eax, edx
cmp esi, eax
jb 0x40924d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + edx]
push eax
lea eax, [esp + 0x60]
push eax
mov esi, ebp
call fcn.0040a7c0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x409271
cmp eax, edi
je 0x40927b
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call edi
jmp 0x409281
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esi + 4], ebx
je 0x40939a
mov esi, dword [esp + 0x18]
cmp esi, ecx
jb 0x4092af
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
lea ebx, [eax + edx]
push ebp
call fcn.0040a2c0
add eax, 0xe0
cmp dword [eax + 0x18], 8
jb 0x4092d0
mov eax, dword [eax + 4]
jmp 0x4092d3
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40937b
mov edi, esi
lea esi, [esp + 0x24]
call fcn.0040a280
push ebp
mov ebx, eax
call fcn.0040a2c0
add eax, 0xc4
cmp dword [eax + 0x18], 8
jb 0x409305
mov eax, dword [eax + 4]
jmp 0x409308
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409371
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.0040a280
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x40932e
mov eax, dword [eax + 4]
jmp 0x409331
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
lea esi, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.0040a280
push ebp
mov ebx, eax
call fcn.0040a2c0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [eax + 0x114], ecx
call fcn.0040a280
push ebp
mov ebx, eax
call fcn.0040a2c0
mov edi, dword [esp + 0x20]
jmp 0x4093b7
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jmp 0x40939e
cmp dword [esp + 0x18], ecx
jb 0x4093a2
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
lea ebx, [eax + edx]
push ebp
call fcn.0040a2c0
lea edi, [esp + 0x44]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00462330
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
jmp 0x409407
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4093e6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x30]
lea eax, [ebp + 4]
lea ebx, [edx + edi]
push eax
call fcn.0040a2c0
lea ebx, [esp + 0x14]
lea edi, [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.00462330
add dword [esp + 0x1c], 0x38
inc esi
cmp esi, dword [esp + 0x40]
mov dword [esp + 0x18], esi
jl 0x4091c0
push ebp
call fcn.00409640
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x10]
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [eax + 0xc], edi
jbe 0x409435
call ebp
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0xc]
mov ebx, dword [eax]
cmp esi, dword [eax + 0x10]
jbe 0x409449
call ebp
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test ebx, ebx
je 0x409453
cmp ebx, eax
je 0x409455
call ebp
mov ecx, edi
sub ecx, esi
push 0x406a50
sar ecx, 2
push ecx
push edi
push esi
call fcn.0040c470
add esp, 0x10
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0xb8], 1
call fcn.0040a200
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0xb8], 0
call fcn.00454d00
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, esi
je 0x4094a3
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0048a3f6
add esp, 0xa4
ret 4