Function at 0x424670
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597828
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp dword [edi + 4], 0
jne 0x4246bb
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
xor eax, eax
mov dword [ebp - 0x14], eax
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4246dc
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov edi, dword [eax]
cmp edi, eax
je 0x424778
lea ebx, [ebx]
mov edx, dword [edi + 8]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x1c], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x42475e
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x42474f
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x42474f
mov ecx, dword [ebp - 0x20]
call fcn.0040c3c0
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x424747
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x42475e
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040c1c0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [edi]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x14], ecx
cmp edi, dword [eax]
jne 0x424700
jmp 0x42477a
xor ecx, ecx
add ecx, 2
push ecx
mov dword [ebp - 0x14], ecx
call fcn.00550341
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x4247a0
push eax
call fcn.005527f2
add esp, 4
jmp 0x4248f5
mov eax, dword [ebp - 0x14]
push eax
push 0
push edi
call fcn.00559380
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x14], edi
mov eax, dword [eax]
mov edi, dword [eax]
cmp edi, eax
je 0x424896
mov edx, dword [edi + 8]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x24], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x42481f
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x424810
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x424810
mov ecx, dword [ebp - 0x1c]
call fcn.0040c3c0
mov dword [ebp - 0x1c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x424808
mov esi, dword [ebp - 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x42481f
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040c1c0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
lea edx, [eax + eax]
mov dword [ebp - 0x1c], edx
test edx, edx
js 0x424929
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x424850
push edx
lea ecx, [ebp - 0x10]
call fcn.0040c110
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push edx
push esi
push dword [ebp - 0x14]
call fcn.00559410
push dword [esi - 8]
push esi
call fcn.00551cd2
add esp, 0x14
test eax, eax
js 0x424929
cmp eax, dword [esi - 8]
jg 0x424929
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x1c]
mov edi, dword [edi]
add eax, 2
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
cmp edi, dword [eax]
jne 0x4247c1
cmp byte [ebp + 8], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x28]
movdqu xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x48], eax
jne 0x4248be
mov eax, 0x40
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x20]
call fcn.005527f2
xor eax, eax
add esp, 4
cmp dword [ebp - 0x36], eax
cmovne edi, eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424916
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040c390
int3