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

Disassembly:
push 0xffffffffffffffff
push 0x4f66fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x34], ebx
mov eax, dword [0x50d0e0]
mov dword [esp + 0x298], 0
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x2a0]
lea edx, [esp + 0x24]
push ecx
push 0x517854
push edx
mov byte [esp + 0x2a4], 1
call fcn.004074f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x28], ebp
je 0x4a70b4
mov esi, dword [str..qmv_.m4v_.f4v_.tim_.swf_.csf_.scm_.ts_.tp_.mkv_.dat_.vob_.qt_.ram_.wav_.wmv_.asf_.rm_.rmvb_.mov_.avi_.mpg_.mpeg_.mpe_.3gp_.mp2_.mp4_.flv_._mv_.wm_.rp_.rpm_.rt_.rsc_.3gp2_.3gpp_.acc_.aif_.aifc_.aiff_.asx_.bik_.flc_.roq_.d2v_.dsa_.dss_.dsv_.m1v_.m2p_.m2v_.m4b_.mkv_.mod_.ogm_.pmp_.pm2_.pss_.m4p_.mv_.m2ts_.evo_.3g2_.wmp_.wm_.ivf_.rmm_.mjp_.pva_.rat_.dvd_.smk_.tpr_.vg2_.vid_.vp6_.vp7_.amv_.fli_.pmp2_.mts_.drc]
mov edx, dword [0x50d0e0]
test esi, esi
mov dword [esp + 0x20], edx
je 0x4a6b49
mov eax, esi
shr eax, 0x10
jne 0x4a6b17
and esi, 0xffff
lea ecx, [esp + 0x20]
push esi
call fcn.00407b60
jmp 0x4a6b49
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4a6b49
push edi
lea ecx, [esp + 0x24]
call fcn.00402190
test eax, eax
je 0x4a6b49
mov eax, dword [esp + 0x20]
lea ecx, [edi + edi]
push ecx
lea edx, [edi + edi + 2]
push esi
push edx
push eax
call fcn.00402060
add esp, 0x10
mov esi, dword [str..smv_.spx_.au_.flac_.ra_.amr_.m4a_.mpga_.mp5_.dsm_.mpa_.mac_.dts_.mpga_.wma_.mp3_.midi_.ac3_.aac_.ogg_.mid_.ape_.cda_.rmi_.tta_.tta]
mov ecx, dword [0x50d0e0]
test esi, esi
mov byte [esp + 0x298], 2
mov dword [esp + 0x1c], ecx
je 0x4a6bb0
mov edx, esi
shr edx, 0x10
jne 0x4a6b7e
and esi, 0xffff
lea ecx, [esp + 0x1c]
push esi
call fcn.00407b60
jmp 0x4a6bb0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4a6bb0
push edi
lea ecx, [esp + 0x20]
call fcn.00402190
test eax, eax
je 0x4a6bb0
mov edx, dword [esp + 0x1c]
lea eax, [edi + edi]
push eax
lea ecx, [edi + edi + 2]
push esi
push ecx
push edx
call fcn.00402060
add esp, 0x10
mov esi, dword [str..bmp_.gif_.jpg_.tif_.jpeg_.jpe_.pcd_.bnm_.qti.qtf_.qtif_.tif_.tiff_.tiff]
mov eax, dword [0x50d0e0]
test esi, esi
mov byte [esp + 0x298], 3
mov dword [esp + 0x18], eax
je 0x4a6c16
mov ecx, esi
shr ecx, 0x10
jne 0x4a6be4
and esi, 0xffff
lea ecx, [esp + 0x18]
push esi
call fcn.00407b60
jmp 0x4a6c16
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4a6c16
push edi
lea ecx, [esp + 0x1c]
call fcn.00402190
test eax, eax
je 0x4a6c16
mov ecx, dword [esp + 0x18]
lea edx, [edi + edi]
push edx
lea eax, [edi + edi + 2]
push esi
push eax
push ecx
call fcn.00402060
add esp, 0x10
mov eax, dword [ebx + 0xb0]
mov byte [esp + 0x298], 4
test eax, eax
jne 0x4a7095
mov edx, dword [0x50d0e0]
lea eax, [esp + 0x6c]
test eax, eax
mov dword [esp + 0x14], edx
je 0x4a6c96
lea ecx, [esp + 0x6c]
shr ecx, 0x10
jne 0x4a6c5c
xor eax, eax
lea edx, [esp + 0x6c]
mov ax, dx
lea ecx, [esp + 0x14]
push eax
call fcn.00407b60
jmp 0x4a6c96
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4a6c96
push esi
lea ecx, [esp + 0x18]
call fcn.00402190
test eax, eax
je 0x4a6c96
lea ecx, [esi + esi]
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esi + esi + 2]
push edx
push eax
push ecx
call fcn.00402060
add esp, 0x10
mov edx, dword [esp + 0x14]
push 0x510318
push edx
mov byte [esp + 0x2a0], 5
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4a6fe6
mov eax, dword [esp + 0x14]
push 0x510310
push eax
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4a6fe6
mov al, byte [esp + 0x40]
test al, 6
jne 0x4a6fbd
test al, 0x10
jne 0x4a6f4d
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
xor ebx, ebx
xor ecx, ecx
push 1
push ebx
push ecx
push eax
call fcn.004df990
mov ecx, dword [0x50d0e0]
mov edi, eax
mov esi, edx
add edi, ebp
lea edx, [esp + 0x6c]
mov dword [esp + 0x10], ecx
adc esi, ebx
test edx, edx
je 0x4a6d6e
lea eax, [esp + 0x6c]
shr eax, 0x10
jne 0x4a6d34
xor eax, eax
lea ecx, [esp + 0x6c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00407b60
jmp 0x4a6d6e
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x4a6d6e
push ebx
lea ecx, [esp + 0x14]
call fcn.00402190
test eax, eax
je 0x4a6d6e
lea eax, [ebx + ebx]
lea ecx, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [ebx + ebx + 2]
push ecx
push edx
push eax
call fcn.00402060
add esp, 0x10
test esi, esi
mov byte [esp + 0x298], 6
jg 0x4a6d9c
jl 0x4a6d84
cmp edi, 0x2800
ja 0x4a6d9c
push 0
push str..cda
lea ecx, [esp + 0x18]
call fcn.00414af0
test eax, eax
jle 0x4a6f3e
lea ecx, [esp + 0x10]
call fcn.00408c00
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
mov edx, dword [esp + 0x10]
push 0x2e
push edx
call fcn.004dec29
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4a703c
sub eax, edx
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4a703c
mov eax, dword [edx - 8]
sub eax, ecx
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004071a0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x298], 7
je 0x4a6e46
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4a6e16
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4a6e1d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4a6e2d
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004021f0
jmp 0x4a6e46
lea ecx, [esp + 0x10]
call fcn.00402350
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x38]
mov byte [esp + 0x298], 6
call fcn.00402160
push 0x516194
lea ecx, [esp + 0x14]
call fcn.00406ed0
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x28]
call fcn.00414af0
mov esi, eax
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00414af0
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00414af0
cmp esi, 0xffffffff
jg 0x4a6eac
cmp edi, 0xffffffff
jg 0x4a6eac
cmp eax, 0xffffffff
jle 0x4a6f3e
lea ecx, [esp + 0x2c]
call fcn.004a5d90
mov eax, dword [esp + 0x2a0]
lea edx, [esp + 0x6c]
push edx
push eax
lea ecx, [esp + 0x38]
push 0x50de74
push ecx
mov byte [esp + 0x2a8], 8
call fcn.004074f0
mov esi, dword [esp + 0x2b4]
mov edi, dword [esp + 0x44]
add esp, 0x10
mov edx, dword [esi]
mov ecx, dword [edi + 0xc8]
push 0
push 0x50e448
push 0
push edx
call fcn.00483b50
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
push ecx
mov ecx, dword [edi + 0xc8]
push 1
push eax
call fcn.004bbef0
mov edx, dword [esi]
mov eax, dword [edi + 0x120]
lea ecx, [edi + 0x118]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004bde30
mov eax, dword [esi]
lea ecx, [esp + 0x30]
inc eax
mov dword [esi], eax
call fcn.00402160
lea ecx, [esp + 0x10]
call fcn.00402160
mov ebx, dword [esp + 0x34]
jmp 0x4a6fa6
mov eax, dword [0x50d0e0]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2a0]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s_
push eax
mov byte [esp + 0x2a8], 9
call fcn.004074f0
mov ecx, dword [esp + 0x2b4]
add esp, 0x10
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0040bd90
mov ecx, ebx
call fcn.004a6a70
lea ecx, [esp + 0x10]
call fcn.00402160
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 4
call fcn.00402160
mov ebp, dword [esp + 0x28]
jmp 0x4a701d
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x298], 4
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a701d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a701d
jmp 0x4a700d
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x298], 4
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a701d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a701d
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4a7095
mov eax, dword [ebx + 0xb0]
test eax, eax
jne 0x4a7095
jmp 0x4a6c2c
mov eax, dword [0x50d0e4]
lea ecx, [edx - 0xc]
cmp ecx, eax
je 0x4a7066
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a7066
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a7095
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a7095
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00402160
lea ecx, [esp + 0x1c]
call fcn.00402160
lea ecx, [esp + 0x20]
call fcn.00402160
mov ebp, dword [esp + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
call fcn.00402160
lea ecx, [esp + 0x2a0]
call fcn.00402160
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x28c
ret 8