Function at 0x4158e0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b919
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x60c9c8]
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.0043f9a5
xor ebx, ebx
push ebx
push edi
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], ebx
call fcn.0043fa4c
cmp eax, ebx
je 0x415b1c
push 0xd4a4
call fcn.00432a1f
add esp, 4
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x415968
mov ecx, eax
call fcn.0042ea30
mov esi, eax
jmp 0x41596a
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.00531fb0
push edi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00532f33
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 0x4159d5
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.0043f9d7
xor eax, eax
jmp 0x415b33
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 0x415a14
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
jmp 0x415b12
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
cmp ecx, ebx
jle 0x415a06
xor edi, edi
mov ecx, dword [edi + eax + 0x310]
push 2
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0xd9b8
call fcn.0042c750
mov eax, dword [ebp - 0x21c]
inc ebx
add edi, 0x140c
cmp ebx, dword [eax]
jl 0x415a22
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 0x415a9d
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 0x415b1c
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
cmp ecx, ebx
jle 0x415a85
mov ecx, dword [ebp - 0x220]
add ecx, 0xd9b8
mov dword [ebp - 0x220], ecx
xor edi, edi
mov edx, dword [edi + eax + 0x314]
mov eax, dword [edi + eax + 0x310]
mov ecx, dword [ebp - 0x220]
push edx
push eax
call fcn.0042dea0
mov eax, dword [ebp - 0x21c]
inc ebx
add edi, 0x140c
cmp ebx, dword [eax]
jl 0x415abd
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.0043f9d7
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.00531f97
mov esp, ebp
pop ebp
ret 4