Function at 0x422cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ee29
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4ba070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be4e0], 0
xorps xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
jne 0x422d4e
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x422d40
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be4e0
sub esp, 0xc
push 0x1b6
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.004522f0
jmp 0x422d42
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4bf0c8], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf0c8]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov ecx, dword [0x4bf0c8]
push str.ClearOldInstallation:_Entry
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4bf0c8]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf0c8]
lea ecx, [ecx + 0xd0]
call fcn.00452230
lea ecx, [ebp - 0x18]
mov byte [ebp - 0xd], 0
call fcn.00419ae0
push str.fix.cmd
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0041b170
add esp, 4
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 4
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422ddc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be582], 0
jne 0x422e41
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x422e36
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be582
sub esp, 0xc
push 0x1ba
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x48
call fcn.004522f0
jmp 0x422e38
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x4bf110], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf110]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bf110]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.0041ae90
mov byte [ebp - 4], 6
push dword [eax]
push str.Extracting_resource_file___s_...
push dword [0x4bf110]
call esi
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422ea2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, dword [0x4bf110]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf110]
lea ecx, [ecx + 0xd0]
call fcn.00452230
push 0
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0041c0e0
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x30]
call fcn.0044c1a0
mov esi, dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push ecx
mov ecx, eax
call fcn.0044cb80
add esp, 8
test al, al
jne 0x422fef
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be562], 0
jne 0x422f6e
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x422f63
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be562
sub esp, 0xc
push 0x1c0
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.004522f0
jmp 0x422f65
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x4bf248], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf248]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bf248]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.0041ae90
mov byte [ebp - 4], 0xa
push dword [eax]
push str.ClearOldInstallation:_ExtractFixer_failed__s
push dword [0x4bf248]
call esi
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422fcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, dword [0x4bf248]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf248]
lea ecx, [ecx + 0xd0]
call fcn.00452230
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423440
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be584], 0
jne 0x423061
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x423056
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be584
sub esp, 0xc
push 0x1c5
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.004522f0
jmp 0x423058
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x4bf154], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf154]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov ecx, dword [0x4bf154]
push str.Apply_fixer
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4bf154]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf154]
lea ecx, [ecx + 0xd0]
call fcn.00452230
call fcn.00417540
mov ecx, eax
test ecx, ecx
je 0x423690
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.cmd.exe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.0041b550
test al, al
jne 0x4230e7
push 7
push str.cmd.exe
lea ecx, [ebp - 0x18]
call fcn.0041bb80
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
mov edx, str.__C
lea ecx, [ebp - 0x20]
call fcn.00427040
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x42315b
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x42314f
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x42314f
call fcn.0041bab0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x10
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x423147
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x42315b
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0041bb80
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423179
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4231d8
push eax
mov edx, str._1__
lea ecx, [ebp + 0xc]
call fcn.00427040
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041b770
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x13
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4231c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 6
push str._2__1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0041b770
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be564], 0
jne 0x423239
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x42322e
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be564
sub esp, 0xc
push 0x1d0
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x48
call fcn.004522f0
jmp 0x423230
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4bf250], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf250]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov eax, dword [0x4bf250]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.0041ae90
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0xc]
mov edi, dword [ebp - 0x18]
mov esi, dword [eax]
push edi
call fcn.0041ae90
push esi
mov byte [ebp - 4], 0x16
push dword [eax]
push str.Starting_fixer__command_line___s_s_
push dword [0x4bf250]
call ebx
mov edx, dword [ebp + 0xc]
add esp, 0x10
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0x17
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4232b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x18
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4232ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov ecx, dword [0x4bf250]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf250]
add ecx, 0xd0
call fcn.00452230
push str.CAuxiliaryService::ClearOldInstallation
push 0xea60
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp + 0xc], esp
call fcn.0041bab0
add eax, 0x10
mov dword [esi], eax
push ecx
add edi, 0xfffffff0
mov byte [ebp - 4], 0x19
mov esi, esp
mov ecx, edi
mov dword [ebp - 0x20], esi
call fcn.0041bab0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
call fcn.004262e0
mov esi, eax
test esi, esi
sete byte [ebp - 0xd]
call fcn.00452480
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00452220
cmp byte [0x4be4e3], 0
jne 0x4233cb
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4233c0
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be4e3
sub esp, 0xc
push 0x1d4
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x48
call fcn.004522f0
jmp 0x4233c2
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4bf188], eax
mov ecx, dword [ebp + 0xc]
call fcn.00452230
mov ecx, dword [0x4bf188]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov ecx, dword [0x4bf188]
push esi
push str.Fixer__finished_with___d_
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4bf188]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf188]
lea ecx, [ecx + 0xd0]
call fcn.00452230
mov byte [ebp - 4], 0x1b
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42342d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 8
jne 0x4235a2
jmp 0x423559
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1c]
call fcn.00418c90
mov byte [ebp - 4], 0x1d
lea ecx, [ebp + 0xc]
push dword [eax]
call fcn.0041ae90
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1e
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423487
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be548], 0
jne 0x4234ec
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4234e1
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be548
sub esp, 0xc
push 0x1d9
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.004522f0
jmp 0x4234e3
xor eax, eax
mov byte [ebp - 4], 0x1c
mov dword [0x4bf0ec], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf0ec]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov ecx, dword [0x4bf0ec]
push dword [ebp + 0xc]
push str.ExtractFixer:_path_not_found_with__s
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov ecx, dword [0x4bf0ec]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf0ec]
lea ecx, [ecx + 0xd0]
call fcn.00452230
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x20
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423555
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp + 0xc]
call fcn.00418c90
mov byte [ebp - 4], 0x21
push dword [ebp + 0xc]
push str.ClearOldInstallation_failed_with_message:__s
push dword [ebp + 8]
call fcn.0041be80
mov edx, dword [ebp + 0xc]
add esp, 0xc
add edx, 0xfffffff0
mov byte [ebp - 4], 0x22
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42359e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
call fcn.00452480
mov esi, eax
mov ecx, esi
call fcn.00452220
cmp byte [0x4be4ee], 0
jne 0x423603
mov ecx, 0xf0
call fcn.00452af0
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x4235f8
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4be4ee
sub esp, 0xc
push 0x1e1
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.004522f0
jmp 0x4235fa
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x4bf274], eax
mov ecx, esi
call fcn.00452230
mov ecx, dword [0x4bf274]
lea ecx, [ecx + 0xd0]
call fcn.00452220
mov edx, dword [0x4bf274]
mov eax, dword [edx]
mov ecx, dword [eax + 0x48]
movzx eax, byte [ebp - 0xd]
push eax
push str.ClearOldInstallation_leave_with_bool_d
push edx
call ecx
mov ecx, dword [0x4bf274]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4bf274]
lea ecx, [ecx + 0xd0]
call fcn.00452230
lea ecx, [ebp - 0x30]
call fcn.00419a50
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0x24
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x423679
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00417140
int3