Function at 0x610b4b
Capabilities:
Move file

Disassembly:
push 0x45c
mov eax, 0x6be666
call fcn.0064d018
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44c], eax
call fcn.004fd736
test al, al
je 0x610e87
mov eax, dword [ebp - 0x44c]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x610e87
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x450], 0xa
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.0040d595
push 7
mov dword [ebp - 4], ebx
xor eax, eax
pop ecx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004ff399
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x70]
call fcn.004ff399
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.004ff459
push ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.004ff459
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x30]
jne 0x610c50
push edx
push eax
push ecx
call fcn.0040b7a0
add esp, 0xc
test eax, eax
je 0x610c5a
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.004f9794
push ebx
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.006107fb
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x610c7b
call fcn.0050643c
xor edx, edx
mov ecx, eax
call fcn.004f9703
cmp eax, 0x102
jne 0x610e8f
mov eax, ebx
mov dword [ebp - 0x44c], eax
test bl, bl
jne 0x610e51
inc eax
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0061230e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x610cd3
mov ecx, dword [esi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x610d6c
push 0x38
mov bl, 1
call fcn.006707e1
pop ecx
test eax, eax
je 0x610eb2
mov dword [ebp - 0x454], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
push ecx
push esi
mov ecx, eax
call fcn.0061057d
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 0x93
test eax, eax
je 0x610d25
lock inc dword [eax + 4]
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 7
push eax
mov ecx, edi
call fcn.00610a55
push dword [ebp - 0x454]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x468]
push eax
lea ecx, [edi + 0x14]
call fcn.00482f2a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x610e07
call fcn.004f96a9
jmp 0x610e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.006123a0
lea eax, [ebp - 0x28]
push eax
call fcn.006109ee
test al, al
jne 0x610e07
mov ecx, esi
call fcn.004fd736
test al, al
jne 0x610db1
push esi
call fcn.0061242f
mov bl, 1
jmp 0x610e07
lea ecx, [ebp - 0x28]
call fcn.004fd736
test al, al
je 0x610de8
push 1
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xb8]
push eax
call fcn.006107fb
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d3a8
lea ecx, [ebp - 0xb8]
call fcn.0040d475
jmp 0x610e07
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x610df4
call fcn.0050643c
mov edx, 0x1f4
mov ecx, eax
call fcn.004f9703
cmp eax, 0x102
jne 0x610e3d
mov eax, dword [ebp - 0x458]
cmp eax, 0xa
jb 0x610c97
test bl, bl
jne 0x610e51
lea eax, [ebp - 0x450]
push eax
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x44c]
push esi
push ecx
push eax
push ecx
lea ecx, [ebp - 0x448]
call fcn.006124d6
jmp 0x610ea1
lea eax, [ebp - 0x28]
push eax
push esi
push ecx
push ecx
lea ecx, [ebp - 0x448]
call fcn.006124b7
jmp 0x610ea1
lea ecx, [ebp - 0x28]
call fcn.0040d475
lea ecx, [ebp - 0x40]
call fcn.0040d475
lea ecx, [ebp - 0x58]
call fcn.0040d475
lea ecx, [ebp - 0x88]
call fcn.0040d475
lea ecx, [ebp - 0xa0]
call fcn.0040d475
lea ecx, [ebp - 0x70]
call fcn.0040d475
call fcn.0064cfc2
ret 8
lea eax, [ebp - 0x28]
push eax
push esi
push ecx
push ecx
lea ecx, [ebp - 0x448]
call fcn.006122ef
push 0x811494
lea eax, [ebp - 0x448]
push eax
call fcn.0064f293
call fcn.004f732c
int3