Function at 0x435280
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 1
mov dword [esp + 0x18], edi
call fcn.00434770
mov ebp, eax
xor ebx, ebx
test ebp, ebp
jle 0x43532f
push ebx
push 1
mov ecx, edi
call fcn.00434830
lea esi, [eax + 0x5c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x435326
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x435326
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x435301
mov edx, dword [0x4b7084]
add eax, 0xfffffff4
cmp eax, edx
je 0x435326
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4352f7
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [0x4b7080]
mov dword [esi], ecx
jmp 0x435326
mov edx, 0x4c712c
test edx, edx
jne 0x43530e
xor eax, eax
jmp 0x435319
push 0x4c712c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4c712c
push eax
mov ecx, esi
call fcn.00406cb0
inc ebx
cmp ebx, ebp
jl 0x4352a0
push 0
mov ecx, edi
call fcn.00434770
mov ebp, eax
xor ebx, ebx
test ebp, ebp
jle 0x4353d3
push ebx
push 0
mov ecx, edi
call fcn.00434830
lea esi, [eax + 0x5c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4353ca
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4353ca
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x4353a5
mov edx, dword [0x4b7084]
add eax, 0xfffffff4
cmp eax, edx
je 0x4353ca
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43539b
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [0x4b7080]
mov dword [esi], ecx
jmp 0x4353ca
mov edx, 0x4c712c
test edx, edx
jne 0x4353b2
xor eax, eax
jmp 0x4353bd
push 0x4c712c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4c712c
push eax
mov ecx, esi
call fcn.00406cb0
inc ebx
cmp ebx, ebp
jl 0x435344
push 2
mov ecx, edi
call fcn.00434770
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x10], esi
jle 0x4354de
push esi
push 2
mov ecx, edi
call fcn.00434830
lea ebx, [eax + 0x5c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4354cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4354cd
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x43545b
mov edx, dword [0x4b7084]
add eax, 0xfffffff4
cmp eax, edx
je 0x4354cd
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x435451
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [0x4b7080]
mov dword [ebx], ecx
jmp 0x4354cd
mov edx, 0x4c712c
test edx, edx
jne 0x435468
xor ebp, ebp
jmp 0x435475
push 0x4c712c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x435482
cmp ebp, dword [eax - 4]
jle 0x435495
mov ecx, ebx
call fcn.00406f50
push ebp
mov ecx, ebx
call fcn.00406c50
test eax, eax
je 0x4354cd
lea eax, [ebp + ebp]
lea ecx, [ebp + ebp + 2]
cmp ecx, eax
jb 0x4354c0
mov edi, dword [ebx]
mov ecx, eax
mov edx, ecx
mov esi, 0x4c712c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4353ee
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret