Function at 0x422950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ea59
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd4e0], 0
xorps xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
jne 0x4229ee
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4229e0
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd4e0
sub esp, 0xc
push 0x1b6
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.00451f60
jmp 0x4229e2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4be0ac], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be0ac]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov ecx, dword [0x4be0ac]
push str.ClearOldInstallation:_Entry
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4be0ac]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be0ac]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
lea ecx, [ebp - 0x18]
mov byte [ebp - 0xd], 0
call fcn.00419770
push str.fix.cmd
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0041ae10
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 0x422a7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd582], 0
jne 0x422ae1
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x422ad6
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd582
sub esp, 0xc
push 0x1ba
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x48
call fcn.00451f60
jmp 0x422ad8
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x4be0f4], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be0f4]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4be0f4]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 6
push dword [eax]
push str.Extracting_resource_file___s_...
push dword [0x4be0f4]
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 0x422b42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, dword [0x4be0f4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be0f4]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
push 0
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0041bd80
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x30]
call fcn.0044be10
mov esi, dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push ecx
mov ecx, eax
call fcn.0044c7f0
add esp, 8
test al, al
jne 0x422c8f
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd562], 0
jne 0x422c0e
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x422c03
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd562
sub esp, 0xc
push 0x1c0
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x20
call fcn.00451f60
jmp 0x422c05
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x4be22c], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be22c]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4be22c]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 0xa
push dword [eax]
push str.ClearOldInstallation:_ExtractFixer_failed__s
push dword [0x4be22c]
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 0x422c6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, dword [0x4be22c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be22c]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4230e0
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd584], 0
jne 0x422d01
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x422cf6
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd584
sub esp, 0xc
push 0x1c5
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.00451f60
jmp 0x422cf8
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x4be138], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be138]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov ecx, dword [0x4be138]
push str.Apply_fixer
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4be138]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be138]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
call fcn.004171d0
mov ecx, eax
test ecx, ecx
je 0x423330
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.0041b1f0
test al, al
jne 0x422d87
push 7
push str.cmd.exe
lea ecx, [ebp - 0x18]
call fcn.0041b820
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xe
push eax
mov edx, str.__C
lea ecx, [ebp - 0x20]
call fcn.00426cc0
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 0x422dfb
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x422def
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x422def
call fcn.0041b750
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x10
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x422de7
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 0x422dfb
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0041b820
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 0x422e19
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 0x422e78
push eax
mov edx, str._1__
lea ecx, [ebp + 0xc]
call fcn.00426cc0
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041b410
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 0x422e65
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.0041b410
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd564], 0
jne 0x422ed9
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x422ece
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd564
sub esp, 0xc
push 0x1d0
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x48
call fcn.00451f60
jmp 0x422ed0
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4be234], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be234]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4be234]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0xc]
mov edi, dword [ebp - 0x18]
mov esi, dword [eax]
push edi
call fcn.0041ab30
push esi
mov byte [ebp - 4], 0x16
push dword [eax]
push str.Starting_fixer__command_line___s_s_
push dword [0x4be234]
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 0x422f50
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 0x422f6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov ecx, dword [0x4be234]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be234]
add ecx, 0xd0
call fcn.00451ea0
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.0041b750
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.0041b750
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xe
call fcn.00425f60
mov esi, eax
test esi, esi
sete byte [ebp - 0xd]
call fcn.004520f0
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00451e90
cmp byte [0x4bd4e3], 0
jne 0x42306b
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x423060
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd4e3
sub esp, 0xc
push 0x1d4
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x48
call fcn.00451f60
jmp 0x423062
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [0x4be16c], eax
mov ecx, dword [ebp + 0xc]
call fcn.00451ea0
mov ecx, dword [0x4be16c]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov ecx, dword [0x4be16c]
push esi
push str.Fixer__finished_with___d_
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [0x4be16c]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be16c]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
mov byte [ebp - 4], 0x1b
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4230cd
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 0x423242
jmp 0x4231f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1c]
call fcn.00418920
mov byte [ebp - 4], 0x1d
lea ecx, [ebp + 0xc]
push dword [eax]
call fcn.0041ab30
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 0x423127
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd548], 0
jne 0x42318c
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x423181
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd548
sub esp, 0xc
push 0x1d9
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.00451f60
jmp 0x423183
xor eax, eax
mov byte [ebp - 4], 0x1c
mov dword [0x4be0d0], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be0d0]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov ecx, dword [0x4be0d0]
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 [0x4be0d0]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be0d0]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
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 0x4231f5
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.00418920
mov byte [ebp - 4], 0x21
push dword [ebp + 0xc]
push str.ClearOldInstallation_failed_with_message:__s
push dword [ebp + 8]
call fcn.0041bb20
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 0x42323e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd4ee], 0
jne 0x4232a3
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x423298
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd4ee
sub esp, 0xc
push 0x1e1
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerAuxiliaryServiceAuxiliaryService.cpp
push 0x50
call fcn.00451f60
jmp 0x42329a
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x4be258], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4be258]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov edx, dword [0x4be258]
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 [0x4be258]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4be258]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
lea ecx, [ebp - 0x30]
call fcn.004196e0
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 0x423319
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.00416dd0
int3