Function at 0x462330
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5910ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ecx
mov eax, esp
mov dword [eax], ebx
call fcn.00472740
add esp, 4
mov byte [ebp - 0xd], 1
xor esi, esi
mov dword [ebp - 0x14], esi
lea edi, [esi + 2]
lea ebx, [ebx]
push 0
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ecx
call fcn.00470cf0
add esp, 0xc
test al, al
jne 0x462600
cmp byte [ebp - 0xd], al
je 0x4625d3
push ebx
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x48]
push str._s.old
push eax
call fcn.0046a880
add esp, 0xc
test byte [ebp - 0x39], 0x80
mov dword [ebp - 4], 0
je 0x4623c8
mov ebx, dword [ebp - 0x48]
test ebx, ebx
jne 0x4623cb
mov ebx, 0x593544
jmp 0x4623cb
lea ebx, [ebp - 0x48]
push 4
push 0
push 0
push ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x4000100
mov dword [ebp - 0x38], ebx
call fcn.0046dcd0
mov esi, eax
mov ecx, 0xffffffff
mul edi
cmovb eax, ecx
push eax
call fcn.0056baeb
push 0
mov edi, eax
push esi
push edi
push ebx
mov dword [ebp - 0x34], edi
call fcn.0046dcd0
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
jne 0x462459
push 4
push edi
push edi
push ebx
mov byte [ebp - 0x2b], 1
call fcn.0046dcd0
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0056baeb
push 0
mov edi, eax
push esi
push edi
push ebx
mov dword [ebp - 0x34], edi
call fcn.0046dcd0
add esp, 0x24
mov ecx, dword [ebp + 0xc]
mov eax, 0x593544
test ecx, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cmovne eax, ecx
mov dword [ebp - 0x1c], 0x4000000
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00459950
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp byte [ebp - 0x1c], 0
mov esi, eax
mov byte [ebp - 4], 1
je 0x4624ab
push dword [ebp - 0x28]
call fcn.0056baf4
add esp, 4
cmp byte [ebp - 0x1b], 0
je 0x4624bc
push dword [ebp - 0x24]
call fcn.0056baf4
add esp, 4
cmp byte [ebp - 0x1a], 0
je 0x4624cd
push dword [ebp - 0x20]
call fcn.0056baf4
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x4000000
test esi, esi
je 0x46257a
test edi, edi
jne 0x46252c
push 4
push edi
push edi
push ebx
mov byte [ebp - 0x2b], 1
call fcn.0046dcd0
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0056baeb
push 0
mov edi, eax
push esi
push edi
push ebx
mov dword [ebp - 0x34], edi
call fcn.0046dcd0
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46257a
test edi, edi
jne 0x46256f
push 4
push edi
push edi
push ebx
mov byte [ebp - 0x2b], 1
call fcn.0046dcd0
mov esi, eax
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0056baeb
push 0
mov edi, eax
push esi
push edi
push ebx
call fcn.0046dcd0
add esp, 0x24
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
call fcn.0056baf4
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x4000000
test byte [ebp - 0x39], 0x80
mov dword [ebp - 4], 3
je 0x4625bf
call fcn.00480170
push 0
push dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov ebx, dword [ebp + 0xc]
mov edi, 2
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
jmp 0x4625e1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x64
mov dword [ebp - 0x14], esi
cmp esi, 0x3e8
jl 0x462370
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret