Function at 0x466000
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511610
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x58fa2c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x560], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x570], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x56c], eax
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x574], edi
mov dword [ebp - 0x564], 1
mov dword [ebp - 4], 0
mov dword [edi], 0
lea ebx, [esi + 0x3c]
cmp byte [ebx], 0
jne 0x466094
call fcn.0044c760
push eax
mov ecx, esi
call fcn.00467b50
test eax, eax
jne 0x466094
mov dword [edi], 1
mov eax, 1
jmp 0x4663c2
push 0x104
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.004b8570
push 0x104
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.004b8570
push 0x104
push 0
lea eax, [ebp - 0x344]
push eax
call fcn.004b8570
mov eax, dword [0x591a54]
movzx esi, ax
inc eax
mov dword [0x591a54], eax
lea eax, [ebp - 0x568]
push eax
call fcn.004c60d9
add esp, 0x28
mov edi, dword [ebp - 0x568]
lea eax, [ebp - 0x55c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 0x54e]
shl ecx, 0x10
add ecx, esi
mov esi, dword [ebp - 0x560]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x60]
add eax, 0x2058
push eax
push ecx
push edi
push str.snapshot_04X_04X._s
lea eax, [ebp - 0x344]
push eax
call fcn.004482a0
add esp, 0x14
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x60]
add ecx, 0x1d4c
lea edx, [ebp - 0x13c]
mov al, byte [ecx]
mov byte [edx], al
lea ecx, [ecx + 1]
lea edx, [edx + 1]
test al, al
jne 0x466143
lea eax, [ebp - 0x13c]
push eax
call fcn.00488700
add esp, 4
lea edx, [ebp - 0x344]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x466168
sub edx, esi
lea edi, [ebp - 0x13c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x466178
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x2e
lea eax, [ebp - 0x13c]
push eax
call fcn.004b8c50
add esp, 8
mov esi, eax
test esi, esi
je 0x4661dc
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
lea eax, [ebp - 0x13c]
push eax
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x560]
call fcn.00464f60
lea ecx, [ebp - 0x24]
lea edx, [esi + 1]
mov eax, ecx
sub edx, eax
nop
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4661d0
lea ecx, [ebp - 0x240]
sub ecx, ebx
mov al, byte [ebx]
mov byte [ecx + ebx], al
lea ebx, [ebx + 1]
test al, al
jne 0x4661e4
lea eax, [ebp - 0x240]
push eax
call fcn.00488700
add esp, 4
lea edx, [ebp - 0x344]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x466207
sub edx, esi
lea edi, [ebp - 0x240]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x466217
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x38]
push eax
push 0x568771
call fcn.0044ac20
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x56c]
mov esi, dword [ebp - 0x570]
push esi
call fcn.00449d40
add esp, 0x1c
test eax, eax
je 0x466360
cmp dword [esi + 0x1fc], 0
jne 0x466275
mov ecx, esi
call fcn.004497c0
push 0
mov ecx, esi
call fcn.0044b2e0
mov ebx, dword [ebp - 0x560]
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
lea edx, [ebp - 0x240]
push edx
lea edx, [ebp - 0x13c]
push edx
call dword [eax + 0x14]
mov dword [ebp - 0x564], eax
test eax, eax
je 0x46633a
inc dword [ebx + 0x150]
add esi, 0x2c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x466321
push 0x104
push eax
lea eax, [ebp - 0x54c]
push eax
call fcn.004b8570
push 0x104
push 0
lea eax, [ebp - 0x448]
push eax
call fcn.004b8570
push 0xffffffffffffffff
lea eax, [ebp - 0x448]
push eax
call fcn.0048b590
lea eax, [ebp - 0x448]
push eax
push esi
push str.Unable_to_delete_file___s__:__s
lea eax, [ebp - 0x54c]
push eax
call fcn.004482a0
mov eax, dword [ebx]
lea ecx, [ebp - 0x54c]
push ecx
push 0x51e620
push 0
push ebx
call dword [eax + 8]
add esp, 0x40
jmp 0x466381
mov eax, dword [ebx]
lea ecx, [ebp - 0x240]
push ecx
push str.DataPush::ProcessDisplayFile_End___s
push 3
push ebx
call dword [eax + 8]
add esp, 0x10
jmp 0x466381
mov ecx, dword [ebx]
lea eax, [ebp - 0x240]
push eax
lea eax, [esi + 0x2c]
push eax
push str.DataPush::ProcessDisplayFile_SendFile___s__s__failed___
push 0
push ebx
call dword [ecx + 8]
mov eax, dword [ebp - 0x574]
mov dword [eax], 1
jmp 0x46637e
mov edx, dword [ebp - 0x560]
mov ecx, dword [edx]
lea eax, [ebp - 0x240]
push eax
lea eax, [esi + 0x2c]
push eax
push str.DataPush::ProcessDisplayFile_CreateFileNewPassword___s__s__failed___
push 0
push edx
call dword [ecx + 8]
add esp, 0x14
lea eax, [ebp - 0x13c]
push eax
call fcn.0048b440
add esp, 4
test eax, eax
je 0x4663b5
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4663b5
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0048d3e0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x564]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4566
mov esp, ebp
pop ebp
ret 0x10