Function at 0x450da0
Capabilities:
Delete file
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c81ab
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x519100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0xe4], esi
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.004508a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp eax, 4
jb 0x4512c1
lea ecx, [eax - 4]
cmp eax, ecx
jb 0x4512e7
sub eax, ecx
mov edx, 4
cmp eax, edx
push 4
cmovb edx, eax
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
push str..log
cmova eax, dword [ebp - 0x38]
lea ecx, [eax + ecx*2]
call fcn.0042ae90
add esp, 8
test eax, eax
jne 0x4512c1
call fcn.0047ae70
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push eax
push 0x14
push str..to_rotate.:016x
lea edx, [ebp - 0x38]
call fcn.004539e0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x450e79
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00476330
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00441d20
add esp, 0xc
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.00423780
cmp dword [ebp - 0x84], 7
lea eax, [ebp - 0x98]
push dword [ebp - 0x88]
cmova eax, dword [ebp - 0x98]
mov ecx, esi
push eax
call fcn.00450ae0
add esp, 8
test al, al
je 0x4512ae
mov ecx, dword [ebp - 0x28]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x4512ec
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
push 4
cmova eax, dword [ebp - 0x38]
push str..old
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
call fcn.0040cb50
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 7
mov ecx, esi
push dword [ebp - 0x40]
cmova eax, dword [ebp - 0x50]
push eax
call fcn.00450ae0
add esp, 8
test al, al
jne 0x4512a6
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x450f3e
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00476330
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.00441d20
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00423780
cmp dword [ebp - 0xb4], 7
lea eax, [ebp - 0xc8]
push 0
cmova eax, dword [ebp - 0xc8]
push 0
push 3
push 0
push 7
push 0x10000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 9
cmp esi, 0xffffffff
jne 0x451044
mov ecx, dword [ebp - 0xe4]
call fcn.00450cc0
test al, al
jne 0x45129b
cmp dword [ebp - 0x54], 7
lea edx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmova edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450ff0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00423920
cmp dword [ebp - 0xd0], 0
je 0x451034
cmp dword [ebp - 0xcc], 7
lea eax, [ebp - 0xe0]
push 4
cmova eax, dword [ebp - 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xe0]
call fcn.00423780
jmp 0x45129b
call fcn.0047ae70
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xec], edx
push eax
push 0x14
push str..to_delete.:016x
lea edx, [ebp - 0x38]
call fcn.004539e0
add esp, 0xc
mov byte [ebp - 4], 0xe
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x45107f
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x108]
push eax
call fcn.00476330
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.00441d20
add esp, 0xc
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x11
call fcn.00423780
cmp dword [ebp - 0x6c], 7
lea eax, [ebp - 0x80]
push dword [ebp - 0x70]
cmova eax, dword [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00450ae0
add esp, 8
test al, al
je 0x4511f5
mov ecx, esi
call fcn.00450cc0
test al, al
jne 0x451173
cmp dword [ebp - 0x9c], 7
lea edx, [ebp - 0xb0]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmova edx, dword [ebp - 0xb0]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451120
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00423920
cmp dword [ebp - 0xd0], 0
je 0x451164
cmp dword [ebp - 0xcc], 7
lea eax, [ebp - 0xe0]
push 4
cmova eax, dword [ebp - 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x11
call fcn.00423780
cmp dword [ebp - 0x3c], 7
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmova eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0xe4]
mov ecx, edi
push eax
call fcn.00450ae0
add esp, 8
test al, al
jne 0x451281
mov ecx, edi
call fcn.00450cc0
test al, al
jne 0x451281
cmp dword [ebp - 0x54], 7
lea edx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmova edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4511d7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00423920
jmp 0x45124e
mov ecx, dword [ebp - 0xe4]
call fcn.00450cc0
test al, al
jne 0x451281
cmp dword [ebp - 0x54], 7
lea edx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmova edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451232
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00423920
cmp dword [ebp - 0xd0], 0
je 0x451276
cmp dword [ebp - 0xcc], 7
lea eax, [ebp - 0xe0]
push 4
cmova eax, dword [ebp - 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xe0]
call fcn.00423780
lea ecx, [ebp - 0xb0]
call fcn.00423780
lea ecx, [ebp - 0x80]
call fcn.00423780
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc8]
call fcn.00423780
lea ecx, [ebp - 0x50]
call fcn.00423780
lea ecx, [ebp - 0x68]
call fcn.00423780
lea ecx, [ebp - 0x98]
call fcn.00423780
lea ecx, [ebp - 0x38]
call fcn.00423780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048471b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040be30
call fcn.004237f0
int3