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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd057
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x52c1c8]
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
mov dword [ebp - 0x10], esp
push str.policywaitstop.
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 0x1fd], 0
push eax
call fcn.004025e0
push 0x140
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004d8600
add esp, 0x18
lea ecx, [ebp - 0x1fc]
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x208], esi
cmp esi, 0xffffffff
je 0x41b2cc
nop word [eax + eax]
test dword [ebp - 0x1fc], 0x400
jne 0x41b2a9
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x1d0]
push 0x504d9c
push eax
call esi
test eax, eax
je 0x41b2a9
push 0x504da0
lea eax, [ebp - 0x1d0]
push eax
call esi
test eax, eax
je 0x41b2a9
test byte [ebp - 0x1fc], 0x10
jne 0x41b2a9
cmp byte [ebp - 0x1d0], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x41af5e
xor ecx, ecx
jmp 0x41af70
lea ecx, [ebp - 0x1d0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41af67
sub ecx, edx
push ecx
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004222a0
push 0x504da4
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004025e0
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00402580
add esp, 0x18
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x41afd3
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00423630
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x90], 0xf
push eax
push str.stop_taskid:
push 0x531bb0
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
call fcn.004018f0
add esp, 8
push eax
call fcn.004018f0
push eax
call fcn.00404d50
lea eax, [ebp - 0x2c]
push eax
call fcn.00423820
add esp, 0x10
test al, al
je 0x41b0a9
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41b044
mov eax, dword [ecx]
jmp 0x41b046
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.00422170
lea eax, [ebp - 0x44]
push eax
call fcn.0041d310
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x41b06e
mov eax, dword [eax]
push eax
call fcn.004b6920
mov eax, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x41b090
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004237a0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.TaskPathDeleteDir:_s_n
call fcn.0041e1f0
add esp, 8
xor eax, eax
mov dword [ebp - 0x204], eax
cmp eax, 0x32
jge 0x41b269
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push str.fileTrace
call fcn.00413130
lea ecx, [ebp - 0x264]
call fcn.004b7970
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.004b95e0
push str.delete_from_fileTrace_where_taskId_
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
call fcn.00433190
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x5c]
push eax
push 1
call fcn.00432f40
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00433730
push str.policywaitstop_
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004025e0
add esp, 0xc
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00402580
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
cmp eax, 0x10
jb 0x41b176
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00423630
sub esp, 0x18
mov dword [ebp - 0x30], 0xf
mov ecx, esp
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41b1a5
mov eax, dword [ecx]
jmp 0x41b1a7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.00422170
lea eax, [ebp - 0xbc]
push eax
call fcn.0041d310
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41b1d1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xa8]
cmp eax, 8
jb 0x41b1f6
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.004237a0
lea eax, [ebp - 0x1d0]
push eax
push str.stop_taskid_s_n
call fcn.0041e1f0
mov eax, dword [ebp - 0x78]
add esp, 8
mov byte [ebp - 0x1fd], 1
mov byte [0x530e49], 1
cmp eax, 0x10
jb 0x41b233
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00423630
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call fcn.00432d00
lea ecx, [ebp - 0x220]
call fcn.00432d60
lea ecx, [ebp - 0x264]
call fcn.004b7c00
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x41b27e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00423630
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x41b2a9
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00423630
mov esi, dword [ebp - 0x208]
lea eax, [ebp - 0x1fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41aef0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x60]
movzx esi, byte [ebp - 0x1fd]
cmp eax, 0x10
jb 0x41b2e8
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00423630
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
cmp ecx, 0x10
jb 0x41b30f
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00423630
mov eax, esi
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.004bedf5
mov esp, ebp
pop ebp
ret