Function at 0x41e3b1
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
lea ecx, [ebp - 0x5c]
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x5c], eax
push edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
call fcn.004207fe
and dword [ebp - 0x24], ebx
lea edx, [ebp - 0x34]
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x20], ecx
and dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
push 4
pop ecx
mov word [ebp - 0x34], ax
mov word [ebp - 0x1c], ax
call fcn.00448ad0
test al, al
je 0x41e6cf
push 0x2a
mov edi, str..._.._chrome_installer_setup_uninstall.cc
pop edx
mov ecx, edi
call fcn.0044bc60
xor ecx, ecx
inc ecx
mov dword [ebp - 0x50], ecx
cmp eax, ecx
jl 0x41e458
push 0xffffffffffffffff
push 0x135
push edi
lea ecx, [ebp - 0x110]
call fcn.0044bca0
mov edx, str.Changing_current_directory_to:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
mov ecx, eax
cmovae edx, dword [ebp - 0x34]
call fcn.0044c7c0
inc ebx
test bl, 1
je 0x41e46b
lea ecx, [ebp - 0x110]
and ebx, 0xfffffffe
call fcn.0044bd90
lea ecx, [ebp - 0x34]
call fcn.00437570
test al, al
jne 0x41e4c7
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x41e4b4
or ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
push 0x137
push edi
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
call fcn.0044bca0
mov edx, str.Failed_to_change_the_current_directory.
lea ecx, [ebp - 0x108]
call fcn.0041cec3
test bl, 2
je 0x41e4c7
lea ecx, [ebp - 0x118]
and ebx, 0xfffffffd
call fcn.0044c710
mov esi, dword [ebp - 0x5c]
jmp 0x41e5bd
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00436580
test al, al
je 0x41e662
push 0x2a
pop edx
mov ecx, edi
call fcn.0044bc60
cmp eax, 1
jl 0x41e559
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
or ebx, 0x30
call fcn.0043fa50
push 0xffffffffffffffff
push 0x142
push str..._.._chrome_installer_setup_uninstall.cc
lea ecx, [ebp - 0x110]
mov edi, eax
call fcn.0044bca0
mov edx, str.Attempting_to_move
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [edi + 0x14], 8
jb 0x41e52d
mov edi, dword [edi]
mov edx, edi
mov ecx, eax
call fcn.0044c7c0
mov edx, str._to:
mov ecx, eax
call fcn.0041cec3
cmp dword [ebp - 8], 8
lea edx, [ebp - 0x1c]
mov ecx, eax
cmovae edx, dword [ebp - 0x1c]
call fcn.0044c7c0
mov edi, str..._.._chrome_installer_setup_uninstall.cc
test bl, 0x20
je 0x41e56c
lea ecx, [ebp - 0x110]
and ebx, 0xffffffdf
call fcn.0044bd90
test bl, 0x10
je 0x41e57c
lea ecx, [ebp - 0x4c]
and ebx, 0xffffffef
call fcn.0043ef40
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.00433bb0
test al, al
je 0x41e5cb
cmp dword [ebp - 0xc], 0x104
jae 0x41e5b2
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 5
cmovae eax, dword [ebp - 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
test al, al
jne 0x41e5ba
lea ecx, [ebp - 0x1c]
call fcn.00425b8d
add esi, 0x18
cmp esi, dword [ebp - 0x58]
jne 0x41e4cf
jmp 0x41e6d3
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x41e648
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
or ebx, 0xc0
call fcn.0043fa50
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
push 0x145
push edi
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
call fcn.0044bca0
mov edx, str.Failed_to_move
lea ecx, [ebp - 0x108]
call fcn.0041cec3
cmp dword [esi + 0x14], 8
jb 0x41e621
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
mov edx, str._to
mov ecx, eax
call fcn.0041cec3
cmp dword [ebp - 8], 8
lea edx, [ebp - 0x1c]
mov ecx, eax
cmovae edx, dword [ebp - 0x1c]
call fcn.0044c7c0
test bl, bl
jns 0x41e65d
lea ecx, [ebp - 0x118]
and ebx, 0xffffff7f
call fcn.0044c710
test bl, 0x40
jmp 0x41e6c5
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x41e6af
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
or ebx, 0xc
call fcn.0043fa50
push 2
push 0x13d
push edi
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.0044bca0
mov edx, str.Failed_to_create_temporary_file_for
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [esi + 0x14], 8
jb 0x41e6a6
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
test bl, 8
je 0x41e6c2
lea ecx, [ebp - 0x110]
and ebx, 0xfffffff7
call fcn.0044bd90
test bl, 4
je 0x41e6cf
lea ecx, [ebp - 0x4c]
call fcn.0043ef40
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
lea ecx, [ebp - 0x34]
call fcn.0043ef40
lea ecx, [ebp - 0x5c]
call fcn.00420869
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x50]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret