Function at 0x5e58fc
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x57
push 0
push 0
dec ecx
jne 0x5e5905
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a78c
lea eax, [ebp - 0xc]
mov edx, dword [0x5e796c]
call fcn.0040bc08
mov esi, dword [0x6042e8]
xor eax, eax
push ebp
push 0x5e5fdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x5e5953
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x5e5f5b
mov eax, edx
test eax, eax
je 0x5e5966
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5e597e
lea eax, [ebp - 4]
mov edx, 0x5e5ff8
call fcn.0040b6d0
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
lea eax, [esi + 8]
mov ecx, dword [ebp - 4]
mov edx, 0x5e6008
call fcn.0040b728
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 4]
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.0040b5c8
mov eax, dword [ebp - 0x270]
call fcn.005e4efc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov edx, dword [0x5e7938]
call fcn.0040d96c
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x5e7938]
call fcn.0040d848
add esp, 4
xor ebx, ebx
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x27c]
mov ecx, 0x5e6034
mov edx, dword [ebp - 4]
call fcn.0040b728
mov edx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
call fcn.0040b5c8
mov eax, dword [ebp - 0x278]
lea edx, [ebp - 0x274]
call fcn.005d4710
mov eax, dword [ebp - 0x274]
call fcn.0040b26c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x5e5f5b
jmp 0x5e5a51
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [esi], 0
jne 0x5e5a47
cmp byte [esi + 1], 0
je 0x5e5a6a
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose
jmp 0x5e5f5b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5e5c91
cmp eax, ebx
jle 0x5e5c91
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x280]
mov edx, 0x5e603c
call fcn.0040b43c
je 0x5e5c73
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x284]
mov edx, 0x5e6044
call fcn.0040b43c
je 0x5e5c73
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x288]
call fcn.005e4e20
test al, al
jne 0x5e5c73
mov eax, dword [ebp - 0x26c]
mov edx, eax
and edx, 0x10
cmp edx, 0x10
jne 0x5e5c2a
and eax, 0x400
cmp eax, 0x400
jne 0x5e5bf9
push dword [ebp - 4]
lea eax, [ebp - 0x298]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b578
push dword [ebp - 0x298]
push 0x5e5ff8
lea eax, [ebp - 0x294]
mov edx, 3
call fcn.0040b7b0
mov edx, dword [ebp - 0x294]
lea eax, [ebp - 0x290]
call fcn.0040b5c8
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x28c]
call fcn.00425314
mov eax, dword [ebp - 0x28c]
call fcn.005e38cc
test al, al
jne 0x5e5c73
lea eax, [ebp - 0x2a0]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x29c]
call fcn.004252d8
mov eax, dword [ebp - 0x29c]
mov edx, dword [ebp + 8]
call fcn.005e3808
test al, al
jne 0x5e5c73
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 8]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x26c]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + edi*4 + 0x10], 1
inc ebx
jmp 0x5e5c73
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 8]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x26c]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + edi*4 + 0x10], 1
inc ebx
jmp 0x5e5c73
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 8]
lea eax, [eax + edi*4]
lea edx, [ebp - 0x240]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x26c]
mov dword [eax + edi*4 + 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x250]
mov dword [eax + edi*4 + 8], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24c]
mov dword [eax + edi*4 + 0xc], edx
mov eax, dword [ebp - 8]
mov byte [eax + edi*4 + 0x10], 0
inc ebx
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5e5a51
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose
mov dword [ebp - 0xc], ebx
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x5e5e23
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
cmp byte [edx + eax*4 + 0x10], 0
jne 0x5e5e1b
jmp 0x5e5cc9
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [esi], 0
jne 0x5e5cbf
cmp byte [esi + 1], 0
jne 0x5e5f5b
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 0x2a8]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
mov ecx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a4]
mov edx, dword [ebp - 4]
call fcn.0040b728
mov eax, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x16]
lea edx, [ebp - 0x15]
call fcn.005e565c
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
add eax, 1
adc edx, 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
cmp byte [ebp - 0x15], 0
je 0x5e5d4a
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
add eax, 1
adc edx, 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
cmp byte [ebp - 0x16], 0
je 0x5e5d72
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
add eax, 1
adc edx, 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
mov eax, dword [0x604874]
mov edx, dword [esi + 0x30]
mov dword [eax], edx
mov edx, dword [esi + 0x34]
mov dword [eax + 4], edx
cmp byte [ebp - 0x17], 0
je 0x5e5d8a
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
add eax, 1
adc edx, 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov eax, dword [0x604874]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5e5da6
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
cmp byte [ebp - 0xd], 0
je 0x5e5dca
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
add eax, 1
adc edx, 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
jmp 0x5e5e0f
push 1
push 0
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 8]
xor edx, edx
call fcn.0040d0b8
push edx
push eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 4]
inc ebx
dec edi
jne 0x5e5cac
mov edi, dword [ebp - 0xc]
dec edi
test edi, edi
jl 0x5e5f30
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
cmp byte [edx + eax*4 + 0x10], 0
je 0x5e5f28
jmp 0x5e5e4f
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [esi], 0
jne 0x5e5e45
cmp byte [esi + 1], 0
jne 0x5e5f5b
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
and eax, 0x400
cmp eax, 0x400
jne 0x5e5ee1
lea eax, [ebp - 0x2ac]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
mov edx, dword [ebp - 0x2ac]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x2b4]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
push dword [ebp - 0x2b4]
push 0x5e5ff8
lea eax, [ebp - 0x2b0]
mov edx, 3
call fcn.0040b7b0
mov eax, dword [ebp - 0x2b0]
mov cl, 1
movzx edx, byte [ebp - 0xd]
call fcn.005e58fc
jmp 0x5e5f28
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x2bc]
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
push dword [ebp - 0x2bc]
push 0x5e5ff8
lea eax, [ebp - 0x2b8]
mov edx, 3
call fcn.0040b7b0
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
movzx edx, byte [ebp - 0xd]
call fcn.005e58fc
inc ebx
dec edi
jne 0x5e5e32
lea eax, [ebp - 8]
mov edx, dword [0x5e7938]
call fcn.0040d96c
cmp byte [ebp - 0xe], 0
je 0x5e5f5b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e5fe3
lea eax, [ebp - 0x2bc]
mov edx, 7
call fcn.0040a6f8
lea eax, [ebp - 0x2a0]
mov edx, 2
call fcn.0040a768
lea eax, [ebp - 0x298]
mov edx, 2
call fcn.0040a6f8
lea eax, [ebp - 0x290]
mov edx, 5
call fcn.0040a768
lea eax, [ebp - 0x27c]
call fcn.0040a698
lea eax, [ebp - 0x278]
mov edx, 3
call fcn.0040a768
lea eax, [ebp - 0xc]
mov edx, dword [0x5e796c]
call fcn.0040bfd4
lea eax, [ebp - 4]
call fcn.0040a698
pop eax
jmp eax