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

Disassembly:
sub esp, 0x354
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], esi
xor eax, eax
mov byte [esp + 0x1c], 0
mov ecx, 0x40
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x260], 0
mov ecx, 0x40
lea edi, [esp + 0x261]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
xor eax, eax
mov ecx, 0x4f
lea edi, [esp + 0x124]
mov dword [esp + 0x120], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x380]
xor ebp, ebp
cmp eax, 3
mov dword [esp + 0x10], 0xffffffff
jne 0x4139f9
mov edi, dword [esp + 0x38c]
lea eax, [esp + 0x120]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0x103
lea edx, [esp + 0x20]
push edi
push edx
mov dword [esp + 0x1c], eax
mov ebp, ecx
call fcn.00443880
lea eax, [esp + 0x28]
push 0x5c
push eax
mov byte [esp + 0x133], bl
call fcn.00444bf0
add esp, 0x14
cmp eax, ebx
push 0x103
je 0x413992
lea edi, [eax + 1]
lea ecx, [esp + 0x264]
push edi
push ecx
call fcn.00443880
mov byte [esp + 0x36f], bl
mov byte [edi], bl
jmp 0x4139b1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x268]
push eax
call fcn.00443880
mov byte [esp + 0x36f], 0
mov byte [esp + 0x28], 0
add esp, 0xc
cmp ebp, ebx
je 0x4139f9
jmp 0x4139c0
mov edx, dword [esp + 0x384]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x128]
push eax
mov ecx, esi
call fcn.00432b70
test al, al
je 0x4139f9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
mov ebp, eax
cmp ebp, ebx
jne 0x4139c0
xor eax, eax
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov dl, byte [esp + 0x398]
test dl, dl
jne 0x413af4
test ebp, ebp
jne 0x413afc
cmp ecx, dword [esp + 0x394]
jg 0x413b1d
jl 0x413a34
cmp eax, dword [esp + 0x390]
jae 0x413b1d
mov edx, dword [esp + 0x368]
add eax, 1
adc ecx, 0
mov edi, ecx
mov ecx, dword [esp + 0x370]
push edi
mov ebx, eax
mov eax, dword [esp + 0x378]
push ebx
push eax
mov eax, dword [esp + 0x378]
push ecx
push eax
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x10]
push 3
call fcn.0041d2e0
mov esi, eax
test esi, esi
je 0x413ccc
cmp esi, 7
je 0x413ccc
cmp esi, 8
je 0x413ccc
cmp esi, 5
je 0x413ccc
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x413b08
test eax, eax
jne 0x413b14
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x413ae7
jmp 0x413ab0
lea edx, [esp + 0x120]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
mov ebp, eax
test ebp, ebp
je 0x413ae7
mov ecx, dword [esp + 0x384]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x128]
push edx
call fcn.00432b70
test al, al
jne 0x413ab0
mov esi, dword [esp + 0x14]
mov eax, ebx
mov ecx, edi
jmp 0x413a01
test ebp, ebp
je 0x413a34
lea edx, [esp + 0x120]
jmp 0x413a3b
mov eax, dword [esp + 0x378]
mov byte [eax], 1
jmp 0x413b1d
mov ecx, dword [esp + 0x37c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x413b2d
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [esp + 0x380], 3
jne 0x413cb3
mov al, byte [esp + 0x388]
test al, al
je 0x413cb3
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413b51
sub eax, edx
lea ebp, [esp + eax + 0x1c]
lea ebx, [esp + 0x120]
sub ebx, ebp
lea edx, [ebx - 1]
push edx
push 0x4523c8
push ebp
call fcn.00443880
add esp, 0xc
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [ebx + ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
mov byte [ebp], 0
je 0x413cb3
test byte [esp + 0x120], 0x10
je 0x413c8d
mov edi, 0x4523c4
lea esi, [esp + 0x14c]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x413c8d
mov edi, 0x4523c0
lea esi, [esp + 0x14c]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x413c8d
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0x150]
push edx
push 0x451c70
push ebx
push ebp
call fcn.0043c2b0
mov eax, dword [esp + 0x3ac]
mov ecx, dword [esp + 0x3a8]
mov edx, dword [esp + 0x3a4]
mov edi, dword [esp + 0x390]
add esp, 0x14
push eax
push ecx
mov ecx, dword [esp + 0x390]
push edx
mov edx, dword [esp + 0x390]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x388]
push ecx
mov ecx, dword [esp + 0x388]
push edx
mov edx, dword [esp + 0x388]
push 3
push edi
push eax
mov eax, dword [esp + 0x390]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0
call fcn.004138b0
mov esi, eax
test esi, esi
je 0x413cc5
cmp esi, 7
je 0x413cc5
cmp esi, 8
je 0x413cc5
cmp esi, 5
je 0x413cc5
mov ecx, dword [esp + 0x378]
cmp byte [ecx], 0
jne 0x413ca8
cmp dword [edi], 0
jne 0x413ca8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x120]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x413ba2
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x354
ret 0x34
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x413cd6
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x413cdc
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x354
ret 0x34