Function at 0x417d50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp - 0x2a4]
call fcn.00418bb8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.0054d095
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x2a4]
call fcn.00418d12
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41802d
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x2a4]
call fcn.00416896
test eax, eax
je 0x41802d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.0054d567
mov byte [ebp - 4], 1
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x417ffe
mov dword [ebp - 0x270], 1
cmp dword [ebp - 0x270], 0
je 0x417fef
mov edx, dword [ebp - 0x264]
and edx, 0x10
test edx, edx
jne 0x417fd0
mov dword [ebp - 0x274], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0054d39c
mov byte [ebp - 4], 2
cmp dword [ebp + 0x14], 1
jne 0x417ea0
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.0054d567
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2ac]
push edx
lea ecx, [ebp - 0x27c]
call fcn.0054d46f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x280]
call fcn.0054d328
mov dword [ebp - 0x278], 0
jmp 0x417ebb
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x278]
cmp eax, dword [ebp - 0x290]
jge 0x417f75
mov ecx, dword [ebp - 0x278]
push ecx
lea edx, [ebp - 0x288]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00419890
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
push ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx]
push eax
call fcn.00537cf5
add esp, 8
mov dword [ebp - 0x298], eax
xor ecx, ecx
cmp dword [ebp - 0x298], 0
setg cl
mov byte [ebp - 0x284], cl
lea ecx, [ebp - 0x288]
call fcn.0054d328
mov edx, dword [ebp - 0x284]
and edx, 0xff
test edx, edx
je 0x417f70
push 1
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0054c655
mov dword [ebp - 0x274], 1
jmp 0x417f75
jmp 0x417eac
cmp dword [ebp - 0x274], 0
jne 0x417fa0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x2a0]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0054c5b3
mov eax, dword [ebp - 0x2a4]
cmp dword [eax + 4], 0
je 0x417fc1
mov ecx, dword [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x2a4]
mov ecx, dword [edx + 4]
call fcn.00551562
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.0054d328
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x270], eax
jmp 0x417e0e
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41801e
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x2a4]
call fcn.00418bd0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.0054d328
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10