Function at 0x474360
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5863
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 4
push 0
mov dword [ebp - 0x288], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.004782b0
push 0x5d66f0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0045dab0
add esp, 0xc
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x284], eax
cmp eax, 0xffffffff
je 0x474768
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax]
test byte [ebp - 0x278], 0x10
je 0x474425
push 0x5d66f8
lea eax, [ebp - 0x24c]
push eax
call edi
test eax, eax
je 0x47473b
push 0x5d66fc
lea eax, [ebp - 0x24c]
push eax
call edi
test eax, eax
je 0x47473b
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2a8], 0
movups xmmword [ebp - 0x2bc], xmm0
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474450
sub eax, edx
lea ecx, [ebp - 0x2bc]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00442860
mov ecx, dword [esi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x27c], ecx
cmp eax, 1
jb 0x4747c2
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x280], esi
jbe 0x4744a3
mov eax, dword [esi]
mov dword [ebp - 0x280], eax
lea esi, [ecx + 1]
mov eax, 7
lea edi, [ebp - 0x2a4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a4], xmm0
cmp esi, eax
jbe 0x47450d
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4744d2
mov eax, 0x7ffffffe
jmp 0x4744dd
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00442760
mov ecx, dword [ebp - 0x27c]
mov edi, eax
mov eax, dword [ebp - 0x28c]
add esp, 8
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x294], esi
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x280]
mov dword [ebp - 0x290], eax
push edi
call fcn.0059ce90
mov eax, 0x5c
xor ecx, ecx
mov word [edi + esi], ax
add esp, 0xc
mov eax, dword [ebp - 0x27c]
mov word [edi + eax*2 + 2], cx
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x284]
lea ecx, [ebp - 0x2ec]
call fcn.00460730
lea ecx, [ebp - 0x28]
call fcn.004443f0
movups xmm0, xmmword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x290]
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x2dc]
movq qword [ebp - 0x18], xmm0
cmp ecx, 7
jbe 0x4745c9
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4745bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4747bd
push ecx
push edx
call fcn.0059a744
add esp, 8
mov ecx, dword [ebp - 0x2a8]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x47460d
mov edx, dword [ebp - 0x2bc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474603
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4747bd
push ecx
push edx
call fcn.0059a744
add esp, 8
test byte [ebp - 0x278], 0x10
je 0x474624
lea eax, [ebp - 0x28]
push eax
call fcn.00474360
jmp 0x47472f
call fcn.004782b0
mov esi, eax
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x280], esi
push 0xfde9
cmp dword [esi + 0x2a4], eax
sete al
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x2d4]
cmova ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00544550
mov edi, dword [ebp - 0x27c]
add esp, 0xc
lea eax, [edi + edi*2]
lea esi, [esi + eax*8]
add esi, 0x274
lea eax, [ebp - 0x2d4]
cmp esi, eax
je 0x47469e
mov ecx, esi
call fcn.004443a0
movups xmm0, xmmword [ebp - 0x2d4]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c4]
movq qword [esi + 0x10], xmm0
jmp 0x4746d8
mov ecx, dword [ebp - 0x2c0]
cmp ecx, 0xf
jbe 0x4746d8
mov edx, dword [ebp - 0x2d4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4746ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4747bd
push ecx
push edx
call fcn.0059a744
add esp, 8
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x28]
push 0x5d6704
mov dword [eax + 0x2a4], edi
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
add eax, 0xfffffffc
lea eax, [ecx + eax*2]
push eax
call fcn.005add97
add esp, 8
test eax, eax
jne 0x47472f
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push eax
movups xmmword [ecx], xmm0
push 0x5cba4c
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.004427c0
lea eax, [ebp - 0x28]
push eax
call fcn.00473f10
mov esi, dword [ebp - 0x288]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x284]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4743f0
push dword [ebp - 0x284]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47479e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474794
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4747bd
push ecx
push edx
call fcn.0059a744
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret 4
call fcn.005ad975
call fcn.004481f0
int3