Function at 0x455860
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 0x4e397b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x100
mov eax, dword [0x51c100]
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.004553b0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 4
jb 0x455dbf
lea ecx, [eax - 4]
cmp eax, ecx
jb 0x455de5
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.00416e60
add esp, 8
test eax, eax
jne 0x455dbf
call fcn.0048b080
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.00416630
add esp, 8
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x45594c
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.00483950
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.00447020
add esp, 0xc
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.0040a590
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.004555b0
add esp, 8
test al, al
je 0x455dac
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x455dea
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.00409ee0
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.004555b0
add esp, 8
test al, al
jne 0x455da4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x455a1d
mov eax, dword [edi]
mov ecx, dword [ebp - 0xe4]
push dword [ecx]
lea ecx, [ebp - 0xb0]
push eax
call fcn.00483950
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.00447020
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.0040a590
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 0x455b25
mov ecx, dword [ebp - 0xe8]
call fcn.00455780
test al, al
jne 0x455d99
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 0x455ad1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a4a0
cmp dword [ebp - 0xd0], 0
je 0x455b15
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.0040a590
jmp 0x455d99
call fcn.0048b080
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.00416630
add esp, 8
mov byte [ebp - 4], 0xe
cmp dword [edi + 0x14], 8
jb 0x455b71
mov edi, dword [edi]
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x110]
push dword [eax]
push edi
call fcn.00483950
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
push ecx
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.00447020
add esp, 0xc
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x11
call fcn.0040a590
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.004555b0
add esp, 8
test al, al
je 0x455cee
mov ecx, esi
call fcn.00455780
test al, al
jne 0x455c66
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 0x455c13
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a4a0
cmp dword [ebp - 0xd0], 0
je 0x455c57
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.0040a590
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.004555b0
add esp, 8
test al, al
jne 0x455d7f
mov ecx, edi
call fcn.00455780
test al, al
jne 0x455d7f
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 0x455cd0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a4a0
jmp 0x455d4c
mov ecx, dword [ebp - 0xe8]
call fcn.00455780
test al, al
jne 0x455d7f
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 0x455d30
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.0040a4a0
cmp dword [ebp - 0xd0], 0
je 0x455d74
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.0040a590
lea ecx, [ebp - 0xb0]
call fcn.0040a590
lea ecx, [ebp - 0x80]
call fcn.0040a590
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc8]
call fcn.0040a590
lea ecx, [ebp - 0x50]
call fcn.0040a590
lea ecx, [ebp - 0x68]
call fcn.0040a590
lea ecx, [ebp - 0x98]
call fcn.0040a590
lea ecx, [ebp - 0x2c]
call fcn.0040a590
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.004a057b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040c8e0
call fcn.0040a2f0
int3