Function at 0x45a5e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70f5f0
mov eax, dword fs:[0]
push eax
sub esp, 0xcb4
mov eax, dword [0x7f9c40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xcb0]
mov edi, dword [ebp + 0xc]
push 0x320
push 0
push eax
call fcn.006e1410
push 0x320
lea eax, [ebp - 0x990]
push 0
push eax
call fcn.006e1410
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.006e1410
push 0x208
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.006e1410
push 0x208
lea eax, [ebp - 0x670]
push 0
push eax
call fcn.006e1410
add esp, 0x3c
lea ecx, [ebp - 0xcb1]
call fcn.004b0770
push 0x208
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
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.00509e50
lea eax, [ebp - 0xcb0]
push eax
lea eax, [ebp - 0x990]
push eax
push 0
push esi
call fcn.004aee00
mov esi, eax
add esp, 0x24
test esi, esi
je 0x45a854
lea ecx, [ebp - 0x990]
lea eax, [ebp - 0x34]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45a730
test dl, dl
je 0x45a72c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45a730
add eax, 2
add ecx, 2
test dl, dl
jne 0x45a710
xor eax, eax
jmp 0x45a735
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45a740
xor esi, esi
jmp 0x45a854
test edi, edi
je 0x45a74d
push 0
push 0
call edi
add esp, 8
lea eax, [ebp - 0xcc0]
mov dword [ebp - 0xcc0], edi
push eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0xcbc], 0
push eax
lea eax, [ebp - 0xcb0]
mov dword [ebp - 0xcb8], 1
push eax
call fcn.004b0810
add esp, 0xc
test eax, eax
je 0x45a7cd
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00509e50
add esp, 8
lea ecx, [ebp - 0x990]
lea eax, [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45a7c4
test dl, dl
je 0x45a7c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45a7c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x45a7a4
xor eax, eax
jmp 0x45a7c9
sbb eax, eax
or eax, 1
test eax, eax
je 0x45a7e4
lea eax, [ebp - 0x468]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x45a854
push 0x65
jmp 0x45a84d
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.006ecf1d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.006ecf1d
lea eax, [ebp - 0x260]
mov esi, 1
push eax
call fcn.0050a590
add esp, 0x14
test edi, edi
je 0x45a854
push 0x64
push 0
call edi
add esp, 8
lea ecx, [ebp - 0xcb1]
call fcn.004b0790
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.006def69
mov esp, ebp
pop ebp
ret 8