Function at 0x10071960
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2e2a
mov eax, dword fs:[0]
push eax
sub esp, 0x98
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
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10004985
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10003e13
push dword [ebp - 0xa0]
lea eax, [ebp - 0x70]
push dword [ebp - 0xa4]
push eax
call fcn.100013bb
push str..old
lea esi, [ebx + 0x34]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.100030b7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100024aa
add esp, 0x38
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x10071a21
inc eax
push 2
push eax
push dword [ebp - 0x88]
call fcn.10004633
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x78], 0
jb 0x10071a4d
mov ecx, dword [esi]
jmp 0x10071a4f
mov ecx, esi
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
lea eax, [ebp - 0x40]
jne 0x10071a8b
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
cmp dword [esi + 0x14], 8
jb 0x10071a70
mov esi, dword [esi]
push eax
push esi
push str.PatchFileCommand_execute_move_file_from__s__to___s__error
push 0x40
call fcn.100024ff
add esp, 0x10
mov esi, 1
jmp 0x10071ca0
lea ecx, [ebx + 0x64]
cmp ecx, eax
je 0x10071a9f
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.10001992
mov dword [ebp - 0x98], 0
push 0x7c
mov byte [ebp - 4], 4
call fcn.10004039
mov ecx, eax
add esp, 4
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10071aee
cmp dword [esi + 0x14], 8
jb 0x10071ad1
mov edx, dword [esi]
jmp 0x10071ad3
mov edx, esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x100ca98c
cmovae eax, dword [ebp - 0x40]
push edx
push eax
call fcn.1000373d
mov edi, eax
jmp 0x10071af0
xor edi, edi
mov byte [ebp - 4], 4
test edi, edi
je 0x10071aff
mov ecx, edi
call fcn.10005272
mov dword [ebp - 0x98], edi
mov byte [ebp - 4], 4
test edi, edi
jne 0x10071b26
push edi
push edi
push 0x2f
push str.H:_baidu_netdiskpc_updateagent_sourcekernelupdateinstallpatch_file_command.cpp
call fcn.100021e9
add esp, 0x10
lea esi, [edi + 4]
jmp 0x10071ca0
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
push str..patched
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push esi
push eax
call fcn.100030b7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100024aa
add esp, 0x18
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x10071b87
push 2
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10004633
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebx + 0x60], 8
lea edx, [ebx + 0x4c]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x10071ba6
mov edx, dword [edx]
cmp dword [ebx + 0x30], 8
lea edi, [ebx + 0x1c]
jb 0x10071bb9
mov eax, dword [edi]
mov dword [ebp - 0x98], eax
jmp 0x10071bbf
mov dword [ebp - 0x98], edi
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edx
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push dword [ebp - 0x98]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.100054bb
test eax, eax
lea eax, [ebp - 0x28]
jne 0x10071c28
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10002180
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x10071c10
mov edi, dword [edi]
push eax
push edi
push str.PatchFileCommand_execute_patch_file_from__s__to___s__error
push 0x40
call fcn.100024ff
add esp, 0x10
mov esi, 1
jmp 0x10071c75
lea ecx, [ebx + 0x7c]
cmp ecx, eax
je 0x10071c3c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.10001992
cmp dword [edi + 0x14], 8
jb 0x10071c44
mov edi, dword [edi]
push edi
call fcn.10002180
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x10071c55
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10071c73
lea esi, [eax + 1]
jmp 0x10071c75
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10071c8c
push 2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10004633
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x10071cb7
push 2
inc eax
push eax
push dword [ebp - 0x40]
call fcn.10004633
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x10071ce2
push 2
inc ecx
push ecx
push dword [ebp - 0x70]
call fcn.10004633
add esp, 0xc
mov eax, esi
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