Function at 0x46e1b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efad6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x70f200]
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
push str.Updating_the_Microsoft_Fixit_portable_tool...
push 0xffffffffffffffff
lea ecx, [edi + 0x14f0]
call fcn.005b66e0
push 0
push 1
mov ecx, edi
call fcn.0043d720
test eax, eax
je 0x46e206
or eax, 0xffffffff
jmp 0x46e4f3
sub esp, 8
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [edi + 0x168]
movq qword [ebp - 0x1c], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MSFixitPortable
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005dc520
push 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.https:__go.microsoft.com__linkid9775982
movq qword [ebp - 0x40], xmm0
call fcn.005dc570
sub esp, 8
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x28], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Fix_it_portableLaunch_Fix
call fcn.005dc190
push eax
lea ecx, [ebp - 0x28]
call fcn.005dc520
sub esp, 8
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x34], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.MSFixitPortable.exe
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc520
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
xor ebx, ebx
call fcn.005dc190
or edx, 0xffffffff
mov ecx, eax
call fcn.005e0f30
test al, al
je 0x46e44b
push ebx
lea ecx, [ebp - 0x40]
lea esi, [edi + 0x1290]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005795d0
cmp eax, 1
jl 0x46e44b
cmp eax, 2
jne 0x46e343
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46e44b
push 5
lea ecx, [edi + 0x168]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x34]
call fcn.005dc190
push eax
mov ecx, esi
call fcn.00579420
mov ebx, eax
test ebx, ebx
je 0x46e44b
push 1
push 0x32
mov ecx, esi
call fcn.00546ef0
push str.Microsoft_Fix_it
push str.WindowsForms10.Window.8.app.0.378734a
push 0
push 0xa
push 0x3c
push ebx
mov ecx, esi
call fcn.00547500
test eax, eax
je 0x46e44b
push str.Microsoft_Fix_it
push str.WindowsForms10.Window.8.app.0.378734a
push 0
push 0xa
push 0x3c
push ebx
mov ecx, esi
call fcn.00547500
mov dword [ebp - 0x44], eax
test eax, eax
je 0x46e44b
push 1
push 0x32
mov ecx, esi
call fcn.00546ef0
sub esp, 0xc
mov ecx, esi
push 5
push str._CLASS:WindowsForms10.BUTTON.app.0.378734a__INSTANCE:3_
call fcn.005470d0
cmp eax, 1
jl 0x46e44b
push 1
push 0x32
mov ecx, esi
call fcn.00546ef0
mov ecx, dword [ebp - 0x44]
mov edx, str._CLASS:WindowsForms10.EDIT.app.0.378734a__INSTANCE:1_
call fcn.005cbb50
test eax, eax
je 0x46e483
lea edx, [ebp - 0x1c]
mov ecx, eax
call fcn.005cb690
test eax, eax
je 0x46e44b
push 1
push 0xc8
mov ecx, esi
call fcn.00546ef0
sub esp, 0xc
mov ecx, esi
push 5
push str._CLASS:WindowsForms10.BUTTON.app.0.378734a__INSTANCE:3_
call fcn.005470d0
cmp eax, 1
jl 0x46e44b
push 1
push 0x1f4
mov ecx, esi
call fcn.00546ef0
sub esp, 0xc
mov ecx, esi
push 0x78
push str.Finish
call fcn.005470d0
mov ecx, ebx
call fcn.005cc910
test al, al
je 0x46e470
push 0
push 0
mov ecx, edi
call fcn.0043d720
test eax, eax
jne 0x46e487
mov ecx, ebx
call fcn.005cc910
test al, al
jne 0x46e456
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46e48c
xor ebx, ebx
jmp 0x46e4d1
or ebx, 0xffffffff
jmp 0x46e4d1
push 5
push 0
lea ecx, [ebp - 0x28]
call fcn.005dc190
push eax
lea ecx, [edi + 0x1290]
call fcn.0057b4f0
mov esi, eax
mov ecx, str.The_MS_Fixit_portable_tool_was_successfully_downloaded_and_executed.
push 0
push 0
mov eax, str.An_error_occurred_while_installing_and_running_the_MS_Fixit_portable_tool.
test esi, esi
push 0
cmove ecx, eax
push ecx
mov ecx, edi
call fcn.0045a700
xor ebx, ebx
test esi, esi
setne bl
lea ebx, [ebx*2 - 1]
lea ecx, [ebp - 0x34]
call fcn.005dc430
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x40]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov eax, ebx
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.0041e1b5
mov esp, ebp
pop ebp
ret