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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x461ecc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp + 0x30], 0xf
mov eax, 0x2aaaaaab
mov dword [ebp + 0x2c], 0
mov ebx, ecx
mov byte [ebp + 0x1c], 0
mov esi, dword [edi + 4]
sub esi, dword [edi]
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0x18], eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x34]
push 0
push ebx
mov dword [ebp + 0x48], 0xf
mov dword [ebp + 0x44], 0
mov byte [ebp + 0x34], 0
call fcn.00411300
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 0x34]
mov byte [ebp + 0x68], 0x2f
call fcn.00410a50
mov esi, eax
cmp esi, 0xffffffff
je 0x42020f
inc esi
lea eax, [ebp + 0x4c]
push esi
push 0
push eax
mov ecx, ebx
call fcn.0040edf0
mov dword [ebp + 0x64], eax
lea ecx, [ebp + 0x1c]
cmp ecx, eax
je 0x420196
mov eax, dword [ebp + 0x30]
cmp eax, 0x10
jb 0x420179
inc eax
push eax
push dword [ebp + 0x1c]
call fcn.00412370
push dword [ebp + 0x64]
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
call fcn.004116e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x4201af
inc eax
lea ecx, [ebp + 0x4c]
push eax
push dword [ebp + 0x4c]
call fcn.00412370
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x4c]
mov ecx, ebx
push eax
call fcn.0040edf0
mov esi, eax
lea eax, [ebp + 0x34]
cmp eax, esi
je 0x4201f6
mov eax, dword [ebp + 0x48]
cmp eax, 0x10
jb 0x4201db
inc eax
lea ecx, [ebp + 0x34]
push eax
push dword [ebp + 0x34]
call fcn.00412370
push esi
lea ecx, [ebp + 0x34]
mov dword [ebp + 0x48], 0xf
mov dword [ebp + 0x44], 0
mov byte [ebp + 0x34], 0
call fcn.004116e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x42020f
inc eax
lea ecx, [ebp + 0x4c]
push eax
push dword [ebp + 0x4c]
call fcn.00412370
cmp dword [ebx + 0x14], 0x10
jb 0x420217
mov ebx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x17c]
push eax
push ebx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4203aa
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x4c]
call fcn.00413950
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040ecf0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x42026c
inc eax
lea ecx, [ebp + 0x4c]
push eax
push dword [ebp + 0x4c]
call fcn.00412370
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x42039a
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x4c]
call fcn.00413950
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 4]
cmp esi, ecx
jae 0x4202dd
mov eax, dword [edi]
cmp eax, esi
ja 0x4202dd
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ecx, dword [edi + 8]
jne 0x4202cb
push 1
mov ecx, edi
call fcn.00410640
mov eax, dword [edi]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4202f8
push eax
jmp 0x4202f3
cmp ecx, dword [edi + 8]
jne 0x4202eb
push 1
mov ecx, edi
call fcn.00410640
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4202f8
push esi
call fcn.0040f3a0
add dword [edi + 4], 0x18
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x42033e
mov ecx, dword [ebp + 0x4c]
inc eax
cmp eax, 0x1000
jb 0x420335
test cl, 0x1f
jne 0x4203a5
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4203a5
sub ecx, eax
cmp ecx, 4
jb 0x4203a5
cmp ecx, 0x23
ja 0x4203a5
mov ecx, eax
push ecx
call fcn.00446ee6
add esp, 4
mov ecx, dword [edi + 4]
cmp dword [ecx - 4], 0x10
jb 0x42034c
mov edx, dword [ecx - 0x18]
jmp 0x42034f
lea edx, [ecx - 0x18]
mov eax, dword [ecx - 8]
add ecx, 0xffffffe8
add eax, edx
cmp dword [ecx + 0x14], 0x10
jb 0x42035f
mov ecx, dword [ecx]
xor edx, edx
mov esi, eax
sub esi, ecx
cmp ecx, eax
cmova esi, edx
test esi, esi
je 0x42037e
nop
cmp byte [ecx], 0x5c
jne 0x420378
mov byte [ecx], 0x2f
inc edx
inc ecx
cmp edx, esi
jne 0x420370
lea eax, [ebp - 0x17c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420282
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
jmp 0x4203b0
call fcn.0044ce5a
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x74], 0
je 0x420529
push 0x4768a8
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x4c]
call fcn.00413950
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x17c]
cmp dword [ebp + 0x60], 0x10
lea eax, [ebp + 0x4c]
push ecx
cmovae eax, dword [ebp + 0x4c]
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x420514
test byte [ebp - 0x17c], 0x10
je 0x4204fa
mov ecx, 0x4747f0
lea eax, [ebp - 0x150]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x420430
test dl, dl
je 0x42042c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x420430
add eax, 2
add ecx, 2
test dl, dl
jne 0x420410
xor eax, eax
jmp 0x420435
sbb eax, eax
or eax, 1
test eax, eax
je 0x4204fa
mov ecx, 0x476d48
lea eax, [ebp - 0x150]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x420468
test dl, dl
je 0x420464
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x420468
add eax, 2
add ecx, 2
test dl, dl
jne 0x420448
xor eax, eax
jmp 0x42046d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4204fa
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp + 0x1c]
lea ecx, [ebp - 0x3c]
call fcn.00413950
push 0x2f
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp]
call fcn.00413b20
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004137e0
add esp, 0xc
mov eax, dword [ebp + 0x14]
cmp eax, 0x10
jb 0x4204c1
inc eax
lea ecx, [ebp]
push eax
push dword [ebp]
call fcn.00412370
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.0040f2f0
push 1
mov edx, edi
lea ecx, [ebp - 0x24]
call fcn.004200b0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040f2f0
lea eax, [ebp - 0x17c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x4203f1
push esi
call ebx
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x420529
inc eax
lea ecx, [ebp + 0x4c]
push eax
push dword [ebp + 0x4c]
call fcn.00412370
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x48]
setne bl
cmp eax, 0x10
jb 0x42055a
inc eax
lea ecx, [ebp + 0x34]
push eax
push dword [ebp + 0x34]
call fcn.00412370
mov ecx, dword [ebp + 0x30]
mov dword [ebp + 0x48], 0xf
mov dword [ebp + 0x44], 0
mov byte [ebp + 0x34], 0
cmp ecx, 0x10
jb 0x420581
inc ecx
push ecx
push dword [ebp + 0x1c]
lea ecx, [ebp + 0x1c]
call fcn.00412370
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x6c]
pop ebp
ret