Function at 0x47bf10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x5f0524]
xor eax, esp
mov dword [esp + 0x278], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov dword [esp + 0x20], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp byte [ebx + 0x62], 0
mov dword [esp + 0x10], ebx
je 0x47c0a9
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x68]
test edx, edx
jl 0x47bf5f
jg 0x47c305
test eax, eax
jae 0x47c305
mov eax, dword [ebx]
call dword [eax + 0xa4]
mov ecx, eax
call fcn.00408f00
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x2c]
cmp eax, 2
jbe 0x47c072
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push 2
push ecx
push 0x3a
mov eax, dword [eax + 0x70]
mov ecx, edi
mov dword [esp + 0x20], 0
call eax
test al, al
je 0x47c072
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x14]
call dword [eax + 0x1ac]
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x50]
mov ecx, eax
call fcn.0043bf50
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
mov dword [esp + 0x18], eax
call dword [edx + 0xa4]
push eax
mov ecx, edi
call dword [esi + 0x210]
mov ecx, dword [esp + 0x18]
push 0
mov eax, dword [ecx]
call dword [eax + 0x1c0]
mov ebx, eax
xor esi, esi
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x30]
test eax, eax
je 0x47c059
nop dword [eax]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov edx, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
push 0
push eax
mov eax, dword [edx + 0xa4]
push 0
call eax
test al, al
jne 0x47c037
mov eax, dword [ebx]
mov ecx, ebx
inc esi
call dword [eax + 0x30]
cmp esi, eax
jb 0x47c000
jmp 0x47c059
mov ecx, dword [esp + 0x24]
push 1
push 0
push 0
mov eax, dword [ecx]
push 1
push 0
mov eax, dword [eax + 0xb8]
call eax
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
call dword [eax + 4]
mov eax, dword [ebx + 0x68]
mov ecx, eax
mov edx, dword [ebx + 0x6c]
and ecx, edx
cmp ecx, 0xffffffff
jne 0x47c305
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 8], 0
je 0x47c2f2
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x47c2f2
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x58]
call eax
test al, al
je 0x47c2f2
xorps xmm0, xmm0
mov ecx, ebx
movlpd qword [esp + 0x18], xmm0
call fcn.0047af60
mov edx, dword [ebx]
mov ecx, ebx
push 1
push 0
mov dword [esp + 0x2c], eax
call dword [edx + 0x118]
mov esi, eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
mov ecx, eax
mov dword [esp + 0x18], esi
mov edx, dword [eax]
call dword [edx + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x47c295
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
nop
mov ecx, str..__
lea eax, [esp + 0x5c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47c166
test dx, dx
je 0x47c162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47c166
add eax, 4
add ecx, 4
test dx, dx
jne 0x47c140
xor eax, eax
jmp 0x47c16b
sbb eax, eax
or eax, 1
test eax, eax
je 0x47c26a
mov eax, 0x5cc0c0
lea ecx, [esp + 0x5c]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x47c1a6
test dx, dx
je 0x47c1a2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x47c1a6
add ecx, 4
add eax, 4
test dx, dx
jne 0x47c180
xor eax, eax
jmp 0x47c1ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x47c26a
mov eax, dword [esp + 0x30]
test al, 0x10
je 0x47c24c
cmp byte [ebp + 0xc], 0
je 0x47c26a
test eax, 0x400
jne 0x47c26a
mov ecx, dword [ebx + 0x80]
mov esi, dword [esp + 0x14]
mov eax, dword [ecx]
mov esi, dword [esi]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x14]
inc eax
push eax
call dword [esi + 0x30]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1e0]
call fcn.0043c400
push dword [esp + 0x14]
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1e8]
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [esp + 0x2c]
mov eax, dword [eax + 0xb8]
push edi
push 1
push 1
call eax
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
adc dword [esp + 0x10], edx
test eax, eax
je 0x47c23d
inc dword [eax]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 4]
mov esi, dword [esp + 0x10]
jmp 0x47c26a
cmp byte [ebp + 0x18], 0
je 0x47c26a
xor eax, eax
or eax, dword [esp + 0x50]
add dword [esp + 0x18], eax
adc esi, dword [esp + 0x4c]
mov dword [esp + 0x10], esi
test edi, edi
je 0x47c26a
inc dword [edi]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47c130
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x47c299
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x47c2d0
lea ecx, [esi + 4]
mov esi, dword [ecx]
call dword [esi + 4]
mov eax, ebx
mov edx, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x14
xor ecx, ecx
mov esi, dword [ecx]
call dword [esi + 4]
mov eax, ebx
mov edx, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebx + 0x60], 0
jne 0x47c2ff
mov ecx, ebx
call fcn.0047ae50
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x14