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

Disassembly:
push 0xffffffffffffffff
push 0x453a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
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, 0x456b24
lea esi, [esp + 0x68]
call fcn.00410820
add esp, 4
mov byte [esp + 0x2fc], 1
mov eax, dword [esp + 0x68]
mov ebx, 8
cmp dword [esp + 0x7c], ebx
jae 0x406f84
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 0x406fdc
cmp dword [esp + 0x7c], ebx
jb 0x406faf
mov edx, dword [esp + 0x68]
push edx
call fcn.00439935
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 0x4073c9
mov eax, dword [esp + 0x308]
push eax
jmp 0x4073c1
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.00404010
push 1
push 0x456b2c
lea ecx, [esp + 0x50]
call fcn.00403f40
lea eax, [esp + 0xc8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x407025
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x50]
call fcn.00403f40
lea edx, [esp + 0xc8]
push 0x104
push edx
call fcn.0043a8e2
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 0x407080
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x407080
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xcc]
push eax
lea esi, [esp + 0x88]
call fcn.004040c0
mov byte [esp + 0x2fc], 3
mov ecx, 0x456b30
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4070de
cmp dx, bp
je 0x4070da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4070de
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4070b8
xor eax, eax
jmp 0x4070e3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4072ee
mov ecx, 0x456b34
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40711d
cmp dx, bp
je 0x407119
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40711d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4070f7
xor eax, eax
jmp 0x407122
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4072ee
test byte [esp + 0x9c], 0x10
je 0x407204
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.00404010
mov ecx, dword [esp + 0x40]
call fcn.00406f00
mov esi, eax
cmp esi, ebp
je 0x4072ee
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x98], ebx
jb 0x40718e
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
jb 0x4071b7
mov edx, dword [esp + 0x4c]
push edx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
jb 0x4071d7
mov eax, dword [esp + 0x68]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x4071fd
mov ecx, dword [esp + 0x308]
push ecx
call fcn.00439935
add esp, 4
mov eax, esi
jmp 0x4073cb
mov eax, dword [esp + 0x94]
push str.autorun.inf
mov edi, 0xb
lea ecx, [esp + 0x84]
call fcn.00405220
test eax, eax
je 0x407270
mov eax, dword [esp + 0x94]
cmp eax, 5
jb 0x407270
push 4
lea edx, [esp + 0x84]
lea ecx, [eax - 4]
push edx
lea esi, [esp + 0x34]
call fcn.0040d470
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.00405220
test eax, eax
jne 0x407270
mov bl, 1
jmp 0x407272
xor bl, bl
mov dword [esp + 0x2fc], 3
test byte [esp + 0x18], 1
je 0x40729d
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x44], 8
jb 0x40729d
mov eax, dword [esp + 0x30]
push eax
call fcn.00439935
add esp, 4
test bl, bl
je 0x4072e4
mov ecx, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x4072b4
lea ecx, [esp + 0x4c]
mov edi, dword [esp + 0x24]
call fcn.00407400
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x4072cb
lea eax, [esp + 0x4c]
push eax
push str.Found_INF___s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0xc
mov ebx, esi
jmp 0x4072e9
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 0x407330
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x407330
cmp eax, 0x12
je 0x407330
push eax
push str.FindNextFile_returned_an_unexpected_error._Ignoring_error
push 0x4676b8
mov eax, 1
call fcn.0042dae0
add esp, 0xc
cmp dword [esp + 0x98], ebx
jb 0x407349
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00439935
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 0x40737a
mov edx, dword [esp + 0x4c]
push edx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x1c], 0x12
jne 0x406fdc
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x7c], ebx
jb 0x4073a3
mov eax, dword [esp + 0x68]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x4073c9
mov ecx, dword [esp + 0x308]
push ecx
call fcn.00439935
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.00437ffa
add esp, 0x2ec
ret 0x1c