Function at 0x4595c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e748
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x748068]
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 esi, dword [ebp + 0xc]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x7c], ebx
call fcn.00456230
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test al, al
jne 0x459740
push esi
lea ecx, [ebp - 0x70]
call fcn.00406ff0
mov dword [ebp - 4], 0
push str..old.tmp
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x70]
push eax
push str..old.tmp
call fcn.0040cab0
push 0xb
lea ecx, [ebp - 0x70]
call fcn.00405ca0
push eax
mov ecx, esi
call fcn.00405ca0
push eax
call edi
test eax, eax
jne 0x459731
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x71], al
call fcn.00405d80
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.00456680
movzx ecx, byte [ebp - 0x71]
test al, al
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
call fcn.00405d80
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.00456680
test al, al
jne 0x45969b
cmp byte [ebp - 0x78], al
je 0x4596b5
push 0xb
lea ecx, [ebp - 0x40]
call fcn.00405ca0
push eax
lea ecx, [ebp - 0x58]
call fcn.00405ca0
push eax
call edi
test eax, eax
jne 0x459719
lea ecx, [ebp - 0x70]
call fcn.00455fd0
cmp eax, 0xffffffff
je 0x459719
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406ff0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00456440
test al, al
je 0x45970d
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00456070
test al, al
je 0x45970d
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.00456070
lea ecx, [ebp - 0x28]
test al, al
je 0x459705
call fcn.00456230
jmp 0x45970d
lea edx, [ebp - 0x70]
call fcn.00456070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00405ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00405ce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00405ce0
push 0xb
mov ecx, esi
call fcn.00405ca0
push eax
mov ecx, ebx
call fcn.00405ca0
push eax
call edi
test eax, eax
jne 0x45982e
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x71], al
call fcn.00405d80
mov dword [ebp - 4], 4
lea edx, [ebp - 0x40]
mov ecx, ebx
call fcn.00456680
movzx ebx, byte [ebp - 0x71]
lea ecx, [ebp - 0x58]
test al, al
mov eax, 1
cmovne ebx, eax
call fcn.00405d80
mov byte [ebp - 4], 5
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.00456680
test al, al
jne 0x4597a4
test bl, bl
je 0x4597be
push 0xb
lea ecx, [ebp - 0x58]
call fcn.00405ca0
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ca0
push eax
call edi
test eax, eax
jne 0x459813
mov ecx, esi
call fcn.00455fd0
cmp eax, 0xffffffff
je 0x459845
push esi
lea ecx, [ebp - 0x28]
call fcn.00406ff0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00456440
test al, al
je 0x459839
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00456070
test al, al
je 0x459839
mov ecx, dword [ebp - 0x7c]
mov edx, esi
call fcn.00456070
lea ecx, [ebp - 0x28]
test al, al
je 0x459832
call fcn.00456230
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00405ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405ce0
mov al, 1
jmp 0x459862
mov edx, esi
call fcn.00456070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00405ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405ce0
xor al, al
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.0064fb08
mov esp, ebp
pop ebp
ret 8