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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45114f
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x469738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2d4], edi
push 0x4576d0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2d8], edi
call fcn.0040eba0
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x406a1e
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x2d0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2dc], eax
cmp eax, 0xffffffff
jne 0x406a6a
cmp dword [ebp - 0x34], esi
jb 0x406a48
mov eax, dword [ebp - 0x48]
push eax
call fcn.004396db
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp + 0x1c], esi
jb 0x406de5
mov edx, dword [ebp + 8]
push edx
jmp 0x406ddd
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp + 8]
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004061d0
push 1
mov eax, 0x4576d8
lea ecx, [ebp - 0x2c]
call fcn.00403690
lea eax, [ebp - 0x2a4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406aa7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a4]
lea ecx, [ebp - 0x2c]
call fcn.00403690
lea edx, [ebp - 0x2a4]
push 0x104
push edx
call fcn.0043a2de
add esp, 8
xor eax, eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406af0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a4]
lea esi, [ebp - 0x64]
call fcn.004065b0
mov byte [ebp - 4], 3
mov ecx, 0x4576dc
lea eax, [ebp - 0x2a4]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406b46
cmp dx, di
je 0x406b42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406b46
add eax, 4
add ecx, 4
cmp dx, di
jne 0x406b20
xor eax, eax
jmp 0x406b4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x406d1f
mov ecx, 0x4576e0
lea eax, [ebp - 0x2a4]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406b86
cmp dx, di
je 0x406b82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406b86
add eax, 4
add ecx, 4
cmp dx, di
jne 0x406b60
xor eax, eax
jmp 0x406b8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x406d1f
test byte [ebp - 0x2d0], 0x10
je 0x406c58
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2e4], esp
push edi
lea eax, [ebp - 0x2c]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004061d0
mov ecx, dword [ebp - 0x2e0]
call fcn.004069b0
mov esi, eax
cmp esi, edi
je 0x406d1f
mov edx, dword [ebp - 0x2dc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x50], 8
jb 0x406bf7
mov eax, dword [ebp - 0x64]
push eax
call fcn.004396db
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
jb 0x406c15
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004396db
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
jb 0x406c33
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004396db
add esp, 4
xor edx, edx
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
jb 0x406c51
mov eax, dword [ebp + 8]
push eax
call fcn.004396db
add esp, 4
mov eax, esi
jmp 0x406de7
mov eax, dword [ebp - 0x54]
push str.autorun.inf
mov edi, 0xb
lea ecx, [ebp - 0x64]
call fcn.00404ab0
test eax, eax
je 0x406cb0
mov eax, dword [ebp - 0x54]
cmp eax, 5
jb 0x406cb0
push 4
lea ecx, [eax - 4]
lea esi, [ebp - 0x80]
lea edx, [ebp - 0x64]
call fcn.0040c700
mov ecx, eax
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x10]
or dword [ebp - 0x2d4], 1
push str..inf
mov edi, 4
call fcn.00404ab0
test eax, eax
jne 0x406cb0
mov bl, 1
jmp 0x406cb2
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x2d4], 1
je 0x406cdb
and dword [ebp - 0x2d4], 0xfffffffe
cmp dword [ebp - 0x6c], 8
jb 0x406cdb
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004396db
add esp, 4
test bl, bl
je 0x406d1a
mov edx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x406cef
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2e0]
call fcn.00406e10
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x406d05
lea eax, [ebp - 0x2c]
push eax
push str.Found_INF___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
xor edi, edi
lea ebx, [edi + 7]
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406d66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2d8], eax
cmp eax, edi
je 0x406d66
cmp eax, 0x12
je 0x406d66
mov ecx, eax
push ecx
push str.FindNextFile_returned_an_unexpected_error._Ignoring_error
push 0x46a9d4
mov eax, 1
call fcn.0042d150
add esp, 0xc
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x406d7c
mov edx, dword [ebp - 0x64]
push edx
call fcn.004396db
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x18], esi
jb 0x406d9d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004396db
add esp, 4
cmp dword [ebp - 0x2d8], 0x12
jne 0x406a6a
mov ecx, dword [ebp - 0x2dc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x34], esi
jb 0x406dc8
mov edx, dword [ebp - 0x48]
push edx
call fcn.004396db
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp + 0x1c], esi
jb 0x406de5
mov ecx, dword [ebp + 8]
push ecx
call fcn.004396db
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438351
mov esp, ebp
pop ebp
ret 0x1c