Function at 0x47a720
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d153
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x5f11e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.004feb64
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x47a7c3
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 3
push eax
call fcn.00481350
push dword [ebp - 0x2b4]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
call fcn.0045d490
mov eax, dword [esi]
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [esi + 4], eax
je 0x47ab1a
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
push 1
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00473370
mov ecx, eax
call fcn.004731f0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x47a829
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x47a847
push 0xffffffffffffffff
push 0
push eax
call fcn.0044ca80
push 0x5c405c
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00473430
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.004637c0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x47a8af
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47a892
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044c9a0
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0045b2a0
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x47a8cd
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.0044c9a0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2ac], ax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
cmp eax, 8
jb 0x47a90c
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.0044c9a0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
dec eax
mov edx, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x47a934
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0044c9a0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x47a94a
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x47aafa
nop word [eax + eax]
mov edx, 0x5c4cf8
lea ecx, [ebp - 0x264]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x47a9c6
test ax, ax
je 0x47a9c2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x47a9c6
add ecx, 4
add edx, 4
test ax, ax
jne 0x47a9a0
xor eax, eax
jmp 0x47a9cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x47aae8
mov eax, 0x5c4f98
lea ecx, [ebp - 0x264]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x47aa06
test dx, dx
je 0x47aa02
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x47aa06
add ecx, 4
add eax, 4
test dx, dx
jne 0x47a9e0
xor eax, eax
jmp 0x47aa0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x47aae8
test byte [ebp - 0x290], 0x10
lea eax, [ebx + 0xc]
push 0x5c405c
push eax
lea eax, [ebp - 0x2cc]
push eax
je 0x47aa5b
call fcn.00473430
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0045ca50
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004730d0
jmp 0x47aa8b
call fcn.00473430
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0045ca50
add esp, 0x18
mov ecx, dword [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 9
call fcn.00472f30
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x47aaa9
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.0044c9a0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2ac], ax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
cmp eax, 8
jb 0x47aae8
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.0044c9a0
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x47a990
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x47abc8
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x18], 0
jne 0x47a800
mov byte [ebp - 0x291], 1
lea ecx, [ebp - 0x28]
call fcn.00472fe0
push dword [ebp - 0x28]
call fcn.0054b948
mov eax, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x28], 0
cmp eax, 8
jb 0x47ab50
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0044c9a0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x47ab79
inc eax
lea ecx, [ebx + 0xc]
push eax
push dword [ebx + 0xc]
call fcn.0044c9a0
mov ecx, dword [ebx + 0x38]
xor eax, eax
mov dword [ebx + 0x20], 7
mov dword [ebx + 0x1c], 0
mov word [ebx + 0xc], ax
cmp ecx, 8
jb 0x47aba2
inc ecx
push ecx
push dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
call fcn.0044c9a0
mov al, byte [ebp - 0x291]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004feb45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x291], 0
jmp 0x47ab21