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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x445008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov byte [ebp - 0x261], bl
mov esi, ecx
mov edi, dword [esi + 0x10]
test edi, edi
je 0x41815b
cmp dword [ebp + 0x2c], 0
je 0x418173
push 0x250
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00423800
mov eax, SysReAllocString
add esp, 0xc
sub eax, edi
cmp eax, 2
jb 0x41818f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417c9d
mov eax, dword [esi]
push 2
push 0x43f658
push edi
push eax
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x29c]
call fcn.004087d0
cmp dword [ebp - 0x288], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x29c]
cmovae eax, dword [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x268], eax
cmp ecx, 8
jb 0x417d26
mov edx, dword [ebp - 0x29c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417d16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
mov eax, dword [ebp - 0x268]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], cx
cmp eax, 0xffffffff
je 0x41815b
nop dword [eax]
mov ecx, 0x43b328
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417d86
test dx, dx
je 0x417d82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417d86
add eax, 4
add ecx, 4
test dx, dx
jne 0x417d60
xor eax, eax
jmp 0x417d8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x418131
mov ecx, 0x43f660
lea eax, [ebp - 0x234]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x417dc6
test dx, dx
je 0x417dc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417dc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x417da0
xor eax, eax
jmp 0x417dcb
sbb eax, eax
or eax, 1
test eax, eax
je 0x418131
mov eax, dword [ebp - 0x260]
test al, 4
jne 0x418131
test bl, bl
jne 0x417ef0
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x41818f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417e06
mov eax, dword [esi]
push 1
push 0x43b324
push ecx
push eax
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x2b4]
call fcn.004087d0
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x284]
call fcn.004080a0
add esp, 4
mov ecx, eax
call fcn.004185a0
mov ecx, dword [ebp - 0x270]
mov bl, al
cmp ecx, 8
jb 0x417e85
mov edx, dword [ebp - 0x284]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417e7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x2a0]
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp ecx, 8
jb 0x417ee2
mov edx, dword [ebp - 0x2b4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417ed8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
add esp, 8
test bl, bl
jne 0x418131
mov eax, dword [ebp - 0x260]
mov ecx, dword [esi + 0x10]
test al, 0x10
mov eax, SysReAllocString
je 0x41801b
sub eax, ecx
cmp eax, 1
jb 0x41818f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417f15
mov eax, dword [esi]
push 1
push 0x43b324
push ecx
push eax
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x2b4]
call fcn.004087d0
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x284]
call fcn.004080a0
sub esp, 0x24
mov ebx, eax
mov edi, esp
mov dword [edi + 0x24], 0
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x417f65
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov dl, byte [ebp - 0x261]
mov ecx, ebx
call fcn.00417c20
mov ecx, dword [ebp - 0x270]
add esp, 0x28
cmp ecx, 8
jb 0x417fb5
mov edx, dword [ebp - 0x284]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417fab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x2a0]
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
cmp ecx, 8
jb 0x418131
mov edx, dword [ebp - 0x2b4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41800c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
add esp, 8
jmp 0x418131
sub eax, ecx
cmp eax, 1
jb 0x41818f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x418030
mov eax, dword [esi]
push 1
push 0x43b324
push ecx
push eax
push ecx
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x2cc]
call fcn.004087d0
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x2e4]
call fcn.004080a0
mov ecx, dword [ebp + 0x2c]
add esp, 4
test ecx, ecx
je 0x418199
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x2d0]
cmp ecx, 8
jb 0x4180b7
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4180ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
add esp, 8
mov ecx, dword [ebp - 0x2b8]
xor eax, eax
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
cmp ecx, 8
jb 0x418114
mov edx, dword [ebp - 0x2cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41810a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push ecx
push edx
call fcn.004205b6
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
mov ebx, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x418154
mov bl, byte [ebp - 0x261]
jmp 0x417d50
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x418173
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420573
mov esp, ebp
pop ebp
ret
call fcn.00401640
call fcn.0042552f
call fcn.00421540
int3