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

Disassembly:
push 0xffffffffffffffff
push 0x45910b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
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, 0x45cbd4
lea esi, [esp + 0x68]
call fcn.00410ff0
add esp, 4
mov byte [esp + 0x2fc], 1
mov eax, dword [esp + 0x68]
mov ebx, 8
cmp dword [esp + 0x7c], ebx
jae 0x4070e4
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 0x40713c
cmp dword [esp + 0x7c], ebx
jb 0x40710f
mov edx, dword [esp + 0x68]
push edx
call fcn.0043e965
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 0x407529
mov eax, dword [esp + 0x308]
push eax
jmp 0x407521
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.004040c0
push 1
push 0x45cbdc
lea ecx, [esp + 0x50]
call fcn.00403ff0
lea eax, [esp + 0xc8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x407185
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x50]
call fcn.00403ff0
lea edx, [esp + 0xc8]
push 0x104
push edx
call fcn.0043ef33
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 0x4071e0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4071e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xcc]
push eax
lea esi, [esp + 0x88]
call fcn.00404170
mov byte [esp + 0x2fc], 3
mov ecx, 0x45cbe0
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40723e
cmp dx, bp
je 0x40723a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40723e
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x407218
xor eax, eax
jmp 0x407243
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x40744e
mov ecx, 0x45cbe4
lea eax, [esp + 0xc8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40727d
cmp dx, bp
je 0x407279
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40727d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x407257
xor eax, eax
jmp 0x407282
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x40744e
test byte [esp + 0x9c], 0x10
je 0x407364
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.004040c0
mov ecx, dword [esp + 0x40]
call fcn.00407060
mov esi, eax
cmp esi, ebp
je 0x40744e
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x98], ebx
jb 0x4072ee
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], bp
jb 0x407317
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x7c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
jb 0x407337
mov eax, dword [esp + 0x68]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x40735d
mov ecx, dword [esp + 0x308]
push ecx
call fcn.0043e965
add esp, 4
mov eax, esi
jmp 0x40752b
mov eax, dword [esp + 0x94]
push str.autorun.inf
mov edi, 0xb
lea ecx, [esp + 0x84]
call fcn.004052d0
test eax, eax
je 0x4073d0
mov eax, dword [esp + 0x94]
cmp eax, 5
jb 0x4073d0
push 4
lea edx, [esp + 0x84]
lea ecx, [eax - 4]
push edx
lea esi, [esp + 0x34]
call fcn.0040db70
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.004052d0
test eax, eax
jne 0x4073d0
mov bl, 1
jmp 0x4073d2
xor bl, bl
mov dword [esp + 0x2fc], 3
test byte [esp + 0x18], 1
je 0x4073fd
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0x44], 8
jb 0x4073fd
mov eax, dword [esp + 0x30]
push eax
call fcn.0043e965
add esp, 4
test bl, bl
je 0x407444
mov ecx, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x407414
lea ecx, [esp + 0x4c]
mov edi, dword [esp + 0x24]
call fcn.00407560
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x40742b
lea eax, [esp + 0x4c]
push eax
push str.Found_INF___s
push 0x46fa40
xor eax, eax
call fcn.00431730
add esp, 0xc
mov ebx, esi
jmp 0x407449
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 0x407490
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x407490
cmp eax, 0x12
je 0x407490
push eax
push str.FindNextFile_returned_an_unexpected_error._Ignoring_error
push 0x46fa40
mov eax, 1
call fcn.00431730
add esp, 0xc
cmp dword [esp + 0x98], ebx
jb 0x4074a9
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0043e965
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 0x4074da
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x1c], 0x12
jne 0x40713c
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x7c], ebx
jb 0x407503
mov eax, dword [esp + 0x68]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x31c], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
jb 0x407529
mov ecx, dword [esp + 0x308]
push ecx
call fcn.0043e965
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.0043d02a
add esp, 0x2ec
ret 0x1c