Function at 0x464077
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4cdcaf
call fcn.004c7e20
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [0x4f333c], ebx
je 0x46409b
cmp dword [0x4f3290], ebx
jne 0x4642e9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f2624]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ecx, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jle 0x4642e9
push esi
push edi
jmp 0x4640c0
xor ebx, ebx
cmp eax, dword [0x4f2624]
jae 0x4642f6
mov ecx, dword [0x4f2620]
lea eax, [ecx + eax*4]
mov edi, dword [eax]
cmp edi, ebx
mov dword [ebp - 0x20], edi
je 0x4640e8
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x46427a
cmp dword [edi + 0x2c], ebx
je 0x46427a
mov edx, dword [edi + 0x24]
cmp edx, ebx
je 0x464274
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
mov eax, dword [ebp - 0x1c]
jne 0x464119
mov dword [edi + 0x28], eax
jmp 0x464274
sub eax, ecx
cmp eax, 0x7530
jae 0x46412b
cmp edx, 5
jb 0x464274
lea eax, [ebp - 0x10]
mov ecx, edi
call fcn.004563da
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], ebx
jne 0x4641e9
push 0x4f2c7c
lea edi, [ebp - 0x14]
call fcn.00402f03
push 0x4d63f8
mov eax, edi
push eax
call fcn.00402fdb
mov ebx, dword [ebp - 0x14]
call fcn.0049149c
mov edi, 0x3e7
mov eax, dword [0x4f0980]
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push str._s_03d.ttbl
push eax
call fcn.00405986
mov ebx, dword [ebp - 0x18]
add esp, 0x10
mov eax, ebx
call fcn.00403dd0
test eax, eax
je 0x4641b3
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x4641a8
push eax
call fcn.004013aa
dec edi
cmp edi, 0x384
jg 0x46416c
jmp 0x4641d2
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00402f73
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x4641cf
push eax
call fcn.004013aa
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4641e6
push eax
call fcn.004013aa
mov edi, dword [ebp - 0x20]
xor ebx, ebx
cmp dword [esi - 8], ebx
je 0x46429b
push 0x4d72f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403120
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x2c]
push 1
push ebx
push edi
call fcn.00459480
test eax, eax
jne 0x464232
and dword [edi + 0x28], eax
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebx - 0xc]
cmp eax, dword [0x4f0984]
je 0x464263
push eax
jmp 0x46425e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
lea eax, [edi + 0x18]
call fcn.00402fb6
and dword [edi + 0x24], 0
and dword [edi + 0x28], 0
add ebx, 0xfffffff4
cmp ebx, dword [0x4f0984]
je 0x464263
push ebx
call fcn.004013aa
lea eax, [esi - 0xc]
cmp eax, dword [0x4f0984]
je 0x464274
push eax
call fcn.004013aa
or dword [ebp - 4], 0xffffffff
jmp 0x464282
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x464289
mov esi, edi
call fcn.00438274
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
jl 0x4640be
jmp 0x4642e7
cmp ebx, dword [0x4f2624]
jae 0x4642f6
mov eax, dword [0x4f2620]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x4642c6
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and dword [esi + 0x24], 0
and dword [esi + 0x28], 0
call fcn.00438274
inc ebx
cmp ebx, dword [ebp - 0x28]
jl 0x46429b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x4642e0
push eax
call fcn.004013aa
mov esi, edi
call fcn.00438274
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
push 0x80070057
call fcn.004010ca
int3