Function at 0x1006fb60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2ad3
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100f408c]
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 ebx, ecx
cmp dword [ebx + 0x48], 8
lea esi, [ebx + 0x34]
jb 0x1006fb9a
mov eax, dword [esi]
jmp 0x1006fb9c
mov eax, esi
push eax
call fcn.10003544
add esp, 4
mov byte [ebp - 0x65], 1
cmp dword [esi + 0x14], 8
jb 0x1006fbb3
mov eax, dword [esi]
jmp 0x1006fbb5
mov eax, esi
lea ecx, [ebp - 0x65]
push ecx
push eax
call fcn.10003fad
add esp, 8
test eax, eax
je 0x1006fbd9
push 0
push 0
push 0x26
push str.H:_baidu_netdiskpc_updateagent_sourcekernelupdateinstallmove_file_command.cpp
call fcn.100021e9
add esp, 0x10
cmp byte [ebp - 0x65], 0
je 0x1006feb5
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10004985
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10003e13
push dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
push dword [ebp - 0x70]
push eax
call fcn.100013bb
push str..old
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.100030b7
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100024aa
add esp, 0x38
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x1006fc59
inc eax
push 2
push eax
push dword [ebp - 0x58]
call fcn.10004633
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x48], 0
jb 0x1006fc82
mov ecx, dword [esi]
jmp 0x1006fc84
mov ecx, esi
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea eax, [ebp - 0x28]
jne 0x1006fcc0
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x1006fca5
mov esi, dword [esi]
push eax
push esi
push str.MoveFileCommand_execute_move_file_from__s__to___s__error
push 0x40
call fcn.100024ff
add esp, 0x10
mov esi, 1
jmp 0x1006fe39
lea ecx, [ebx + 0x4c]
cmp ecx, eax
je 0x1006fcd4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.10001992
mov dword [ebp - 0x74], 0
push 0x7c
mov byte [ebp - 4], 4
call fcn.10004039
mov ecx, eax
add esp, 4
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1006fd1d
cmp dword [esi + 0x14], 8
jb 0x1006fd00
mov edx, dword [esi]
jmp 0x1006fd02
mov edx, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x100ca98c
cmovae eax, dword [ebp - 0x28]
push edx
push eax
call fcn.1000373d
mov edi, eax
jmp 0x1006fd1f
xor edi, edi
mov byte [ebp - 4], 4
test edi, edi
je 0x1006fd2e
mov ecx, edi
call fcn.10005272
mov dword [ebp - 0x74], edi
mov byte [ebp - 4], 4
test edi, edi
jne 0x1006fd52
push edi
push edi
push 0x3a
push str.H:_baidu_netdiskpc_updateagent_sourcekernelupdateinstallmove_file_command.cpp
call fcn.100021e9
add esp, 0x10
lea esi, [edi + 4]
jmp 0x1006fe39
push ecx
mov eax, esp
mov ecx, edi
mov dword [eax], edi
call fcn.10005272
mov ecx, ebx
call fcn.10004165
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.1000209f
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x1006fd7e
mov eax, dword [esi]
jmp 0x1006fd80
mov eax, esi
cmp dword [ebx + 0x30], 8
lea edi, [ebx + 0x1c]
jb 0x1006fd8d
mov ecx, dword [edi]
jmp 0x1006fd8f
mov ecx, edi
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006fdc5
cmp dword [esi + 0x14], 8
jb 0x1006fda5
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1006fdad
mov edi, dword [edi]
push esi
push edi
push str.MoveFileCommand_execute_move_file_from__s__to___s__error
push 0x40
call fcn.100024ff
add esp, 0x10
mov esi, 1
jmp 0x1006fe39
mov dword [ebp - 0x74], 0
push 0x7c
mov byte [ebp - 4], 9
call fcn.10004039
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1006fe07
cmp dword [edi + 0x14], 8
jb 0x1006fded
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1006fdf5
mov esi, dword [esi]
push 0x100ca98c
push edi
push esi
mov ecx, eax
call fcn.1000373d
mov esi, eax
jmp 0x1006fe09
xor esi, esi
mov byte [ebp - 4], 9
test esi, esi
je 0x1006fe18
mov ecx, esi
call fcn.10005272
mov dword [ebp - 0x74], esi
mov byte [ebp - 4], 9
test esi, esi
jne 0x1006fe82
push esi
push esi
push 0x49
push str.H:_baidu_netdiskpc_updateagent_sourcekernelupdateinstallmove_file_command.cpp
call fcn.100021e9
add esp, 0x10
mov esi, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1006fe50
push 2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10004633
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x1006fe7b
push 2
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.10004633
add esp, 0xc
mov eax, esi
jmp 0x1006ffa3
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], esi
call fcn.10005272
mov ecx, ebx
call fcn.10004165
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.1000209f
lea ecx, [ebp - 0x28]
call fcn.10002757
lea ecx, [ebp - 0x40]
call fcn.10002757
jmp 0x1006ffa1
cmp dword [esi + 0x14], 8
jb 0x1006febf
mov eax, dword [esi]
jmp 0x1006fec1
mov eax, esi
cmp dword [ebx + 0x30], 8
lea edi, [ebx + 0x1c]
jb 0x1006fece
mov ecx, dword [edi]
jmp 0x1006fed0
mov ecx, edi
push 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1006ff09
cmp dword [esi + 0x14], 8
jb 0x1006fee6
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x1006feee
mov edi, dword [edi]
push esi
push edi
push str.MoveFileCommand_execute_move_file_from__s__to___s__error
push 0x40
call fcn.100024ff
add esp, 0x10
mov eax, 1
jmp 0x1006ffa3
mov dword [ebp - 0x74], 0
push 0x7c
mov dword [ebp - 4], 0xe
call fcn.10004039
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x1006ff4e
cmp dword [edi + 0x14], 8
jb 0x1006ff34
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1006ff3c
mov esi, dword [esi]
push 0x100ca98c
push edi
push esi
mov ecx, eax
call fcn.1000373d
mov esi, eax
jmp 0x1006ff50
xor esi, esi
mov byte [ebp - 4], 0xe
test esi, esi
je 0x1006ff5f
mov ecx, esi
call fcn.10005272
mov dword [ebp - 0x74], esi
mov byte [ebp - 4], 0xe
test esi, esi
jne 0x1006ff80
push esi
push esi
push 0x5a
push str.H:_baidu_netdiskpc_updateagent_sourcekernelupdateinstallmove_file_command.cpp
call fcn.100021e9
add esp, 0x10
lea eax, [esi + 4]
jmp 0x1006ffa3
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], esi
call fcn.10005272
mov ecx, ebx
call fcn.10004165
mov ecx, esi
mov dword [ebp - 4], 0x12
call fcn.1000209f
xor eax, eax
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.1000432c
mov esp, ebp
pop ebp
ret