Function at 0x40aefb
Capabilities:
Enumerate files on windows

Disassembly:
push 0x29c
mov eax, 0x4b8463
call fcn.0048ff65
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], ebx
call fcn.0040b85d
mov dword [ebp - 0x29c], eax
push str.avcodec_54.dll
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 1
call fcn.0040b512
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.avformat_54.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.avutil_51.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 3
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.chrome.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 4
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.d3dcompiler_43.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.d3dx9_43.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 6
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.gcswf32.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 7
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.icudt.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 8
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.kBrowserUpgrade2.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 9
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.kBUpdateHelper.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.ktoolupd.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xb
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.libEGL.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xc
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.libGLESv2.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xd
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.metro_driver.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0xe
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.MouseGesture.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.uplive.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x10
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.xinput1_3.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x11
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push str.zlib1.dll
lea ecx, [ebp - 0x2c]
call fcn.0040513a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
call fcn.0040b512
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00405ac5
push esi
lea ecx, [ebp - 0x44]
call fcn.0040513a
mov esi, 0x4d4a10
push esi
mov byte [ebp - 4], 0x13
call fcn.00405113
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004046dd
push 0x24c
lea eax, [ebp - 0x290]
push ebx
push eax
mov dword [ebp - 0x294], ebx
call fcn.004921d0
add esp, 0xc
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x294]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40b495
test byte [ebp - 0x294], 0x10
jne 0x40b478
push 4
mov ecx, 0x4d4a18
lea eax, [ebp - 0x268]
pop esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b37e
test dx, dx
je 0x40b37a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b37e
add eax, esi
add ecx, esi
test dx, dx
jne 0x40b35a
mov eax, ebx
jmp 0x40b383
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b478
mov ecx, 0x4d4a1c
lea eax, [ebp - 0x268]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b3ba
test dx, dx
je 0x40b3b6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b3ba
add eax, esi
add ecx, esi
test dx, dx
jne 0x40b396
mov eax, ebx
jmp 0x40b3bf
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b478
lea ecx, [ebp - 0x268]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40b3d0
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jbe 0x40b478
lea eax, [ebp - 0x270]
push str..dll
lea eax, [eax + ecx*2]
push eax
call fcn.0048fb94
pop ecx
pop ecx
test eax, eax
jne 0x40b478
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040513a
mov esi, dword [ebp - 0x29c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040b566
cmp dword [eax], esi
push 0
push 1
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00405ac5
test bl, bl
je 0x40b476
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040513a
mov ecx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040b5c2
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.00405ac5
jmp 0x40b478
xor ebx, ebx
lea eax, [ebp - 0x294]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b33f
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00405ac5
lea ecx, [ebp - 0x29c]
call fcn.0040b53d
call fcn.0048ff14
ret 8