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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4780c1
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x694], edx
mov ebx, ecx
mov dword [ebp - 0x698], ebx
cmp dword [0x4a1c30], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x690], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68c], edi
mov dword [ebp - 0x688], eax
jne 0x41de8b
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41dd80
sub esi, ecx
sar esi, 1
test ebx, ebx
je 0x41de8b
test esi, esi
je 0x41de8b
test edi, edi
je 0x41de8b
push ecx
mov edx, ebx
lea ecx, [ebp - 0x678]
call fcn.00430100
push dword [eax]
push str._r_n_s_r_n_r_n
push dword [edi + 4]
call fcn.0041dad0
mov edx, dword [ebp - 0x678]
add esp, 0x10
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41dde5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x424]
mov dword [ebp - 4], 0
mov ecx, ebx
sub edx, ebx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x41de00
lea eax, [ebx - 2]
cmp word [eax + esi*2], 0x5c
lea eax, [eax + esi*2]
mov dword [ebp - 0x69c], eax
je 0x41de43
lea edi, [ebp - 0x424]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41de30
mov eax, dword [0x48edf8]
mov dword [edi], eax
lea edi, [ebp - 0x424]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41de50
mov eax, dword [0x490e54]
mov dword [edi], eax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x678], esi
cmp esi, 0xffffffff
jne 0x41dea7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
push 0
push 0
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x67c], 0
call fcn.00415960
mov ebx, eax
mov dword [ebp - 0x680], ebx
mov byte [ebp - 4], 1
xor eax, eax
test eax, eax
jne 0x41e0e6
cmp dword [0x4a1c30], eax
jne 0x41e0e6
mov eax, dword [ebp - 0x698]
lea edx, [ebp - 0x21c]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x41def4
mov eax, dword [ebp - 0x69c]
cmp word [eax], 0x5c
je 0x41df33
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41df20
mov eax, dword [0x48edf8]
mov dword [edi], eax
lea edx, [ebp - 0x648]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41df40
lea edi, [ebp - 0x21c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41df56
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x674]
shr esi, 4
and esi, 1
je 0x41e01d
mov ecx, 0x490e58
lea eax, [ebp - 0x648]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41dfb6
test dx, dx
je 0x41dfb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41dfb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41df90
xor eax, eax
jmp 0x41dfbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41dfff
mov ecx, 0x490e5c
lea eax, [ebp - 0x648]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41dff6
test dx, dx
je 0x41dff2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41dff6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41dfd0
xor eax, eax
jmp 0x41dffb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41e01d
mov esi, dword [ebp - 0x678]
lea eax, [ebp - 0x674]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
neg eax
sbb eax, eax
inc eax
jmp 0x41ded2
mov eax, dword [ebp - 0x690]
test eax, eax
je 0x41e04e
cmp dword [ebp + 8], esi
je 0x41e04e
push dword [ebp - 0x68c]
lea ecx, [ebp - 0x648]
push dword [ebp - 0x65c]
push dword [ebp - 0x660]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
call eax
test esi, esi
je 0x41dfff
cmp dword [ebp - 0x694], 0
je 0x41dfff
mov ecx, dword [ebp - 0x688]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x41e079
mov edx, ecx
lea ecx, [ebp - 0x21c]
call fcn.0041daf0
test eax, eax
jne 0x41dfff
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x684]
call fcn.00407540
lea eax, [ebp - 0x684]
mov byte [ebp - 4], 2
push eax
push dword [ebx + 4]
push ebx
call fcn.0041e820
mov edx, dword [ebp - 0x67c]
mov ecx, 0x15555554
sub ecx, edx
mov esi, eax
cmp ecx, 1
jae 0x41e0bd
push str.list_T__too_long
call fcn.0044ed9a
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x684]
mov eax, dword [esi + 4]
inc edx
mov dword [ebp - 0x67c], edx
mov byte [ebp - 4], 1
mov dword [eax], esi
call fcn.00407520
mov ebx, dword [ebp - 0x680]
jmp 0x41dfff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebx]
nop
cmp edi, ebx
je 0x41e19a
mov ecx, dword [edi + 8]
sub ecx, 0x10
call fcn.004087c0
lea esi, [eax + 0x10]
mov dword [ebp - 0x678], esi
mov byte [ebp - 4], 3
cmp dword [esi - 4], 1
jle 0x41e12a
push dword [esi - 0xc]
lea ecx, [ebp - 0x678]
call fcn.00408520
mov esi, dword [ebp - 0x678]
push dword [ebp - 0x688]
mov edx, dword [ebp - 0x694]
mov ecx, esi
push dword [ebp - 0x68c]
push dword [ebp - 0x690]
push dword [ebp + 8]
call fcn.0041dd10
add esp, 0x10
push dword [esi - 8]
push esi
call fcn.0045ffc5
add esp, 8
test eax, eax
js 0x41e190
cmp eax, dword [esi - 8]
jg 0x41e190
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add esi, 0xfffffff0
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e189
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [edi]
jmp 0x41e0f0
push 0x80070057
call fcn.004064f0
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0
call fcn.00413b10
push dword [ebp - 0x680]
call fcn.00458d05
add esp, 4
jmp 0x41de8b