Function at 0x458100
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 0x4e6f5b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x521104]
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 - 0xe8], esi
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00457c00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 4
jb 0x45865f
lea ecx, [eax - 4]
cmp eax, ecx
jb 0x458685
sub eax, ecx
mov edx, 4
cmp eax, edx
push 4
cmovb edx, eax
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push str..log
cmovae eax, dword [ebp - 0x2c]
lea ecx, [eax + ecx*2]
call fcn.00416d70
add esp, 8
test eax, eax
jne 0x45865f
call fcn.0048e2e0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x34], edx
push eax
mov edx, str._s.to_rotate._016llx
call fcn.00416550
add esp, 8
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4581ec
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [edi + 0x10]
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0xc8]
push eax
call fcn.004868d0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00448aa0
add esp, 0xc
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.0040a450
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
mov ecx, esi
push eax
call fcn.00457e40
add esp, 8
test al, al
je 0x45864c
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x45868a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push str..old
push ecx
push eax
push ecx
push dword [ebp - 0xec]
lea ecx, [ebp - 0x50]
call fcn.00409de0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
mov ecx, esi
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00457e40
add esp, 8
test al, al
jne 0x458644
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4582bd
mov eax, dword [edi]
mov ecx, dword [ebp - 0xe4]
push dword [ecx]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004868d0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.00448aa0
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.0040a450
cmp dword [ebp - 0xb4], 8
lea eax, [ebp - 0xc8]
push 0
cmovae 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 - 0x34], esi
mov byte [ebp - 4], 9
cmp esi, 0xffffffff
jne 0x4583c5
mov ecx, dword [ebp - 0xe8]
call fcn.00458020
test al, al
jne 0x458639
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458371
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a370
cmp dword [ebp - 0xd0], 0
je 0x4583b5
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
push 4
cmovae eax, dword [ebp - 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xe0]
call fcn.0040a450
jmp 0x458639
call fcn.0048e2e0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0xf4], edx
push eax
mov edx, str._s.to_delete._016llx
call fcn.00416550
add esp, 8
mov byte [ebp - 4], 0xe
cmp dword [edi + 0x14], 8
jb 0x458411
mov edi, dword [edi]
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x110]
push dword [eax]
push edi
call fcn.004868d0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.00448aa0
add esp, 0xc
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x11
call fcn.0040a450
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push dword [ebp - 0x70]
cmovae eax, dword [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00457e40
add esp, 8
test al, al
je 0x45858e
mov ecx, esi
call fcn.00458020
test al, al
jne 0x458506
cmp dword [ebp - 0x9c], 8
lea edx, [ebp - 0xb0]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmovae edx, dword [ebp - 0xb0]
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 0x4584b3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a370
cmp dword [ebp - 0xd0], 0
je 0x4584f7
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
push 4
cmovae 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.0040a450
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0xe8]
mov ecx, edi
push eax
call fcn.00457e40
add esp, 8
test al, al
jne 0x45861f
mov ecx, edi
call fcn.00458020
test al, al
jne 0x45861f
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458570
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a370
jmp 0x4585ec
mov ecx, dword [ebp - 0xe8]
call fcn.00458020
test al, al
jne 0x45861f
cmp dword [ebp - 0x54], 8
lea edx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xe0], xmm0
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4585d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a370
cmp dword [ebp - 0xd0], 0
je 0x458614
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
push 4
cmovae eax, dword [ebp - 0xe0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xe0]
call fcn.0040a450
lea ecx, [ebp - 0xb0]
call fcn.0040a450
lea ecx, [ebp - 0x80]
call fcn.0040a450
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc8]
call fcn.0040a450
lea ecx, [ebp - 0x50]
call fcn.0040a450
lea ecx, [ebp - 0x68]
call fcn.0040a450
lea ecx, [ebp - 0x98]
call fcn.0040a450
lea ecx, [ebp - 0x2c]
call fcn.0040a450
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.004a389b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040c540
call fcn.0040a1f0
int3