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

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xffffffffffffffff
push 0x44fc26
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x46c8b0]
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00417b8f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402afd
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00417b8f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402b2a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
cmp dword [ebx + 0xc], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
jle 0x402bbe
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x402b53
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x402c32
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebx + 0xc]
jge 0x402c32
mov esi, dword [ebx + 8]
add esi, eax
mov ecx, 0x45
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x108]
push edx
push eax
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x1c]
push str._s__d__d_r_n
push edx
call fcn.004013d0
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi - 0xc]
add esp, 0x14
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00401350
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], 0x114
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
jl 0x402b50
lea ecx, [ebp - 0x24]
call fcn.00417b57
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004193d5
mov edi, dword [ebp + 0x120]
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x1001
push edi
lea ecx, [ebp - 0x34]
call fcn.0041977f
push 0x48
call fcn.00417343
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x402c37
push 0
push 0x1000
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.00418659
mov ebx, eax
jmp 0x402c39
call fcn.00417a1e
xor ebx, ebx
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00418132
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, ebx
call fcn.004185a4
mov ecx, ebx
call fcn.00418476
lea ecx, [ebp - 0x34]
call fcn.00419373
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test ebx, ebx
je 0x402c84
mov ecx, ebx
call fcn.004185fa
push ebx
call fcn.00417373
add esp, 4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004194a9
mov dword [ebp - 4], 3
jmp 0x402cb9
mov byte [ebp - 4], 2
call fcn.00417b6d
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ce2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.00433eb7
add ebp, 0x118
mov esp, ebp
pop ebp
ret 4