Function at 0x456ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5619b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
lea edi, [esi + 0x44]
mov dword [ebp - 0x24], edi
cmp dword [edi], 0
mov dword [ebp - 0x28], vtable.CLockMgr_class_CMutexWrapper_.0
mov dword [ebp - 0x20], 1
je 0x456b3a
call dword [sym.imp.USER32.dll_InSendMessage]
test eax, eax
mov ecx, 0x2710
mov eax, 0xffffffff
cmovne eax, ecx
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 2
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00456580
mov ecx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x456b5f
test eax, eax
je 0x456c88
cmp byte [esi + 0x40], 0
jne 0x456c85
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004567c0
cmp dword [ebp - 0x14], 0
jb 0x456c85
ja 0x456b90
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x18], eax
jbe 0x456c85
mov edi, edi
cmp byte [esi + 0x40], 0
jne 0x456c85
mov esi, dword [esi + 4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x18], ecx
lea edx, [ecx + 1]
test edx, edx
js 0x456cfc
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x456bec
push edx
lea ecx, [esi + 8]
call fcn.00402590
mov eax, dword [esi + 8]
xor edx, edx
mov ecx, dword [ebp - 0x18]
mov word [eax + ecx*2], dx
lea edx, [ecx + 1]
mov eax, dword [esi + 8]
cmp edx, dword [eax - 8]
jg 0x456cfc
mov dword [eax - 0xc], edx
xor ecx, ecx
mov eax, dword [esi + 8]
mov word [eax + edx*2], cx
mov eax, dword [esi + 8]
mov dword [ebp - 0x40], eax
mov eax, 0x214
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x36], ecx
mov dword [ebp - 0x44], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x456c85
push dword [ebp + 8]
lea ecx, [esi + 0xc]
push esi
mov esi, dword [ebp - 0x1c]
mov edx, dword [esi + 8]
call fcn.004595f0
mov edx, dword [esi + 8]
add esp, 8
push dword [ebp + 8]
lea ecx, [edx - 0xc]
push ecx
call fcn.00459690
add dword [esi + 8], 0xfffffff4
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00456580
test edx, edx
ja 0x456b90
jb 0x456c85
cmp eax, dword [ebp + 0x10]
ja 0x456b90
mov edi, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov dword [ebp - 0x28], vtable.CLockMgr_class_CMutexWrapper_.0
test eax, eax
je 0x456ca0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x456cc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0xc]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x456ce4
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.004027b0
int3