Function at 0x451e00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b9b30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x76a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x4c]
lea ebx, [edi + 0x4c]
cmp dword [eax - 0xc], 0
mov eax, dword [edi + 0x1c]
jne 0x451ed9
mov edx, dword [edi + 0x20]
lea ecx, [ebp - 0x14]
sub edx, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
push edx
mov edx, dword [edi + 0xc]
push eax
push dword [edi + 0x10]
call fcn.00452030
add esp, 0xc
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx]
sub edx, 0x10
mov dword [ebp - 0x1c], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
je 0x451fb3
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x18], ecx
jl 0x451ec6
mov ecx, dword [eax - 0x10]
cmp ecx, dword [edx]
jne 0x451ec6
push dword [ebp - 0x10]
call fcn.00428ba0
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451eb9
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
jmp 0x451fb3
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.00429270
mov eax, dword [ebp - 0x14]
jmp 0x451fb3
mov ecx, dword [edi + 0x20]
sub ecx, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov edx, dword [edi + 0xc]
push ecx
push eax
push dword [edi + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00452030
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, dword [ebx]
test eax, eax
je 0x452025
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x451f36
test si, si
je 0x451f32
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x451f36
add ecx, 4
add edx, 4
test si, si
jne 0x451f10
xor ecx, ecx
jmp 0x451f3b
sbb ecx, ecx
or ecx, 1
or esi, 0xffffffff
test ecx, ecx
je 0x451fb3
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx]
sub edx, 0x10
mov dword [ebp - 0x14], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
je 0x451fb3
cmp dword [edx + 0xc], 0
lea ebx, [edx + 0xc]
mov dword [ebp - 0x18], ebx
lea ebx, [edi + 0x4c]
jl 0x451fa5
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x451fa5
push dword [ebp - 0x1c]
call fcn.00428ba0
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x451f9b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx], eax
jmp 0x451fb0
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.00429270
mov eax, dword [ebp - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x451fcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x14], 0
call fcn.00450ea0
mov ecx, dword [edi + 4]
mov eax, ecx
sub eax, dword [edi]
sar eax, 2
test eax, eax
je 0x451ff0
mov ecx, dword [ecx - 4]
jmp 0x451ff2
xor ecx, ecx
call fcn.004525d0
mov esi, eax
test esi, esi
je 0x452010
mov edx, dword [ebx]
mov ecx, esi
call fcn.00452680
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004222a0
int3