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

Disassembly:
push 0xffffffffffffffff
push 0x497472
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.0043d848
mov edi, dword [esp + 0x2b8]
lea ecx, [esp + 0x18]
push edi
mov dword [esp + 0x2b4], 0
call fcn.00473753
mov eax, dword [0x4bfcf8]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0046dd2d
mov dword [esp + 0x2c], 0x49f858
mov ecx, dword [0x4bfcf8]
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 0x406a9c
push edi
call fcn.00406470
mov edx, dword [0x4c3598]
mov eax, dword [0x4c359c]
add esp, 4
mov ecx, esi
push 0xffff0002
push 0xffff0000
push edx
push eax
push edi
call fcn.00457e80
mov dword [esp + 0x28], eax
call fcn.00406500
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.0046bf92
mov eax, dword [eax]
push 0x4bb818
push eax
call fcn.00446978
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.004736e5
test bl, bl
je 0x406afc
push 0x4bb818
lea ecx, [esp + 0x1c]
call fcn.00473a4d
lea edx, [esp + 0x18]
push 0x4bb814
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0047397a
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b4], 5
call fcn.0047381e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2b0], 4
call fcn.004736e5
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 0x406cb7
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [esp + 0x64], 0x10
je 0x406c1f
mov esi, 0x4bba30
lea eax, [esp + 0x90]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406b99
test cl, cl
je 0x406b95
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406b99
add eax, 2
add esi, 2
test cl, cl
jne 0x406b75
xor eax, eax
jmp 0x406b9e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406c1f
mov esi, 0x4bba2c
lea eax, [esp + 0x90]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406bd2
test cl, cl
je 0x406bce
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406bd2
add eax, 2
add esi, 2
test cl, cl
jne 0x406bae
xor eax, eax
jmp 0x406bd7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406c1f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
push ecx
lea edx, [esp + 0x2c]
push 0x4bba24
push edx
call fcn.0046c3e9
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.0046df35
jmp 0x406ca3
mov edx, dword [esp + 0x80]
push 1
push 0
push 0
push edx
call fcn.00446060
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 [0x4c3588]
cmp eax, 0x64
jbe 0x406ca3
call edi
mov dword [0x4c3588], 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 0x406b5e
lea ecx, [esp + 0x2c]
call fcn.00438a50
mov eax, dword [esp + 0x34]
xor ebx, ebx
test eax, eax
jle 0x406d93
cmp dword [ebp + 4], 2
je 0x406e09
lea ecx, [esp + 0x1c]
push ebx
push ecx
lea ecx, [esp + 0x34]
call 0x3fc7d0
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.004736e5
lea ecx, [esp + 0x1a4]
push ecx
call fcn.00406470
mov edx, dword [esp + 0x2c]
mov eax, dword [0x4c3598]
mov ecx, dword [0x4c359c]
add esp, 4
push 0xffff0002
push edx
push eax
lea edx, [esp + 0x1b0]
push ecx
push edx
call fcn.00406530
mov ecx, dword [esp + 0x54]
add esp, 4
push eax
call fcn.00457e80
mov esi, eax
call fcn.00406500
push ebp
lea eax, [esp + 0x1a8]
push esi
push eax
call fcn.004069d0
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 0x406cce
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push esi
lea edx, [esp + 0x1a8]
push ebx
push edx
call fcn.00406840
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.0045bda0
test esi, esi
jg 0x406e7d
jl 0x406ddd
cmp ebx, 0x3b9aca00
ja 0x406e7d
push 0
push 0x1f
push esi
push ebx
call fcn.00446060
push 0
push 0x3b9aca00
push edx
push eax
call fcn.00445fb0
sub al, 0x20
and eax, 0xff
or eax, 0xe0ff00
mov esi, eax
jmp 0x406ebf
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.004736e5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0046dd60
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 1
call fcn.004736e5
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 0
call fcn.004736e5
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0043d885
xor eax, eax
xor edx, edx
jmp 0x406f52
push 0
push 0x20
push esi
push ebx
call fcn.00446060
push 0x17
push 0x4876e800
push edx
push eax
call fcn.00445fb0
test edx, edx
jl 0x406eae
jg 0x406ea1
cmp eax, 0x1f
jbe 0x406eae
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.0045b140
push 1
push esi
push ebx
mov ecx, ebp
call fcn.0045b140
cmp ebx, 0xffff0000
jne 0x406ef2
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.004736e5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2b0], 2
call fcn.0046dd60
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 1
call fcn.004736e5
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b0], 0
call fcn.004736e5
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0043d885
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