Function at 0x17ca4bb6
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x226
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push edi
push eax
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x484], edi
call sub.msvcrt.dll_memset
or dword [ebp - 0x488], 0xffffffff
add esp, 0xc
lea eax, [ebp - 0x480]
push eax
call fcn.17ca2d1d
mov esi, eax
cmp esi, edi
jge 0x17ca4c3a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push 0x17c919fc
push 0x5f
jmp 0x17ca4f0e
mov eax, dword [ebp - 0x480]
mov esi, dword [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x26
jbe 0x17ca4eed
lea eax, [esi + eax*2 - 0x4c]
cmp word [eax], 0x7b
mov dword [ebp - 0x48c], eax
jne 0x17ca4eca
cmp word [eax + 0x4a], 0x7d
jne 0x17ca4eca
lea eax, [ebp - 0x484]
push eax
push 0x17c91ac0
push 0x17c91a6c
call fcn.17ca2299
mov esi, eax
cmp esi, edi
jge 0x17ca4cb5
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push 0x17c919fc
push 0x63
jmp 0x17ca4f0e
push dword [ebp - 0x484]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08339
mov esi, eax
cmp esi, edi
jge 0x17ca4cf4
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push 0x17c919fc
push 0x64
jmp 0x17ca4f0e
movzx eax, word [ebp - 0x22c]
mov dword [ebp - 0x490], eax
push 0x17c91bd0
lea eax, [ebp - 0x22c]
push eax
call fcn.17d083d6
mov esi, eax
cmp esi, edi
jge 0x17ca4d3f
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push 0x17c919fc
push 0x65
jmp 0x17ca4f0e
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x488], eax
cmp eax, 0xffffffff
jne 0x17ca4d8b
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push 0x17c919fc
push 0x66
jmp 0x17ca4f0e
mov ebx, 0x17d26008
mov edi, 0x17c919fc
test byte [ebp - 0x47c], 0x10
je 0x17ca4e56
cmp word [ebp - 0x450], 0x2e
jne 0x17ca4dd6
cmp word [ebp - 0x44e], 0
je 0x17ca4e56
cmp word [ebp - 0x44e], 0x2e
jne 0x17ca4e56
cmp word [ebp - 0x44c], 0
je 0x17ca4e56
cmp word [ebp - 0x450], 0x7b
jne 0x17ca4e56
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x17ca4e56
push dword [ebp - 0x490]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d082d9
mov esi, eax
test esi, esi
jl 0x17ca4e87
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.17d083d6
mov esi, eax
test esi, esi
jl 0x17ca4ea0
push dword [ebp - 0x228]
call fcn.17d0871c
test eax, eax
jge 0x17ca4e56
mov ecx, dword [0x17d26008]
cmp ecx, ebx
je 0x17ca4e56
test byte [ecx + 0x1c], 1
je 0x17ca4e56
push eax
push edi
push 0x69
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2c24
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x17ca4d95
call fcn.17ce51cd
mov esi, eax
cmp esi, 0x80070012
jne 0x17ca4eb5
xor esi, esi
jmp 0x17ca4f19
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push edi
push 0x67
jmp 0x17ca4f0e
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push edi
push 0x68
jmp 0x17ca4f0e
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push esi
push edi
push 0x6a
jmp 0x17ca4f0e
mov ecx, 0x8007000d
mov esi, ecx
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push ecx
push 0x17c919fc
push 0x62
jmp 0x17ca4f0e
mov ecx, 0x8007000d
mov esi, ecx
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4f19
test byte [eax + 0x1c], 1
je 0x17ca4f19
push ecx
push 0x17c919fc
push 0x61
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08313
cmp dword [ebp - 0x484], 0
je 0x17ca4f39
push dword [ebp - 0x484]
call fcn.17d06bf2
cmp dword [ebp - 0x488], 0xffffffff
je 0x17ca4f4e
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x480], 0
je 0x17ca4f63
lea eax, [ebp - 0x480]
push eax
call fcn.17ca4b0e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.17ce4923
leave
ret