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

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x52c
test eax, eax
jle 0x426e68
push ebx
mov ebx, dword [esp + 0x538]
push ebp
push esi
mov eax, ebx
push edi
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426b91
mov ebp, dword [esp + 0x540]
mov edi, ebp
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426ba4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x14]
push eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [esp + 0x10], eax
mov eax, ebp
mov edi, ecx
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426be0
sub eax, ecx
mov ecx, eax
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426bf0
sub eax, esi
sub ecx, eax
test edi, edi
mov byte [ecx + ebp], dl
jne 0x426ce2
mov ebx, dword [esp + 0x550]
lea ecx, [ecx]
test byte [esp + 0x14], 0x10
je 0x426c30
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x426c10
jmp 0x426ce6
test ebx, ebx
je 0x426c7b
lea edx, [esp + 0x154]
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x426c40
lea eax, [esp + 0x40]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426c50
lea edi, [esp + 0x154]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426c61
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x426c90
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x40]
mov byte [esp + eax + 0x154], cl
inc eax
test cl, cl
jne 0x426c80
mov esi, dword [esp + 0x548]
test esi, esi
je 0x426cca
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x158]
push eax
push ecx
call fcn.004e2f90
add esp, 0xc
test eax, eax
je 0x426cca
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [edx + 0x18], ecx
mov edx, dword [eax + 0x44]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x14], ecx
mov dword [esi], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x426c10
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x426cf2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426cf5
mov ecx, dword [0x5e7eec]
lea edx, [esp + 0x14]
push edx
push ebp
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor edx, edx
cmp edi, 0xffffffff
mov eax, ebp
mov dword [esp + 0x10], edi
sete dl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426d24
sub eax, esi
test edx, edx
mov byte [eax + ebp - 3], cl
jne 0x426e58
mov ebx, dword [esp + 0x54c]
test byte [esp + 0x14], 0x10
je 0x426e44
cmp byte [esp + 0x40], 0x2e
je 0x426e44
lea eax, [esp + 0x40]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426d60
mov edi, ebp
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426d70
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
je 0x426db4
mov eax, dword [ebx]
push 0
push ebp
push eax
call fcn.004e2f90
add esp, 0xc
test eax, eax
je 0x426db4
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x18], edx
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0x14], edx
mov dword [ebx], eax
test ebp, ebp
je 0x426df9
cmp byte [ebp], 0
je 0x426df9
push ebp
call fcn.00423a30
mov ecx, ebp
add esp, 4
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x426dd0
sub ecx, esi
test ecx, ecx
jg 0x426de9
test eax, eax
jle 0x426df9
mov word [ebp], 0x5c
jmp 0x426df9
cmp byte [ecx + ebp - 1], 0x5c
je 0x426df9
mov byte [ecx + ebp], 0x5c
mov byte [ecx + ebp + 1], 0
mov eax, dword [esp + 0x554]
mov ecx, dword [esp + 0x548]
mov edx, dword [esp + 0x544]
dec eax
push eax
push 1
push ebx
push ecx
push edx
push ebp
call fcn.00426b70
push 0x5c
push ebp
call fcn.005ccc30
add esp, 0x20
test eax, eax
je 0x426e40
push 0x5c
push ebp
mov byte [eax], 0
call fcn.005ccc30
add esp, 8
test eax, eax
je 0x426e40
mov byte [eax + 1], 0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x426d40
cmp edi, 0xffffffff
je 0x426e64
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x52c
ret