Function at 0x4a7450
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
xor eax, eax
push ebp
push 0x4a76f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a76cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov byte [eax - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4a76c5
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [0x4e19f0]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
call fcn.00408b04
mov eax, esi
call fcn.00407a60
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0041e864
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0041cbb8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, 0xffffffec
call fcn.00407e88
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, 0x4a7710
call fcn.00408c3c
jne 0x4a7531
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0046f518
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4a76bb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, 0x4a7728
call fcn.00408c3c
je 0x4a7559
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, 0x4a7740
call fcn.00408c3c
jne 0x4a76bb
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x4e15d4]
mov edx, dword [edx]
mov eax, esi
call fcn.00408b04
cmp dword [esi], 0
je 0x4a76bb
mov eax, dword [esi]
call fcn.0046f5c8
test al, al
je 0x4a75a9
cmp byte [ebp - 1], 0
je 0x4a75a2
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0046f7c8
mov eax, dword [esi]
call fcn.0046f518
mov eax, dword [esi]
call fcn.0046f5c8
test al, al
jne 0x4a75f1
push 0
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov cl, 1
call fcn.0046f4ac
mov eax, dword [esi]
call fcn.0046f5c8
test al, al
je 0x4a76bb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0046f518
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4a76bb
mov edx, dword [esi]
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov ecx, 0x4a7758
call fcn.00408b04
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0046f5c8
test al, al
je 0x4a7638
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0046f518
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0046f5c8
test al, al
je 0x4a7638
mov eax, dword [ebp + 8]
mov byte [eax - 1], 1
jmp 0x4a76bb
push 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.004088a8
push eax
mov eax, dword [esi]
call fcn.004088a8
push eax
call sub.kernel32.dll_MoveFileExW
mov eax, dword [esi]
call fcn.0046f5c8
test al, al
jne 0x4a76b4
push 0
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov cl, 1
call fcn.0046f4ac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0046f5c8
test al, al
je 0x4a768f
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
call fcn.0046f5c8
test al, al
je 0x4a76bb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0046f518
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x4a76bb
mov eax, dword [ebp + 8]
mov byte [eax - 1], 1
dec ebx
cmp ebx, 0xffffffff
jne 0x4a74a1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a76d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a76fb
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00407ac0
ret