Function at 0x450f30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f208e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x674ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov esi, dword [ebx + 0x64]
or edi, 0xffffffff
test esi, esi
je 0x4511b9
nop dword [eax + eax]
mov eax, esi
test esi, esi
je 0x451212
mov edi, dword [eax + 8]
mov esi, dword [esi]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov ebx, dword [edi + 0x3c]
test ebx, ebx
je 0x451186
mov edi, ebx
test ebx, ebx
je 0x451212
mov edi, dword [edi + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x28], edi
call fcn.0047d277
test eax, eax
je 0x451208
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, 0x6445a8
mov dword [ebp - 4], 0
shr eax, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x450ff0
mov eax, 0x6445a8
movzx esi, ax
push esi
call fcn.0047dec2
test eax, eax
je 0x450fff
push esi
push eax
lea ecx, [ebp - 0x18]
call fcn.00404fd0
jmp 0x450fff
push 3
push 0x6445a8
lea ecx, [ebp - 0x18]
call fcn.004049c0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
add edi, 0xc
push eax
mov ecx, edi
call fcn.00427b90
mov esi, eax
cmp esi, dword [edi]
je 0x45102b
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00427300
test al, al
je 0x45102d
mov esi, dword [edi]
cmp dword [edi], esi
mov edx, dword [ebp - 0x18]
setne byte [ebp - 0xd]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45104e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x451127
call fcn.0047d277
test eax, eax
je 0x451208
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne 0x45109d
mov eax, 0x6445a8
movzx esi, ax
push esi
call fcn.0047dec2
test eax, eax
je 0x4510ac
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00404fd0
jmp 0x4510ac
push 3
push 0x6445a8
lea ecx, [ebp - 0x14]
call fcn.004049c0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00427b90
mov esi, eax
cmp esi, dword [edi]
je 0x4510d5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00427300
test al, al
je 0x4510fc
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x24]
push eax
call fcn.00428f10
mov esi, dword [ebp - 0x24]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451127
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
mov ecx, edi
mov eax, dword [edi]
push dword [eax + 4]
call fcn.00413460
mov eax, dword [edi]
mov ecx, dword [ebp - 0x28]
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 0x451178
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x45116f
mov eax, dword [ecx]
push 3
call dword [eax + 4]
jmp 0x451178
push eax
call fcn.0047d17e
add esp, 4
test ebx, ebx
jne 0x450f90
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
lea ecx, [edi + 0x38]
call fcn.0049e1b2
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4511a2
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax + 4]
jmp 0x4511ab
push eax
call fcn.0047d17e
add esp, 4
test esi, esi
jne 0x450f70
mov ebx, dword [ebp - 0x20]
or edi, 0xffffffff
lea ecx, [ebx + 0x60]
call fcn.0049e1b2
mov eax, dword [ebx + 0x7c]
lea esi, [ebx + 0x98]
mov dword [ebx + 0x80], eax
lea ecx, [ebp - 0x20]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ecx, 0x63ca44
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x451217
test dx, dx
je 0x451204
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x451217
add eax, 4
add ecx, 4
test dx, dx
jne 0x4511e2
xor eax, eax
jmp 0x45121c
push 0x80004005
call fcn.004050a0
call fcn.0047dc5e
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x20]
test eax, eax
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x451239
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x451244
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret