Function at 0x451b10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632f06
mov eax, dword fs:[0]
push eax
sub esp, 0xcdc
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x320
mov dword [ebp - 0xce8], eax
lea eax, [ebp - 0xcb0]
push 0
push eax
call fcn.005d7e20
push 0x320
lea eax, [ebp - 0x990]
push 0
push eax
call fcn.005d7e20
xorps xmm0, xmm0
mov byte [ebp - 0x38], 0
push 0x208
lea eax, [ebp - 0x468]
mov byte [ebp - 0x14], 0
push 0
push eax
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.005d7e20
push 0x208
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.005d7e20
push 0x208
lea eax, [ebp - 0x670]
push 0
push eax
call fcn.005d7e20
add esp, 0x3c
lea eax, [ebp - 0x260]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push str._s.tmp
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00450410
add esp, 0x14
lea eax, [ebp - 0xcb0]
mov ecx, edi
push eax
lea eax, [ebp - 0x990]
push eax
push 0
push esi
call fcn.00451ec0
mov esi, eax
test esi, esi
je 0x451e9a
mov esi, dword [ebp - 0xce8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 3
push 0
push 0x779
push esi
call edi
lea ecx, [ebp - 0x990]
lea eax, [ebp - 0x34]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451c70
test dl, dl
je 0x451c6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451c70
add eax, 2
add ecx, 2
test dl, dl
jne 0x451c50
xor eax, eax
jmp 0x451c75
sbb eax, eax
or eax, 1
test eax, eax
je 0x451e9c
push 8
push 0
push 0x779
push esi
call edi
lea eax, [ebp - 0xcb0]
push eax
lea eax, [ebp - 0xce0]
push eax
call fcn.004502b0
cmp dword [ebp - 0xccc], 8
lea eax, [ebp - 0xce0]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0xce0]
push eax
lea eax, [ebp - 0xcc8]
push eax
call fcn.004505a0
add esp, 0x10
cmp dword [ebp - 0xcb4], 0x10
lea ecx, [ebp - 0x468]
push esi
lea eax, [ebp - 0xcc8]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0xcc8]
push ecx
push eax
lea ecx, [ebp - 0xce1]
call fcn.0045abc0
test eax, eax
je 0x451d3c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00450410
add esp, 8
lea ecx, [ebp - 0x990]
lea eax, [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451d33
test dl, dl
je 0x451d2f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451d33
add eax, 2
add ecx, 2
test dl, dl
jne 0x451d13
xor eax, eax
jmp 0x451d38
sbb eax, eax
or eax, 1
test eax, eax
je 0x451d66
lea ecx, [ebp - 0xcc8]
xor esi, esi
call fcn.00450230
lea ecx, [ebp - 0xce0]
call fcn.00450270
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x451e7d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x670]
push str._s.bak
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.005e448d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.005e448d
mov eax, dword [ebp - 0xcb4]
add esp, 0x10
mov byte [ebp - 4], 0
mov esi, 1
cmp eax, 0x10
jb 0x451e11
mov ecx, dword [ebp - 0xcc8]
inc eax
cmp eax, 0x1000
jb 0x451e08
test cl, 0x1f
je 0x451de4
call fcn.005e06e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x451df0
call fcn.005e06e1
sub ecx, eax
cmp ecx, 4
jae 0x451dfc
call fcn.005e06e1
cmp ecx, 0x23
jbe 0x451e06
call fcn.005e06e1
mov ecx, eax
push ecx
call fcn.0062ce30
add esp, 4
mov eax, dword [ebp - 0xccc]
mov dword [ebp - 0xcb4], 0xf
mov dword [ebp - 0xcb8], 0
mov byte [ebp - 0xcc8], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x451e51
inc eax
lea ecx, [ebp - 0xce0]
push eax
push dword [ebp - 0xce0]
call fcn.00451380
xor eax, eax
mov dword [ebp - 0xccc], 7
mov word [ebp - 0xce0], ax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0xcd0], 0
call fcn.00450560
add esp, 4
mov eax, dword [ebp - 0xce8]
push 0x64
push 0
push 0x779
push eax
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bd4a0
mov esp, ebp
pop ebp
ret 8