Function at 0x449810
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 0x5d327b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x68a140]
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.00449310
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp eax, 4
jb 0x449d31
lea ecx, [eax - 4]
cmp eax, ecx
jb 0x449d57
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.0040c710
add esp, 8
test eax, eax
jne 0x449d31
call fcn.00459d40
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.0044c4c0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x4498e9
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00452ec0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.0043caf0
add esp, 0xc
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.00428f30
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.00449550
add esp, 8
test al, al
je 0x449d1e
mov ecx, dword [ebp - 0x28]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x449d5c
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.004218a0
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.00449550
add esp, 8
test al, al
jne 0x449d16
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x4499ae
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00452ec0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.0043caf0
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00428f30
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 0x449ab4
mov ecx, dword [ebp - 0xe4]
call fcn.00449730
test al, al
jne 0x449d0b
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 0x449a60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00428be0
cmp dword [ebp - 0xd0], 0
je 0x449aa4
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.00428f30
jmp 0x449d0b
call fcn.00459d40
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.0044c4c0
add esp, 0xc
mov byte [ebp - 4], 0xe
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x449aef
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x108]
push eax
call fcn.00452ec0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.0043caf0
add esp, 0xc
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x11
call fcn.00428f30
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.00449550
add esp, 8
test al, al
je 0x449c65
mov ecx, esi
call fcn.00449730
test al, al
jne 0x449be3
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 0x449b90
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00428be0
cmp dword [ebp - 0xd0], 0
je 0x449bd4
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.00428f30
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.00449550
add esp, 8
test al, al
jne 0x449cf1
mov ecx, edi
call fcn.00449730
test al, al
jne 0x449cf1
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 0x449c47
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00428be0
jmp 0x449cbe
mov ecx, dword [ebp - 0xe4]
call fcn.00449730
test al, al
jne 0x449cf1
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 0x449ca2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.00428be0
cmp dword [ebp - 0xd0], 0
je 0x449ce6
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.00428f30
lea ecx, [ebp - 0xb0]
call fcn.00428f30
lea ecx, [ebp - 0x80]
call fcn.00428f30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc8]
call fcn.00428f30
lea ecx, [ebp - 0x50]
call fcn.00428f30
lea ecx, [ebp - 0x68]
call fcn.00428f30
lea ecx, [ebp - 0x98]
call fcn.00428f30
lea ecx, [ebp - 0x38]
call fcn.00428f30
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.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00420e10
call fcn.00428b70
int3