Function at 0x416260
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430071
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x43c3f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, str.null
jmp 0x4162a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4162c6
cmp dx, bx
je 0x4162c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4162c6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4162a0
xor eax, eax
jmp 0x4162cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
je 0x4164d9
lea eax, [ebp - 0xb4]
push eax
call fcn.004018d0
and dword [ebp - 0xc4], 0xfffffe00
mov dword [ebp - 0xc0], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0xb8], esp
mov esi, esp
call fcn.0040d9b0
add eax, 0x10
mov dword [esi], eax
call fcn.00415930
add esp, 4
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x416330
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00404540
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.00404f00
mov edx, dword [ebp - 0x84]
mov esi, 0x10
cmp dword [ebp - 0x70], esi
jae 0x41636f
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xcc]
lea ecx, [ecx + edx]
push eax
lea ebx, [ebp - 0xb4]
call fcn.00401a00
mov byte [ebp - 4], 3
mov bl, al
cmp dword [ebp - 0x1c], esi
jb 0x41639e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a1c6
add esp, 4
test bl, bl
je 0x4164bf
cmp byte [ebp - 0xc4], 0
je 0x4164bf
mov edx, dword [0x43d174]
mov eax, dword [edx + 0xc]
mov ecx, 0x43d174
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xb8], esi
mov byte [ebp - 4], 5
xor edi, edi
jmp 0x4163e0
movsx eax, byte [ebp - 0xc4]
cmp eax, 7
ja case.0x4163f0.0
jmp dword [eax*4 + 0x416524]
mov eax, dword [ebp - 0xcc]
cmp dword [eax + 8], 0
je case.0x4163f0.0
mov ecx, dword [eax + 4]
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], ecx
call fcn.00407940
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14]
inc eax
jmp 0x416430
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 8]
cmp edi, eax
jae case.0x4163f0.0
push edi
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00406680
push str.filename
push eax
call fcn.004068d0
mov ebx, dword [eax]
lea eax, [ebp - 0xb8]
call fcn.00415180
mov esi, dword [ebp - 0xb8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x416499
push 1
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0xbc], esp
mov ebx, esp
call fcn.0040d9b0
add eax, 0x10
mov dword [ebx], eax
call fcn.00413b80
inc edi
jmp 0x4163e0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4164bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 1
call fcn.00406240
lea edi, [ebp - 0xb4]
call fcn.00403ff0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00419bd7
mov esp, ebp
pop ebp
ret 4