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

Disassembly:
push 0xffffffffffffffff
push 0x45324b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663e0]
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, 0x456b14
lea esi, [esp + 0x68]
call fcn.004105f0
add esp, 4
mov byte [esp + 0x2fc], 1
mov eax, dword [esp + 0x68]
mov ebx, 8
cmp dword [esp + 0x7c], ebx
jae 0x407084
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 0x4070dc
cmp dword [esp + 0x7c], ebx
jb 0x4070af
mov edx, dword [esp + 0x68]
push edx
call fcn.00439059
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 0x4074c9
mov eax, dword [esp + 0x308]
push eax
jmp 0x4074c1
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.004040b0
push 1
push 0x456b1c
lea ecx, [esp + 0x50]
call fcn.00403fe0
lea eax, [esp + 0xc8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x407125
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x50]
call fcn.00403fe0
lea edx, [esp + 0xc8]
push 0x104
push edx
call fcn.004395de
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 0x407180
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x407180
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xcc]
push eax
lea esi, [esp + 0x88]
call fcn.00404160
mov byte [esp + 0x2fc], 3
mov ecx, 0x456b20
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4071de
cmp dx, bp
je 0x4071da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4071de
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4071b8
xor eax, eax
jmp 0x4071e3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4073ee
mov ecx, 0x456b24
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40721d
cmp dx, bp
je 0x407219
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40721d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4071f7
xor eax, eax
jmp 0x407222
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x4073ee
test byte [esp + 0x9c], 0x10
je 0x407304
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.004040b0
mov ecx, dword [esp + 0x40]
call fcn.00407000
mov esi, eax
cmp esi, ebp
je 0x4073ee
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x98], ebx
jb 0x40728e
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
jb 0x4072b7
mov edx, dword [esp + 0x4c]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
jb 0x4072d7
mov eax, dword [esp + 0x68]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x4072fd
mov ecx, dword [esp + 0x308]
push ecx
call fcn.00439059
add esp, 4
mov eax, esi
jmp 0x4074cb
mov eax, dword [esp + 0x94]
push str.autorun.inf
mov edi, 0xb
lea ecx, [esp + 0x84]
call fcn.004052b0
test eax, eax
je 0x407370
mov eax, dword [esp + 0x94]
cmp eax, 5
jb 0x407370
push 4
lea edx, [esp + 0x84]
lea ecx, [eax - 4]
push edx
lea esi, [esp + 0x34]
call fcn.0040d240
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.004052b0
test eax, eax
jne 0x407370
mov bl, 1
jmp 0x407372
xor bl, bl
mov dword [esp + 0x2fc], 3
test byte [esp + 0x18], 1
je 0x40739d
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x44], 8
jb 0x40739d
mov eax, dword [esp + 0x30]
push eax
call fcn.00439059
add esp, 4
test bl, bl
je 0x4073e4
mov ecx, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x4073b4
lea ecx, [esp + 0x4c]
mov edi, dword [esp + 0x24]
call fcn.00407500
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x4073cb
lea eax, [esp + 0x4c]
push eax
push str.Found_INF___s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0xc
mov ebx, esi
jmp 0x4073e9
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 0x407430
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x407430
cmp eax, 0x12
je 0x407430
push eax
push str.FindNextFile_returned_an_unexpected_error._Ignoring_error
push 0x4676a0
mov eax, 1
call fcn.0042cad0
add esp, 0xc
cmp dword [esp + 0x98], ebx
jb 0x407449
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00439059
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 0x40747a
mov edx, dword [esp + 0x4c]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x1c], 0x12
jne 0x4070dc
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x7c], ebx
jb 0x4074a3
mov eax, dword [esp + 0x68]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x4074c9
mov ecx, dword [esp + 0x308]
push ecx
call fcn.00439059
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.0043782a
add esp, 0x2ec
ret 0x1c