Function at 0x49c2fb
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x50
mov eax, 0x6d4f62
call fcn.006899cc
sub esp, 0x278
push esi
mov esi, ecx
mov byte [ebp + 0x1c], 1
push edi
lea eax, [esi + 0x34]
push eax
mov dword [ebp + 0x18], eax
call fcn.0047b887
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x18], edi
je 0x49c637
lea eax, [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x49c33c
mov eax, dword [eax]
push eax
lea eax, [ebp]
push str._s_.btapp
push eax
call fcn.00475719
add esp, 0xc
inc dword [esi + 4]
lea eax, [ebp]
cmp dword [ebp + 0x14], 8
mov byte [ebp - 4], 2
jb 0x49c361
mov eax, dword [ebp]
push ebx
lea ecx, [ebp - 0x284]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x48], eax
cmp eax, 0xffffffff
je 0x49c54b
xor eax, eax
mov dword [ebp + 0x20], edi
mov word [ebp + 0x20], ax
lea ecx, [ebp + 0x20]
lea eax, [ebp - 0x258]
mov dword [ebp + 0x30], edi
push eax
mov dword [ebp + 0x34], 7
call fcn.004482e2
mov ebx, edi
mov byte [ebp - 4], 3
cmp ebx, dword [esi + 0x30]
jae 0x49c46f
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ebp + 0x50], eax
dec ecx
add eax, ebx
and ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0x20]
add eax, 8
push eax
call fcn.004570f7
test al, al
mov eax, dword [esi + 0x2c]
jne 0x49c3e2
inc ebx
cmp ebx, dword [esi + 0x30]
jb 0x49c3b3
jmp 0x49c46c
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 4]
dec ecx
mov dword [ebp + 0x50], eax
add eax, ebx
and ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x24], edx
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
dec ecx
mov dword [ebp + 0x50], edx
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ecx]
jne 0x49c41d
cmp edi, dword [ecx + 4]
je 0x49c46c
mov eax, dword [esi]
mov ecx, dword [esi + 0x28]
dec ecx
mov dword [ebp + 0x3c], edx
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x50], eax
lea eax, [edx + ebx]
and ecx, eax
cmp dword [ebp + 0x34], 8
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x20]
lea eax, [ebp + 0x20]
jb 0x49c446
mov eax, dword [ebp + 0x20]
push ecx
push eax
mov ecx, esi
call dword [ebp + 0x50]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ebp + 0x50], eax
dec ecx
add eax, ebx
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x270]
mov dword [ecx], eax
mov dword [ecx + 4], edi
cmp ebx, dword [esi + 0x30]
jne 0x49c4d1
lea ecx, [ebp - 0x34]
call fcn.0049c1cd
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], edi
jb 0x49c495
mov eax, dword [ebp + 0x20]
push dword [ebp + 0x30]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00448307
mov eax, dword [esi + 4]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0049c0a1
cmp dword [ebp + 0x34], 8
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea eax, [ebp + 0x20]
jb 0x49c4c4
mov eax, dword [ebp + 0x20]
push eax
mov ecx, esi
call edx
lea ecx, [ebp - 0x2c]
call fcn.0044823e
mov eax, dword [ebp + 0x34]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x49c510
mov ecx, dword [ebp + 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x50], ecx
cmp eax, 0x1000
jb 0x49c507
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x50]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x50]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
lea eax, [ebp - 0x284]
push eax
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x49c52c
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
jmp 0x49c52f
mov eax, dword [ebp + 0x40]
cmp eax, 0xffffffff
jne 0x49c37f
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x49c54b
cmp eax, 0xffffffff
je 0x49c54b
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
cmp dword [esi + 0x30], edi
jbe 0x49c62e
lea ebx, [esi + 0x20]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
dec ecx
mov dword [ebp + 0x48], edx
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x24]
cmp eax, dword [esi + 4]
je 0x49c624
mov eax, dword [esi]
mov ecx, dword [ebx + 8]
dec ecx
mov dword [ebp + 0x48], edx
mov eax, dword [eax + 8]
mov dword [ebp + 0x50], eax
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx + 8]
dec ecx
mov eax, dword [eax + 0x20]
mov dword [ebp + 0x48], eax
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x49c5b2
mov eax, dword [eax]
push dword [ebp + 0x48]
mov ecx, esi
push eax
call dword [ebp + 0x50]
mov eax, dword [esi]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
dec ecx
mov dword [ebp + 0x48], edx
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x50], eax
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx + 8]
dec ecx
mov eax, dword [eax + 0x20]
mov dword [ebp + 0x48], eax
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x49c5f8
mov eax, dword [eax]
push dword [ebp + 0x48]
mov ecx, esi
push eax
call dword [ebp + 0x50]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x48], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
lea ecx, [ecx + 8]
call fcn.0048796a
push edi
push ebx
call fcn.0049c03c
inc edi
cmp edi, dword [esi + 0x30]
jb 0x49c557
lea ecx, [ebp]
call fcn.0044823e
pop ebx
push dword [ebp + 0x18]
mov dword [ebp - 4], 5
call fcn.0047b9d1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add ebp, 0x54
leave
ret