Function at 0x47bc10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b00a
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x2a4], ebx
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2a0], 1
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x47bc80
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.004027c0
mov esi, 1
push esi
push 0x4adfcc
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.004026a0
push 3
push 0x4ae910
lea ecx, [ebp - 0x48]
call fcn.004026a0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x47bcca
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x29c], eax
cmp eax, 0xffffffff
je 0x47be9a
xor ecx, ecx
cmp esi, ecx
je 0x47be94
test byte [ebp - 0x298], 0x10
je 0x47bde4
cmp word [ebp - 0x26c], 0x2e
jne 0x47bd3b
mov ax, word [ebp - 0x26a]
cmp ax, cx
je 0x47bd23
cmp ax, 0x2e
jne 0x47bd3b
cmp word [ebp - 0x268], cx
jne 0x47bd3b
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x47bce7
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47bd50
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004027c0
push 1
push 0x4adfcc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004026a0
lea eax, [ebp - 0x26c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47bd85
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004026a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00475e80
mov edx, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [ebp - 0x18], 8
mov esi, eax
mov byte [ebp - 4], 1
jb 0x47bce7
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x47bce7
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47be00
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004027c0
push 1
push 0x4adfcc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004026a0
lea eax, [ebp - 0x26c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47be35
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004026a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00475e80
mov edx, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [ebp - 0x18], 8
mov esi, eax
mov byte [ebp - 4], 1
jb 0x47bce7
mov eax, dword [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x47bce7
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x34], 8
jb 0x47beb3
mov ecx, dword [ebp - 0x48]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret