Function at 0x4050d0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f4cf
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x473b80]
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 edi, edi
push 0x24c
lea eax, [ebp - 0x308]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x30c], edi
call fcn.00449a10
add esp, 0xc
mov dword [ebp - 0x31c], edi
mov dword [ebp - 0x318], edi
mov dword [ebp - 0x314], edi
mov dword [ebp - 4], edi
xor ecx, ecx
push edi
mov word [ebp - 0x68], cx
push 0x4678b8
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], edi
call fcn.00403570
mov ecx, esi
lea ebx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.00404c50
mov dword [ebp - 0x320], eax
lea edx, [ebp - 0x68]
push edx
mov ecx, esi
lea ebx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.00404b40
add esp, 4
push eax
mov eax, 0x465d90
lea edi, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00402970
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x320]
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00408750
mov edi, 8
cmp dword [ebp - 0x8c], edi
jb 0x4051c7
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00444884
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
cmp dword [ebp - 0xa8], edi
jb 0x4051f9
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00444884
add esp, 4
xor eax, eax
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], ax
cmp dword [ebp - 0x70], edi
jb 0x405226
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00444884
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], dx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x54], edi
jb 0x40524e
mov eax, dword [ebp - 0x68]
push eax
call fcn.00444884
add esp, 4
lea edx, [ebp - 0x30]
mov dword [ebp - 0x58], ebx
xor ecx, ecx
push edx
mov ebx, esi
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], cx
call fcn.004034d0
add esp, 4
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x40527b
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x405292
push 0x5c
push 1
lea ecx, [ebp - 0x30]
call fcn.00403810
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x40529d
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x30c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4052e9
cmp dword [ebp - 0x1c], edi
jb 0x4052c3
mov eax, dword [ebp - 0x30]
push eax
call fcn.00444884
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x38], edi
jb 0x405446
mov edx, dword [ebp - 0x4c]
push edx
jmp 0x40543e
mov bl, 0xb
jmp 0x4052f0
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.0040b490
add esp, 0xc
mov ecx, eax
lea edi, [ebp - 0x31c]
mov byte [ebp - 4], bl
call fcn.00407850
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x70], 8
jb 0x405333
mov eax, dword [ebp - 0x84]
push eax
call fcn.00444884
add esp, 4
lea ecx, [ebp - 0x30c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4052f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x318]
mov ebx, dword [ebp - 0x31c]
mov ecx, esi
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
push esi
push ebx
call fcn.004089f0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x4053b1
mov esi, dword [ebp - 0x31c]
mov edx, dword [ebp + 8]
lea eax, [ebx + edx]
cmp eax, edi
jae 0x4053ab
cmp dword [esi + 0x14], 8
jb 0x40539a
mov eax, dword [esi]
jmp 0x40539c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
add esi, 0x1c
cmp ebx, edi
jb 0x405386
mov esi, dword [ebp - 0x318]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jb 0x4053c7
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00444884
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x38], edi
jb 0x4053ed
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00444884
add esp, 4
mov eax, dword [ebp - 0x31c]
xor ecx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
test eax, eax
je 0x405446
mov edi, eax
cmp eax, esi
je 0x40543d
lea ecx, [ecx]
cmp dword [edi + 0x14], 8
jb 0x405427
mov edx, dword [edi]
push edx
call fcn.00444884
mov eax, dword [ebp - 0x31c]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
mov word [edi], cx
add edi, 0x1c
cmp edi, esi
jne 0x405410
push eax
call fcn.00444884
add esp, 4
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.00444627
mov esp, ebp
pop ebp
ret