Function at 0x40ba70
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441730
push 0x43e794
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x600
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x610], ecx
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x120], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x588]
push ecx
push 0x104
lea edx, [ebp - 0x120]
push edx
call fcn.004054f0
test eax, eax
jl 0x40bb10
push str.Tasks_
mov ecx, 0x104
mov eax, dword [ebp - 0x588]
sub ecx, eax
push ecx
lea edx, [ebp + eax - 0x120]
push edx
call fcn.004054a0
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp + ecx - 0x120]
mov dword [ebp - 0x1c], edi
mov esi, 0x104
mov eax, edi
mov edx, str..job
sub edx, edi
mov cl, byte [edx + eax]
test cl, cl
je 0x40bb45
mov byte [eax], cl
inc eax
dec esi
jne 0x40bb38
test esi, esi
jne 0x40bb4a
dec eax
mov byte [eax], 0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x124], ebx
cmp ebx, 0xffffffff
je 0x40bdf7
mov esi, 0x104
mov eax, edi
lea edx, [ebp - 0x23c]
sub edx, edi
mov cl, byte [edx + eax]
test cl, cl
je 0x40bb8e
mov byte [eax], cl
inc eax
dec esi
jne 0x40bb81
xor ecx, ecx
cmp esi, ecx
jne 0x40bb95
dec eax
mov byte [eax], 0
test byte [ebp - 0x268], 0x10
jne 0x40bdda
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 4], ecx
push 0x44a5c8
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov edx, eax
mov dword [ebp - 0x26c], edx
test edx, edx
jne 0x40bbee
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
jmp 0x40bdda
mov byte [ebp - 0x57c], 0
mov ecx, 0xc2
xor eax, eax
lea edi, [ebp - 0x57b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x103
mov dword [ebp - 0x5c4], ecx
lea eax, [ebp - 0x478]
mov dword [ebp - 0x5c0], eax
test ecx, ecx
jbe 0x40bc39
mov word [eax], 0x41
add eax, 2
mov dword [ebp - 0x5c0], eax
dec ecx
mov dword [ebp - 0x5c4], ecx
jmp 0x40bc1e
push edx
push 0x206
push 1
lea ecx, [ebp - 0x478]
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x270], eax
cmp eax, 0x103
jge 0x40bc78
cmp word [ebp + eax*2 - 0x478], 0
jne 0x40bc75
mov word [ebp + eax*2 - 0x478], 0x41
inc eax
jmp 0x40bc53
mov esi, 0x104
mov dword [ebp - 0x5c8], esi
lea edx, [ebp - 0x120]
mov dword [ebp - 0x5dc], edx
mov dword [ebp - 0x5d8], esi
lea eax, [ebp - 0x57c]
mov dword [ebp - 0x5d4], eax
xor edi, edi
mov dword [ebp - 0x5d0], edi
test esi, esi
je 0x40bcd0
mov cl, byte [edx]
test cl, cl
je 0x40bccc
mov byte [eax], cl
inc eax
mov dword [ebp - 0x5d4], eax
inc edx
mov dword [ebp - 0x5dc], edx
dec esi
mov dword [ebp - 0x5d8], esi
jmp 0x40bca9
test esi, esi
jne 0x40bce2
dec eax
mov dword [ebp - 0x5d4], eax
mov edi, 0x8007007a
mov dword [ebp - 0x5d0], edi
mov byte [eax], 0
mov dword [ebp - 0x5cc], edi
mov edx, dword [ebp - 0x610]
lea ebx, [edx + 0x478]
mov dword [ebp - 0x60c], ebx
mov esi, dword [ebx + 4]
mov dword [ebp - 0x5e8], esi
mov dword [ebp - 0x5e0], esi
mov dword [ebp - 0x608], esi
mov dword [ebp - 0x5ec], esi
mov edi, dword [esi + 4]
mov dword [ebp - 0x5fc], edi
mov eax, 0x314
mov dword [ebp - 0x5f8], eax
mov dword [ebp - 0x5f4], eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x5f0], eax
test esi, esi
mov ecx, esi
jne 0x40bd49
mov ecx, eax
mov dword [eax], ecx
test edi, edi
jne 0x40bd51
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov dword [ebp - 0x5ec], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 0x600], ecx
mov dword [ecx], eax
lea edi, [eax + 8]
mov dword [ebp - 0x604], edi
test edi, edi
je 0x40bd82
mov ecx, 0xc3
lea esi, [ebp - 0x57c]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 8]
mov dword [ebp - 0x5e4], eax
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x26c], 0
jmp 0x40bdc4
mov dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x128]
mov ebx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x268]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40bb72
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret