Function at 0x412ee0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5458a9
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5ec938]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x224], edi
call fcn.00438f15
xor ebx, ebx
push ebx
push edi
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], ebx
call fcn.00438fbc
cmp eax, ebx
je 0x41311c
push 0xd4a4
call fcn.0042c875
add esp, 4
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x412f68
mov ecx, eax
call fcn.00428bf0
mov esi, eax
jmp 0x412f6a
xor esi, esi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 0
mov word [ebp - 0x218], ax
call fcn.0052c850
push edi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0052cd4a
mov eax, dword [esi]
mov edx, dword [eax + 4]
add esp, 0x18
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call edx
cmp eax, ebx
jne 0x412fd5
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.00438f47
xor eax, eax
jmp 0x413133
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
push str.FILE
push str._UDHLDFile_
mov ecx, esi
call eax
cmp eax, ebx
jne 0x413014
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
jmp 0x413112
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
cmp ecx, ebx
jle 0x413006
xor edi, edi
mov ecx, dword [edi + eax + 0x290]
push 2
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0xdd9c
call fcn.00426ad0
mov eax, dword [ebp - 0x21c]
inc ebx
add edi, 0x71c
cmp ebx, dword [eax]
jl 0x413022
mov edx, dword [esi]
mov edi, dword [ebp - 0x224]
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
xor ebx, ebx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push str.FOLDER
push str._UDHLDFile_
mov ecx, esi
call edx
cmp eax, ebx
jne 0x41309d
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
jmp 0x41311c
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
cmp ecx, ebx
jle 0x413085
mov ecx, dword [ebp - 0x220]
add ecx, 0xdd9c
mov dword [ebp - 0x220], ecx
xor edi, edi
mov edx, dword [edi + eax + 0x294]
mov eax, dword [edi + eax + 0x290]
mov ecx, dword [ebp - 0x220]
push edx
push eax
call fcn.00428060
mov eax, dword [ebp - 0x21c]
inc ebx
add edi, 0x71c
cmp ebx, dword [eax]
jl 0x4130bd
mov edx, dword [esi]
mov edi, dword [ebp - 0x224]
push eax
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
call fcn.00438f47
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 - 0x10]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 4