Function at 0x5b0540
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x6412b6
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1cc]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00403e20
mov dword [esp + 0x1c4], ebx
mov eax, dword [esp + 0x50]
cmp eax, 2
jae 0x5b05d6
cmp dword [esp + 0x54], 0x10
jb 0x5b05cf
mov eax, dword [esp + 0x40]
push eax
call fcn.0061c19a
add esp, 4
xor al, al
jmp 0x5b07f2
lea esi, [eax - 1]
cmp esi, eax
jbe 0x5b05e6
call fcn.0061c63f
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov edi, 0x10
cmp dword [esp + 0x54], edi
jae 0x5b05f9
lea ecx, [esp + 0x40]
cmp byte [ecx + esi], 0x5c
jne 0x5b061f
lea esi, [eax - 1]
cmp esi, eax
jbe 0x5b060b
call fcn.0061c63f
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x5b0619
lea eax, [esp + 0x40]
cmp byte [eax + esi], 0x2f
je 0x5b062f
push 1
push 0x66f784
lea ecx, [esp + 0x44]
call fcn.0041e3e0
lea ecx, [esp + 0x3c]
push ecx
mov edi, 0x674744
lea esi, [esp + 0x24]
call fcn.0041e290
mov edi, 0x10
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x5b0654
mov eax, dword [eax + 4]
jmp 0x5b0657
add eax, 4
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [esp + 0x38], edi
mov esi, eax
mov dword [esp + 0x18], esi
jb 0x5b067c
mov eax, dword [esp + 0x24]
push eax
call fcn.0061c19a
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
jne 0x5b06ac
cmp dword [esp + 0x54], edi
jb 0x5b05cf
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0061c19a
add esp, 4
xor al, al
jmp 0x5b07f2
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test byte [esp + 0x74], 0x10
je 0x5b0748
mov edi, 0x6674b4
lea esi, [esp + 0xa0]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x5b0791
mov edi, 0x6674b0
lea esi, [esp + 0xa0]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5b0791
lea ecx, [esp + 0x3c]
push ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x5c]
call fcn.0041e290
add esp, 4
push eax
mov byte [esp + 0x1c8], 1
call fcn.005b0540
add esp, 4
test al, al
sete bl
mov byte [esp + 0x1c4], 0
cmp dword [esp + 0x70], 0x10
jb 0x5b073d
mov edx, dword [esp + 0x5c]
push edx
call fcn.0061c19a
add esp, 4
test bl, bl
je 0x5b0791
mov byte [esp + 0x17], 0
jmp 0x5b0791
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0xa4]
lea esi, [esp + 0x5c]
call fcn.0041e290
mov eax, dword [esp + 0x60]
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x70], esi
jae 0x5b0773
lea eax, [esp + 0x5c]
push eax
call ebp
test eax, eax
jne 0x5b077e
mov byte [esp + 0x17], al
cmp dword [esp + 0x70], esi
jb 0x5b0791
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0061c19a
add esp, 4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5b06b2
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x5b07c7
mov eax, dword [eax + 4]
jmp 0x5b07ca
add eax, 4
push eax
call fcn.006396ea
add esp, 4
test eax, eax
jne 0x5b07db
mov byte [esp + 0x17], al
cmp dword [esp + 0x54], esi
jb 0x5b07ee
mov edx, dword [esp + 0x40]
push edx
call fcn.0061c19a
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0061efd1
add esp, 0x1b4
ret