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

Disassembly:
push 0xffffffffffffffff
push 0x4850c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.004418f0
mov edi, dword [esp + 0x2b8]
lea ecx, [esp + 0x18]
push edi
mov dword [esp + 0x2b4], 0
call fcn.0047169a
mov eax, dword [0x4a8c20]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0046bd11
mov dword [esp + 0x2c], 0x48c7f8
mov ecx, dword [0x4a8c20]
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x2c0]
mov eax, dword [esp + 0x2bc]
cmp eax, 0xffff0000
mov byte [esp + 0x2b0], 4
mov esi, dword [ebp + 0x120]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], esi
jne 0x413ffc
push edi
call fcn.004139b0
mov edx, dword [0x4ab1bc]
mov eax, dword [0x4ab1c0]
add esp, 4
mov ecx, esi
push 0xffff0002
push 0xffff0000
push edx
push eax
push edi
call fcn.00459240
mov dword [esp + 0x28], eax
call fcn.00413a40
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.00469f76
mov eax, dword [eax]
push 0x4a5770
push eax
call fcn.0044aa18
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.0047162c
test bl, bl
je 0x41405c
push 0x4a5770
lea ecx, [esp + 0x1c]
call fcn.00471994
lea edx, [esp + 0x18]
push 0x4a576c
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004718c1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b4], 5
call fcn.00471765
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b0], 4
call fcn.0047162c
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x64]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x414217
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
test byte [esp + 0x64], 0x10
je 0x41417f
mov esi, 0x4a5988
lea eax, [esp + 0x90]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4140f9
test cl, cl
je 0x4140f5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4140f9
add eax, 2
add esi, 2
test cl, cl
jne 0x4140d5
xor eax, eax
jmp 0x4140fe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41417f
mov esi, 0x4a5984
lea eax, [esp + 0x90]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414132
test cl, cl
je 0x41412e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414132
add eax, 2
add esi, 2
test cl, cl
jne 0x41410e
xor eax, eax
jmp 0x414137
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41417f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
push ecx
lea edx, [esp + 0x2c]
push fcn.004a597c
push edx
call fcn.0046a3cd
mov edx, dword [ebp + 0x114]
mov ecx, dword [esp + 0x44]
add esp, 0x10
lea eax, [esp + 0x24]
inc edx
push eax
push ecx
lea ecx, [esp + 0x34]
mov dword [ebp + 0x114], edx
call fcn.0046bf19
jmp 0x414203
mov edx, dword [esp + 0x80]
push 1
push 0
push 0
push edx
call fcn.0044a100
mov ecx, dword [esp + 0x84]
xor esi, esi
add eax, ecx
mov ecx, dword [esp + 0x10]
adc edx, esi
mov esi, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x128]
adc esi, edx
add ecx, eax
mov dword [ebp + 0x128], ecx
mov eax, dword [ebp + 0x12c]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x110]
adc eax, edx
inc esi
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x110], esi
call edi
sub eax, dword [0x4ab1ac]
cmp eax, 0x64
jbe 0x414203
call edi
mov dword [0x4ab1ac], eax
mov edx, dword [ebp]
push 0
push 0
push 0x40e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x64]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4140be
lea ecx, [esp + 0x2c]
call fcn.0043cbb0
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
jle 0x4142f3
cmp dword [ebp + 4], 2
je 0x414369
lea ecx, [esp + 0x1c]
push ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.0040c6b0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1a4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.0047162c
lea ecx, [esp + 0x1a4]
push ecx
call fcn.004139b0
mov edx, dword [esp + 0x2c]
mov eax, dword [0x4ab1bc]
mov ecx, dword [0x4ab1c0]
add esp, 4
push 0xffff0002
push edx
push eax
lea edx, [esp + 0x1b0]
push ecx
push edx
call fcn.00413a70
mov ecx, dword [esp + 0x54]
add esp, 4
push eax
call fcn.00459240
mov esi, eax
call fcn.00413a40
push ebp
lea eax, [esp + 0x1a8]
push esi
push eax
call fcn.00413f30
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add esp, 0xc
add edi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edi
adc esi, edx
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], esi
jl 0x41422e
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x1a8]
push ebx
push edx
call fcn.00413da0
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
add esp, 0xc
lea eax, [esp + 0x1a4]
mov ecx, ebp
push 1
push eax
push edi
call fcn.0045d160
test esi, esi
jg 0x4143dd
jl 0x41433d
cmp ebx, 0x3b9aca00
ja 0x4143dd
push 0
push 0x1f
push esi
push ebx
call fcn.0044a100
push 0
push 0x3b9aca00
push edx
push eax
call fcn.0044a050
sub al, 0x20
and eax, 0xff
or eax, 0xe0ff00
mov esi, eax
jmp 0x41441f
mov ecx, dword [ebp]
push 0
push 0
push 0x40e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b0], 3
call fcn.0047162c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0046bd44
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 1
call fcn.0047162c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 0
call fcn.0047162c
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0044192d
xor eax, eax
xor edx, edx
jmp 0x4144b2
push 0
push 0x20
push esi
push ebx
call fcn.0044a100
push 0x17
push 0x4876e800
push edx
push eax
call fcn.0044a050
test edx, edx
jl 0x41440e
jg 0x414401
cmp eax, 0x1f
jbe 0x41440e
mov eax, 0x1f
mov dword [esp + 0x44], 0
or cl, 0xff
xor edx, edx
sub cl, al
mov dh, cl
or edx, 0xe000ff
mov esi, edx
mov ebx, dword [esp + 0x2bc]
push 0
push esi
push ebx
mov ecx, ebp
call fcn.0045c500
push 1
push esi
push ebx
mov ecx, ebp
call fcn.0045c500
cmp ebx, 0xffff0000
jne 0x414452
mov eax, dword [ebp]
push 2
push edi
mov ecx, ebp
call dword [eax + 0xbc]
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b0], 3
call fcn.0047162c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0046bd44
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 1
call fcn.0047162c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 0
call fcn.0047162c
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0044192d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2a8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a4
ret