Function at 0x47de40
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x6acc93
call fcn.00664608
sub esp, 0x2c4
push esi
mov esi, ecx
mov byte [ebp - 0x3c], 1
push edi
lea eax, [esi + 0x34]
push eax
mov dword [ebp - 0x40], eax
call fcn.0045d7af
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x18], edi
je 0x47e16e
lea eax, [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x47de7d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x58]
push 0x6dd5c0
push eax
call fcn.004577f2
add esp, 0xc
inc dword [esi + 4]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 2
jb 0x47dea2
mov eax, dword [ebp - 0x58]
push ebx
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
cmp ebx, 0xffffffff
je 0x47e080
xor eax, eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x28], edi
push eax
mov dword [ebp - 0x24], 7
call fcn.00427ba3
cmp dword [esi + 0x30], 0
mov byte [ebp - 4], 3
jbe 0x47dfa8
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x38]
add eax, 8
push eax
call fcn.00436ddd
test al, al
mov eax, dword [esi + 0x2c]
jne 0x47df21
inc edi
cmp edi, dword [esi + 0x30]
jb 0x47def2
jmp 0x47dfa8
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 4]
mov dword [ecx + 0x24], eax
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
dec ecx
mov dword [ebp - 0x10], edx
lea eax, [edx + edi]
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2bc]
cmp eax, dword [ecx]
jne 0x47df5e
xor eax, eax
cmp eax, dword [ecx + 4]
je 0x47dfa8
mov ecx, dword [esi + 0x28]
lea eax, [edx + edi]
dec ecx
mov dword [ebp - 0x10], edx
and ecx, eax
cmp dword [ebp - 0x24], 8
mov eax, dword [esi + 0x24]
mov edx, dword [eax + ecx*4]
lea ecx, [ebp - 0x38]
jb 0x47df7c
mov ecx, dword [ebp - 0x38]
push dword [edx + 0x20]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x10], eax
dec ecx
add eax, edi
and ecx, eax
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2bc]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x30]
jne 0x47e00f
lea ecx, [ebp - 0x80]
call fcn.0047dd0a
mov eax, dword [ebp - 0x2bc]
xor edi, edi
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
mov dword [ebp - 0x7c], edi
jb 0x47dfd3
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push eax
call fcn.00427bc8
mov eax, dword [esi + 4]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0047dbde
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
jb 0x47dffd
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x78]
call fcn.00427afc
jmp 0x47e011
xor edi, edi
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x47e050
mov ecx, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x47e047
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
lea eax, [ebp - 0x2d0]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x47e065
or ebx, 0xffffffff
cmp ebx, 0xffffffff
jne 0x47debf
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47e080
cmp eax, ebx
je 0x47e080
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ebx, edi
cmp dword [esi + 0x30], edi
jbe 0x47e165
lea edi, [esi + 0x20]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], edx
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x24]
cmp eax, dword [esi + 4]
je 0x47e15b
mov ecx, dword [edi + 8]
lea eax, [edx + ebx]
dec ecx
mov dword [ebp - 0x18], edx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], eax
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*4]
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x47e0de
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
push dword [edx + 0x20]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], edx
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 8]
dec ecx
mov dword [ebp - 0x18], eax
lea eax, [edx + ebx]
and ecx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*4]
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x47e11e
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
push dword [edx + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], eax
dec ecx
add eax, ebx
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
and dword [eax + 0x18], 0
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x47e14f
mov eax, dword [eax]
push ebx
xor ecx, ecx
push edi
mov word [eax], cx
call fcn.0047db79
inc ebx
cmp ebx, dword [esi + 0x30]
jb 0x47e08e
lea ecx, [ebp - 0x58]
call fcn.00427afc
pop ebx
push dword [ebp - 0x40]
mov dword [ebp - 4], 5
call fcn.0045d8ec
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret