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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov byte [ebp - 0x14], 1
mov edi, 0x104
mov dword [ebp - 0x18], eax
push edi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x10], edi
mov esi, edx
mov ebx, ecx
push eax
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x474], ebx
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [ebp - 0x220]
add esp, 0xc
cmp byte [ebp - 0x14], al
sete al
dec eax
and eax, 0x7ee3
add eax, edi
push eax
call fcn.0040e3f0
xor edi, edi
test eax, eax
js 0x41516c
mov dword [esi], 1
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, di
jne 0x414f3c
sub esi, ecx
sar esi, 1
je 0x420c5d
lea eax, [esi + 3]
cmp eax, 0x7fe7
ja 0x41512d
lea eax, [ebp - 0x470]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x420c67
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x470]
test al, 0x10
je 0x41512d
test eax, 0x400
jne 0x420c7d
push ebx
lea ecx, [ebp - 0x220]
call fcn.0040a641
movzx eax, word [ebx + esi*2 - 2]
cmp eax, 0x3a
je 0x414fc8
cmp eax, 0x5c
je 0x414fc8
push 0x40250c
lea ecx, [ebp - 0x220]
call fcn.0041232c
inc esi
push 0x402670
lea ecx, [ebp - 0x220]
call fcn.0041232c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420c8e
lea ecx, [ebp - 0x470]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov dword [ebp - 0x47c], eax
cmp eax, 0xffffffff
je 0x41512d
cmp dword [0x43159c], 0
jne 0x415111
lea edx, [ebp - 0x23c]
xor ebx, ebx
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41501a
sub ecx, edi
sar ecx, 1
jne 0x415045
lea edx, [ebp - 0x444]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x415036
sub ecx, edi
sar ecx, 1
lea eax, [ecx + esi]
cmp eax, 0x7fe7
jae 0x420ec0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420c99
push edx
mov edx, dword [ebp - 0x10]
lea ecx, [eax + esi*2]
sub edx, esi
call fcn.0040f3a0
mov ebx, dword [ebp - 0x470]
test bl, 0x10
je 0x420d1e
push 4
mov ecx, 0x402434
lea eax, [ebp - 0x444]
pop ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415159
test dx, dx
je 0x4150b1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415159
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x415089
xor edi, edi
mov eax, edi
test eax, eax
je 0x4150f6
mov ecx, 0x402510
lea eax, [ebp - 0x444]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415165
test dx, dx
je 0x4150ec
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415165
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x4150c4
mov eax, edi
test eax, eax
jne 0x420ca4
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x415000
mov ebx, dword [ebp - 0x474]
mov eax, dword [ebp - 0x47c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
cmp dword [0x43159c], 0
jne 0x415171
mov ecx, ebx
call fcn.00415271
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x415148
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b50
leave
ret
sbb eax, eax
or eax, 1
xor edi, edi
jmp 0x4150b5
sbb eax, eax
or eax, 1
jmp 0x4150ee
push 8
pop esi
jmp 0x415136
mov esi, edi
jmp 0x415136
mov esi, 0xa1
jmp 0x415136
push 0x10
pop eax
mov ecx, edi
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x44c], ecx
jmp 0x414f89
test ecx, 0x20000000
jne 0x41512d
jmp 0x414f9c
lea eax, [ebp - 0x220]
jmp 0x414fe3
lea eax, [ebp - 0x220]
jmp 0x41505e
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x420cb1
lea ecx, [ebp - 0x220]
lea edx, [ebp - 0x480]
call fcn.00414ec1
cmp dword [0x43159c], 0
jne 0x415111
test eax, eax
je 0x4150f6
mov ecx, dword [ebp - 0x478]
mov dword [ecx], edi
cmp eax, 0x91
jne 0x420ced
cmp dword [ebp - 0x480], 0
je 0x4150f6
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x420cfa
lea eax, [ebp - 0x220]
push eax
push 1
push 0x4000271b
call fcn.004078e4
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
call fcn.004078e4
pop ecx
pop ecx
jmp 0x4150f6
test bl, 1
je 0x420d3d
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x420d30
lea ecx, [ebp - 0x220]
mov eax, ebx
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x420d4a
lea ecx, [ebp - 0x220]
mov edx, ebx
call fcn.00414759
test eax, eax
je 0x420eb9
cmp eax, 0x4d3
je 0x420ee6
cmp eax, 3
jne 0x420db5
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x420d76
lea eax, [ebp - 0x220]
push 4
push 0x403f94
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x420db5
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x420d98
lea eax, [ebp - 0x220]
xor edi, edi
push edi
push edi
push edi
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
cmp eax, 0x7fe7
jbe 0x420db7
push 0x6f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
jmp 0x420db7
xor edi, edi
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x420dc0
mov eax, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
je 0x420e1b
test eax, eax
jne 0x420dde
lea eax, [ebp - 0x220]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x444]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x420ded
sub ecx, edx
sar ecx, 1
lea eax, [ecx + esi]
lea ecx, [ebp - 0x220]
cmp eax, 0x7fe7
jb 0x420e66
lea eax, [ebp - 0x23c]
push eax
call fcn.0041232c
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x420e25
lea eax, [ebp - 0x220]
push eax
push 1
push 0x4000271b
call fcn.004078e4
add esp, 0xc
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push eax
call fcn.004078e4
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
test eax, eax
jne 0x420e51
lea eax, [ebp - 0x220]
push ebx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x478]
mov dword [eax], edi
jmp 0x4150f6
lea eax, [ebp - 0x444]
push eax
call fcn.0041232c
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x420e7f
lea eax, [ebp - 0x220]
push eax
push 1
push 0x4000271b
call fcn.004078e4
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
jne 0x420e9c
lea eax, [ebp - 0x220]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0041232c
jmp 0x420e35
xor edi, edi
jmp 0x4150f6
mov eax, dword [ebp - 0x478]
xor edi, edi
mov ebx, dword [ebp - 0x474]
push edx
push ebx
push 2
push 0x400023da
mov dword [eax], edi
call fcn.004078e4
add esp, 0x10
jmp 0x415117
xor edi, edi
jmp 0x415111