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

Disassembly:
push 0xffffffffffffffff
push 0x45018b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x304]
push eax
mov ebx, 0x453ab4
lea esi, [esp + 0x68]
call fcn.0040f650
add esp, 4
mov byte [esp + 0x2fc], 1
mov eax, dword [esp + 0x68]
mov ebx, 8
cmp dword [esp + 0x7c], ebx
jae 0x406574
lea eax, [esp + 0x68]
lea ecx, [esp + 0x9c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4065cc
cmp dword [esp + 0x7c], ebx
jb 0x40659f
mov edx, dword [esp + 0x68]
push edx
call fcn.0043642d
add esp, 4
xor eax, eax
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
jb 0x4069b9
mov eax, dword [esp + 0x308]
push eax
jmp 0x4069b1
xor ebp, ebp
mov edi, 7
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x30c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x304], 2
call fcn.00404120
push 1
push 0x453abc
lea ecx, [esp + 0x50]
call fcn.00403cb0
lea eax, [esp + 0xc8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x406615
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x50]
call fcn.00403cb0
lea edx, [esp + 0xc8]
push 0x104
push edx
call fcn.00436731
lea eax, [esp + 0xd0]
add esp, 8
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
lea edx, [eax + 2]
jmp 0x406670
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x406670
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xcc]
push eax
lea esi, [esp + 0x88]
call fcn.00403d80
mov byte [esp + 0x2fc], 3
mov ecx, 0x453ac0
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4066ce
cmp dx, bp
je 0x4066ca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4066ce
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4066a8
xor eax, eax
jmp 0x4066d3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4068de
mov ecx, 0x453ac4
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40670d
cmp dx, bp
je 0x406709
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40670d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4066e7
xor eax, eax
jmp 0x406712
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4068de
test byte [esp + 0x9c], 0x10
je 0x4067f4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x6c]
mov word [ecx + 4], bp
call fcn.00404120
mov ecx, dword [esp + 0x40]
call fcn.004064f0
mov esi, eax
cmp esi, ebp
je 0x4068de
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x98], ebx
jb 0x40677e
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0043642d
add esp, 4
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
jb 0x4067a7
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043642d
add esp, 4
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
jb 0x4067c7
mov eax, dword [esp + 0x68]
push eax
call fcn.0043642d
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x4067ed
mov ecx, dword [esp + 0x308]
push ecx
call fcn.0043642d
add esp, 4
mov eax, esi
jmp 0x4069bb
mov eax, dword [esp + 0x94]
push str.autorun.inf
mov edi, 0xb
lea ecx, [esp + 0x84]
call fcn.00404850
test eax, eax
je 0x406860
mov eax, dword [esp + 0x94]
cmp eax, 5
jb 0x406860
push 4
lea edx, [esp + 0x84]
lea ecx, [eax - 4]
push edx
lea esi, [esp + 0x34]
call fcn.0040c1c0
mov ecx, eax
mov byte [esp + 0x2fc], 4
mov eax, dword [ecx + 0x14]
or dword [esp + 0x18], 1
push str..inf
mov edi, 4
call fcn.00404850
test eax, eax
jne 0x406860
mov bl, 1
jmp 0x406862
xor bl, bl
mov dword [esp + 0x2fc], 3
test byte [esp + 0x18], 1
je 0x40688d
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x44], 8
jb 0x40688d
mov eax, dword [esp + 0x30]
push eax
call fcn.0043642d
add esp, 4
test bl, bl
je 0x4068d4
mov ecx, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x4068a4
lea ecx, [esp + 0x4c]
mov edi, dword [esp + 0x24]
call fcn.004069f0
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x4068bb
lea eax, [esp + 0x4c]
push eax
push str.Found_INF___s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
mov ebx, esi
jmp 0x4068d9
mov ebx, 8
mov edi, 7
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406920
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x406920
cmp eax, 0x12
je 0x406920
push eax
push str.FindNextFile_returned_an_unexpected_error._Ignoring_error
push 0x463650
mov eax, 1
call fcn.0042a920
add esp, 0xc
cmp dword [esp + 0x98], ebx
jb 0x406939
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0043642d
add esp, 4
mov byte [esp + 0x2fc], 1
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
jb 0x40696a
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043642d
add esp, 4
cmp dword [esp + 0x1c], 0x12
jne 0x4065cc
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x7c], ebx
jb 0x406993
mov eax, dword [esp + 0x68]
push eax
call fcn.0043642d
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x4069b9
mov ecx, dword [esp + 0x308]
push ecx
call fcn.0043642d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.00434b37
add esp, 0x2ec
ret 0x1c