Function at 0x610eb8
Capabilities:
Move file

Disassembly:
push 0x3f4
mov eax, 0x6be6be
call fcn.0064d018
mov esi, ecx
mov dword [ebp - 0x3fc], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push eax
call fcn.006124fe
lea ecx, [ebp - 0x44]
call fcn.0040d475
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x3f8], 0xa
test eax, eax
jne 0x610f13
call fcn.0050643c
xor edx, edx
mov ecx, eax
call fcn.004f9703
cmp eax, 0x102
jne 0x6112a4
xor ebx, ebx
mov ecx, edi
mov byte [ebp - 0x3ed], bl
call fcn.00504978
mov ecx, eax
call fcn.00610697
sub eax, ebx
je 0x611038
sub eax, 1
je 0x610f67
sub eax, 1
jne 0x6111da
mov ecx, edi
call fcn.00504978
lea ecx, [eax + 0x20]
call fcn.004fc8cd
jmp 0x611272
mov eax, dword [ebp - 0x3f4]
cmp dword [eax + 0x10], ebx
jne 0x610fa0
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 4], 3
call fcn.00612763
jmp 0x6112ca
mov ecx, edi
call fcn.00504978
add eax, 8
lea ecx, [esi + 0xc]
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.0044580c
mov eax, dword [ebp - 0x3f8]
cmp eax, dword [esi + 0xc]
je 0x611017
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [eax + 0x28]
push ecx
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
mov esi, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 4
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push esi
push eax
call fcn.0061277f
lea ecx, [ebp - 0x44]
call fcn.0040d475
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040d475
jmp 0x61127a
push dword [ebp - 0x3f4]
push ecx
mov ecx, edi
call fcn.00504978
add esp, 4
add eax, 8
mov ecx, esi
push eax
call fcn.00610b4b
jmp 0x61127a
mov ecx, edi
call fcn.00504978
add eax, 0x20
lea ecx, [esi + 0xc]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.0044580c
mov eax, dword [ebp - 0x400]
cmp eax, dword [esi + 0xc]
je 0x6110aa
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [eax + 0x28]
push ecx
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
mov esi, eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push esi
push eax
call fcn.006125a2
lea ecx, [ebp - 0x2c]
call fcn.0040d475
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040d475
push dword [ebp - 0x3f4]
push ecx
mov ecx, edi
call fcn.00504978
mov esi, dword [ebp - 0x3fc]
add esp, 4
add eax, 0x20
mov ecx, esi
push eax
call fcn.00610b4b
mov eax, ebx
test bl, bl
jne 0x611269
inc eax
mov dword [ebp - 0x3f4], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
lea ecx, [ebp - 0x3f8]
push ecx
lea ecx, [ebp - 0x3f4]
push ecx
push eax
call fcn.0061262e
lea ecx, [ebp - 0x2c]
call fcn.0040d475
mov ecx, edi
call fcn.00504978
add eax, 0x20
mov dword [ebp - 0x3fc], eax
cmp dword [eax + 0x14], 8
jb 0x61112b
mov eax, dword [eax]
mov dword [ebp - 0x3fc], eax
mov ecx, edi
call fcn.00504978
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x61113d
mov eax, dword [eax]
push 1
push dword [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x61115b
mov byte [ebp - 0x3ed], 1
mov bl, 1
jmp 0x6111c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
lea ecx, [ebp - 0x400]
push ecx
push eax
call fcn.006126bc
lea ecx, [ebp - 0x2c]
call fcn.0040d475
mov ecx, edi
call fcn.00504978
add eax, 0x20
push eax
call fcn.006109ee
test al, al
jne 0x6111c3
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x6111b0
call fcn.0050643c
mov edx, 0x1f4
mov ecx, eax
call fcn.004f9703
cmp eax, 0x102
jne 0x61123e
mov eax, dword [ebp - 0x3f4]
cmp eax, 0xa
jb 0x6110ce
test bl, bl
jne 0x611269
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
lea ecx, [ebp - 0x3f8]
push ecx
push ecx
push eax
call fcn.0061280b
lea ecx, [ebp - 0x2c]
call fcn.0040d3a3
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push eax
push str.RobustFileOps::DoFileOp:__s_failed
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x3ec]
call fcn.0050983d
jmp 0x6112ca
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 4], 2
call fcn.00612747
jmp 0x6112ca
cmp byte [ebp - 0x3ed], 0
je 0x61127a
push edi
mov ecx, esi
call fcn.00610a55
lea eax, [ebp - 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
push eax
call fcn.00612899
lea ecx, [ebp - 0x5c]
call fcn.0040d475
call fcn.0064cfc2
ret 8
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.00504978
pop ecx
mov ecx, eax
call fcn.006106b0
and dword [ebp - 4], 0
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3ec]
call fcn.00612586
push 0x811494
lea eax, [ebp - 0x3ec]
push eax
call fcn.0064f293
int3