Function at 0x4a9acb
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2d4
mov eax, 0x55f1f1
call fcn.00505294
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x58056c
push eax
mov dword [ebp - 0x2cc], eax
mov esi, ebx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2d4], esi
push eax
mov dword [ebp - 0x2d0], esi
call fcn.004a8b27
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push 7
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
inc eax
cmp dword [ebp - 0x48], ecx
mov dword [ebp - 0x2d8], eax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], al
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2e0], edi
cmp edi, 0xffffffff
je 0x4a9ce0
mov byte [ebp - 4], 2
test byte [ebp - 0x2c4], 0x10
je 0x4a9ca6
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x44]
call fcn.00452fe1
push 0x580574
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004ab3ff
test eax, eax
je 0x4a9c9a
push 0x580578
lea ecx, [ebp - 0x44]
call fcn.004ab3ff
test eax, eax
je 0x4a9c9a
cmp dword [ebp - 0x34], 8
jbe 0x4a9c9a
push str.Resource
push 8
push ebx
lea ecx, [ebp - 0x44]
call fcn.004ab3a3
test eax, eax
jne 0x4a9c9a
cmp dword [ebp - 0x1c], eax
je 0x4a9bd8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004ab375
test eax, eax
jns 0x4a9c49
push 0x580460
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x74]
push eax
call fcn.004a8b27
add esp, 0xc
mov ecx, eax
sub esp, 0x18
mov byte [ebp - 4], 4
or esi, 1
mov dword [ebp - 0x2dc], esp
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2d0], esi
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00456c0a
mov ecx, dword [ebp - 0x2dc]
push eax
call fcn.004a939d
or esi, 2
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d0], esi
call fcn.004aaa52
add esp, 0x18
mov byte [ebp - 0x2c5], 1
test al, al
jne 0x4a9c4f
mov byte [ebp - 0x2c5], bl
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 4], 3
test al, 1
je 0x4a9c71
and eax, 0xfffffffe
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x2d4], eax
call fcn.0045687b
cmp byte [ebp - 0x2c5], 0
je 0x4a9c86
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004a9718
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0045687b
mov esi, dword [ebp - 0x2d4]
jmp 0x4a9ca6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0045687b
lea eax, [ebp - 0x2c4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a9b57
inc eax
jmp 0x4a9cd6
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x1c], 0
jbe 0x4a9d73
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push 0x580460
push eax
call fcn.004a8b7f
add esp, 0xc
mov ecx, dword [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 6
call fcn.004ab276
lea ecx, [ebp - 0x74]
call fcn.0045687b
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, 7
jbe 0x4a9dcf
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 7
cmp eax, 0x1000
jb 0x4a9d68
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00455e65
mov eax, dword [ebp - 0x2d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2cc]
push eax
push ecx
call fcn.00504e76
pop ecx
pop ecx
jmp 0x4a9dcf
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, 7
jbe 0x4a9dc9
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 8
cmp eax, 0x1000
jb 0x4a9dc0
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00455e65
mov eax, dword [ebp - 0x2d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2cc]
push eax
push ecx
call fcn.00504e76
pop ecx
pop ecx
mov byte [ebp - 0x2d8], bl
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0045687b
mov al, byte [ebp - 0x2d8]
call fcn.005051e6
ret