Function at 0x452620
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f239f
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ecx + 0x64]
test esi, esi
je 0x4526c3
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
mov dword [ebp - 0x54], esi
mov eax, esi
test esi, esi
je 0x452892
mov edi, dword [eax + 8]
mov esi, dword [esi]
mov dword [ebp - 0x64], edi
cmp dword [edi + 0x18], ebx
jne 0x4526bf
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x452a8d
mov ecx, dword [edi + 0x10]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4526ae
test dx, dx
je 0x4526aa
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4526ae
add ecx, 4
add eax, 4
test dx, dx
jne 0x452688
xor eax, eax
jmp 0x4526b3
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x4526e3
mov ecx, dword [ebp - 0x50]
test esi, esi
jne 0x452660
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [edi + 0x3c]
test ebx, ebx
je 0x452845
nop
mov edi, ebx
test ebx, ebx
je 0x452892
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x4c]
mov ebx, dword [ebx]
push 0x6445a8
mov dword [ebp - 0x60], edi
call fcn.00404b00
lea eax, [ebp - 0x4c]
add edi, 0xc
push eax
mov ecx, edi
call fcn.00427b90
mov esi, eax
cmp esi, dword [edi]
je 0x452734
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00427300
test al, al
je 0x452736
mov esi, dword [edi]
cmp dword [edi], esi
mov edx, dword [ebp - 0x4c]
setne byte [ebp - 0x14]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452757
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x14], 0
je 0x4527e9
push 0x6445a8
lea ecx, [ebp - 0x48]
call fcn.00404b00
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00427b90
mov esi, eax
cmp esi, dword [edi]
je 0x452797
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00427300
test al, al
je 0x4527be
lea eax, [ebp - 0x48]
push ecx
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, edi
call fcn.00428e50
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
call fcn.00428f10
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4527e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
push dword [eax + 4]
call fcn.00413460
mov eax, dword [edi]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], eax
mov dword [edi + 4], 0
test ecx, ecx
je 0x45283a
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x452831
mov eax, dword [ecx]
push 3
call dword [eax + 4]
jmp 0x45283a
push eax
call fcn.0047d17e
add esp, 4
test ebx, ebx
jne 0x4526f0
mov edi, dword [ebp - 0x64]
lea ecx, [edi + 0x38]
call fcn.0049e1b2
mov al, byte [ebp - 0x14]
mov ebx, dword [ebp - 0x50]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebx + 0x80]
mov eax, edx
mov ecx, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
push eax
call fcn.0045f030
mov eax, dword [ebx + 0x7c]
add esp, 8
cmp dword [ebx + 0x80], eax
je 0x4528b4
mov ecx, dword [edi + 0x20]
cmp dword [eax], ecx
je 0x452897
add eax, 4
cmp dword [ebx + 0x80], eax
jne 0x452881
jmp 0x4528b4
call fcn.0047dc5e
mov edx, dword [ebx + 0x80]
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.005c60d0
add esp, 0xc
add dword [ebx + 0x80], 0xfffffffc
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4528c8
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x4528d1
push eax
call fcn.0047d17e
add esp, 4
push dword [ebp - 0x54]
lea ecx, [ebx + 0x60]
call fcn.004c1a05
push 0
push 0x63d93a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0040aea0
mov dword [ebp - 4], 2
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x452a40
nop
mov edi, esi
test esi, esi
je 0x452892
mov eax, dword [ebx + 0xc]
mov esi, dword [esi]
mov edi, dword [edi + 8]
test eax, eax
je 0x452a8d
mov ecx, dword [edi + 0x10]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x452956
test dx, dx
je 0x452952
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x452956
add ecx, 4
add eax, 4
test dx, dx
jne 0x452930
xor eax, eax
jmp 0x45295b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x452a38
cmp dword [edi + 0x1c], 0
je 0x452a38
mov edx, dword [edi + 0x20]
lea ecx, [ebp - 0x44]
call fcn.0045fe70
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
call fcn.0045e330
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.0045e410
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x4529dd
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x4529c2
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040b000
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0042cc20
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x4529f2
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040b000
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp eax, 0x10
jb 0x452a1f
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.0040b000
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x452a38
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040b000
test esi, esi
jne 0x452910
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040ab00
lea ecx, [ebx + 0x98]
call fcn.0044f950
mov eax, dword [ebp - 0x18]
add esp, 0x18
cmp eax, 0x10
jb 0x452a86
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040b000
mov al, 1
jmp 0x4526c5
push 0x80004005
call fcn.004050a0
int3