Function at 0x1007e140
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x470
mov edi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x468], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x450], xmm0
movdqa xmmword [esp + 0x440], xmm0
movdqa xmmword [esp + 0x430], xmm0
movdqa xmmword [esp + 0x420], xmm0
lea ebx, [esp + 0x218]
push 0x196
push str....._base_files_file_util_win.cc
push 0x101a0e77
push ebx
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x420]
push 0
push 0
push ebx
call fcn.100bcee0
test byte [0x101bacd0], 0x19
jne 0x1007e397
push 0x208
push 0xff
push ebx
call fcn.10149430
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1007e1e2
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
mov ecx, 3
nop word [eax + eax]
movzx edx, word [eax + ecx*2 - 6]
mov word [esp + ecx*2 + 0x212], dx
test dx, dx
je 0x1007e24c
movzx edx, word [eax + ecx*2 - 4]
mov word [esp + ecx*2 + 0x214], dx
test dx, dx
je 0x1007e24c
movzx edx, word [eax + ecx*2 - 2]
mov word [esp + ecx*2 + 0x216], dx
test dx, dx
je 0x1007e24c
movzx edx, word [eax + ecx*2]
mov word [esp + ecx*2 + 0x218], dx
test dx, dx
je 0x1007e24c
add ecx, 4
cmp ecx, 0x107
jne 0x1007e1f0
mov word [esp + 0x41e], 0
push ebx
call fcn.10012050
add esp, 4
lea ebx, [esp + 0x10]
push 0x208
push 0xff
push ebx
call fcn.10149430
add esp, 0xc
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x1007e276
mov eax, dword [esi]
mov ecx, 3
nop dword [eax + eax]
movzx edx, word [eax + ecx*2 - 6]
mov word [esp + ecx*2 + 0xa], dx
test dx, dx
je 0x1007e2d0
movzx edx, word [eax + ecx*2 - 4]
mov word [esp + ecx*2 + 0xc], dx
test dx, dx
je 0x1007e2d0
movzx edx, word [eax + ecx*2 - 2]
mov word [esp + ecx*2 + 0xe], dx
test dx, dx
je 0x1007e2d0
movzx edx, word [eax + ecx*2]
mov word [esp + ecx*2 + 0x10], dx
test dx, dx
je 0x1007e2d0
add ecx, 4
cmp ecx, 0x107
jne 0x1007e280
mov word [esp + 0x216], 0
push ebx
call fcn.10012050
add esp, 4
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1007e2e3
mov eax, dword [edi]
cmp byte [esi + 0xb], 0
mov ecx, esi
jns 0x1007e2ed
mov ecx, dword [esi]
sub esp, 0x18
movaps xmm0, xmmword [0x101a0e00]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov bl, 1
test eax, eax
jne 0x1007e36a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1009deb0
add esp, 4
cmp byte [esi + 0xb], 0
jns 0x1007e326
mov esi, dword [esi]
cmp byte [edi + 0xb], 0
mov dword [esp + 8], eax
jns 0x1007e332
mov edi, dword [edi]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
cmp dword [ebp + 0x10], 0
je 0x1007e36a
test eax, eax
jne 0x1007e36a
mov ecx, dword [esp + 8]
cmp ecx, 0xfffffffc
jne 0x1007e363
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1009deb0
add esp, 4
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor ebx, ebx
test byte [0x101bacd0], 0x19
jne 0x1007e3cf
lea ecx, [esp + 0x420]
call fcn.100bd410
mov ecx, dword [esp + 0x468]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
sub esp, 8
movq xmm0, qword [esp + 0x18]
movq qword [esp], xmm0
lea edx, [esp + 0x14]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
jmp 0x1007e1c5
mov dword [esp + 0x21c], 0
mov dword [esp + 0x218], 0
sub esp, 0x18
movsd xmm0, qword [esp + 0x230]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x1007e373