Function at 0x4caa80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601e4e
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x6c2d9c]
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]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x808], esi
mov dword [ebp - 0x7d8], 0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x62c9f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7e0], esi
mov byte [esi], 0
call fcn.0044e410
mov dword [ebp - 4], 0
mov dword [ebp - 0x7d8], 1
test edi, edi
je 0x4cafce
cmp byte [edi], 0
je 0x4cafce
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00572a10
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004615d0
push 1
push 0x62dab8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461460
push 3
push 0x63c6d0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461460
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x544], 0
add esp, 0x34
mov dword [ebp - 0x540], 0xf
mov byte [ebp - 0x554], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cab90
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x554]
call fcn.0044e410
push 2
push 0x63c27c
lea ecx, [ebp - 0x554]
mov dword [ebp - 4], 1
call fcn.00450ff0
push 0x208
lea eax, [ebp - 0x524]
push 0
push eax
call fcn.00572a10
push 0x208
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.00572a10
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x524]
add esp, 0x18
lea eax, [ebp - 0x554]
cmp dword [ebp - 0x540], 0x10
cmovae eax, dword [ebp - 0x554]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x7d4]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x7dc], eax
cmp eax, 0xffffffff
je 0x4caf2c
push 0x62d970
lea ecx, [ebp - 0x53c]
call fcn.0044e100
mov byte [ebp - 4], 2
nop
lea ecx, [ebp - 0x7a8]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cac80
sub ecx, edx
lea eax, [ebp - 0x7a8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x53c]
call fcn.0044e500
lea edi, [ebp - 0x31c]
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4cacb0
mov edx, dword [ebp - 0x528]
sub edi, ecx
mov esi, dword [ebp - 0x53c]
lea ecx, [ebp - 0x53c]
mov eax, dword [ebp - 0x52c]
sar edi, 1
cmp edx, 8
mov dword [ebp - 0x7e8], edi
cmovae ecx, esi
mov dword [ebp - 0x7e4], ecx
cmp edi, eax
ja 0x4cad2b
test edi, edi
jne 0x4cacf5
xor eax, eax
jmp 0x4cad2e
sub eax, edi
inc eax
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x7ec], edx
mov ecx, edx
sub ecx, eax
sar ecx, 1
je 0x4cad1f
mov dx, word [ebp - 0x31c]
cmp word [eax], dx
je 0x4cad53
add eax, 2
sub ecx, 1
jne 0x4cad12
mov edx, dword [ebp - 0x528]
mov esi, dword [ebp - 0x53c]
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x4cada0
lea eax, [ebp - 0x7d4]
push eax
push dword [ebp - 0x7dc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4cac70
jmp 0x4caf11
lea edx, [ebp - 0x31c]
mov esi, edi
test edi, edi
je 0x4cad76
mov edi, eax
mov ecx, edx
sub edi, ecx
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x4cad8c
add edx, 2
sub esi, 1
jne 0x4cad65
sub eax, dword [ebp - 0x7e4]
mov edx, dword [ebp - 0x528]
mov esi, dword [ebp - 0x53c]
sar eax, 1
jmp 0x4cad2e
mov edi, dword [ebp - 0x7e8]
add eax, 2
mov edx, dword [ebp - 0x7ec]
jmp 0x4cad03
cmp edx, 8
lea eax, [ebp - 0x53c]
lea ecx, [ebp - 0x804]
cmovae eax, esi
push eax
call fcn.0044e100
push 0
push 0x62c9f0
lea ecx, [ebp - 0x56c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 0xf
mov byte [ebp - 0x56c], 0
call fcn.0044e410
mov edi, dword [ebp - 0x7f4]
inc edi
mov byte [ebp - 4], 4
push 1
push edi
call fcn.0058738b
mov esi, eax
add esp, 8
test esi, esi
je 0x4cae51
cmp dword [ebp - 0x7f0], 8
lea eax, [ebp - 0x804]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x804]
push eax
push edi
lea eax, [ebp - 0x7e4]
push esi
push eax
call fcn.00587cc3
mov ecx, esi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cae32
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x56c]
call fcn.0044e410
push esi
call fcn.00587396
add esp, 4
lea ecx, [ebp - 0x804]
mov byte [ebp - 4], 2
mov dword [ebp - 0x7d8], 3
call fcn.004389a0
mov esi, dword [ebp - 0x7e0]
lea eax, [ebp - 0x584]
cmp esi, eax
je 0x4caed7
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4caead
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4caea3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cafed
mov eax, edx
push ecx
push eax
call fcn.0055d3b2
add esp, 8
movups xmm0, xmmword [ebp - 0x56c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x55c]
movq qword [esi + 0x10], xmm0
jmp 0x4caf11
mov edx, dword [ebp - 0x558]
cmp edx, 0x10
jb 0x4caf11
mov ecx, dword [ebp - 0x56c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4caf07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cafed
push edx
push ecx
call fcn.0055d3b2
add esp, 8
push dword [ebp - 0x7dc]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 1
call fcn.004389a0
mov esi, dword [ebp - 0x7e0]
cmp dword [esi + 0x10], 0
je 0x4caf98
push 1
push 0x62dab8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461460
add esp, 0x10
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4caf5d
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461460
lea ecx, [ebp - 0x114]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4caf80
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.0044e410
mov edx, dword [ebp - 0x540]
cmp edx, 0x10
jb 0x4cafce
mov ecx, dword [ebp - 0x554]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cafc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4caff2
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov eax, esi
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.0055d371
mov esp, ebp
pop ebp
ret 8
call fcn.0057bc5b
call fcn.0057bc5b
int3