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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5b0f
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x4d8114]
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 esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 4], edi
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push 0x4c1610
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004101d0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a0]
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
jne 0x41cf64
add dword [0x4e1900], 1
adc dword [0x4e1904], edi
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2b0], eax
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x2e4], 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x2e0], 7
mov word [ebp - 0x2f4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cfa6
sub ecx, edx
lea eax, [ebp - 0x274]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.0040d030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
or edi, 2
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x3c], 7
push eax
mov dword [ebp - 0x2a8], edi
call fcn.004089f0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41d000
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x50]
push eax
call fcn.00408ae0
push 1
push 0x4c0c50
lea ecx, [ebp - 0x50]
call fcn.00408ae0
lea eax, [ebp - 0x2f4]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2d0]
call fcn.00413580
mov esi, eax
add esp, 4
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x41d067
mov ecx, eax
call fcn.00404fd0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x41d0a7
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d09d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8db
push edx
push ecx
call fcn.00462702
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3c]
and edi, 0xfffffffd
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
mov dword [ebp - 0x2a8], edi
cmp edx, 8
jb 0x41d10b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8e0
push edx
push ecx
call fcn.00462702
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x41d163
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d159
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8e5
push edx
push ecx
call fcn.00462702
add esp, 8
test byte [ebp - 0x2a0], 0x10
jne 0x41d61f
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push 0x4c0ca8
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00485171
add esp, 8
test eax, eax
jne 0x41d19a
mov byte [ebp - 4], 5
jmp 0x41d67e
push eax
call fcn.00482c03
mov byte [ebp - 0x2f8], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2d0]
call fcn.00411aa0
add esp, 8
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 9
call fcn.00413130
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2bc]
mov byte [ebp - 0x2a1], al
cmp edx, 8
jb 0x41d21d
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d20d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8ea
push edx
push ecx
call fcn.00462702
mov al, byte [ebp - 0x2a1]
add esp, 8
test al, al
je 0x41d2b2
mov byte [ebp - 0x2fc], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x2d0]
call fcn.00411aa0
add esp, 4
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0xa
call fcn.004130d0
mov ecx, eax
mov byte [ebp - 4], 8
mov eax, edx
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d8], eax
cmp edx, 8
jb 0x41d2b2
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d2a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8ef
push edx
push ecx
call fcn.00462702
add esp, 8
mov byte [ebp - 0x300], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2f4]
call fcn.00411aa0
add esp, 4
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2f4]
call fcn.004128b0
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0040fa70
or edi, 0x100
mov dword [ebp - 0x2a8], edi
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x41d346
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d33c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8f4
push edx
push ecx
call fcn.00462702
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x2e0]
cmp edx, 8
jb 0x41d3a7
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d39d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8f9
push edx
push ecx
call fcn.00462702
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e4], 0
xor esi, esi
mov dword [ebp - 0x2e0], 7
mov word [ebp - 0x2f4], ax
mov edi, 0x4d8b50
mov dword [ebp - 0x2b8], esi
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x41d3db
mov ecx, dword [edi]
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x40]
cmovae edx, dword [ebp - 0x50]
cmp eax, dword [edi + 0x10]
jne 0x41d457
mov esi, eax
sub esi, 4
jb 0x41d406
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41d40b
add edx, 4
add ecx, 4
sub esi, 4
jae 0x41d3f5
cmp esi, 0xfffffffc
je 0x41d43f
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x41d438
cmp esi, 0xfffffffd
je 0x41d43f
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x41d438
cmp esi, 0xfffffffe
je 0x41d43f
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x41d438
cmp esi, 0xffffffff
je 0x41d43f
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x41d43f
sbb eax, eax
or eax, 1
jmp 0x41d441
xor eax, eax
mov esi, dword [ebp - 0x2b8]
test eax, eax
mov eax, 1
cmove esi, eax
mov dword [ebp - 0x2b8], esi
add edi, 0x18
cmp edi, 0x4d8df0
jl 0x41d3d1
mov edi, dword [ebp - 0x2b4]
test edi, edi
jl 0x41d4c7
jg 0x41d47e
cmp dword [ebp - 0x2b0], 0x100000
jbe 0x41d4c7
mov byte [ebp - 0x304], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x304]
lea ecx, [ebp - 0x330]
call fcn.00411aa0
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x330]
or dword [ebp - 0x2a8], 1
call fcn.00413130
test al, al
je 0x41d4c7
test esi, esi
jne 0x41d4c7
cmp dword [ebp - 0x40], 7
mov byte [ebp - 0x2a1], 1
jne 0x41d4ce
mov byte [ebp - 0x2a1], 0
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x2a8]
test al, 1
je 0x41d528
mov edx, dword [ebp - 0x31c]
and eax, 0xfffffffe
mov dword [ebp - 0x2a8], eax
cmp edx, 8
jb 0x41d528
mov ecx, dword [ebp - 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d51e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8fe
push edx
push ecx
call fcn.00462702
add esp, 8
cmp byte [ebp - 0x2a1], 0
je 0x41d59a
push edi
push dword [ebp - 0x2b0]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push eax
call fcn.00409010
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x24]
mov dword [ebp - 0x308], esp
mov ecx, esp
push eax
call fcn.00408b50
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30c], esp
mov ecx, esp
push eax
call fcn.00408b50
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.00408b50
mov byte [ebp - 4], 0xf
call fcn.00417610
add esp, 0x68
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41d5d2
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d5c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d903
push edx
push ecx
call fcn.00462702
add esp, 8
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x2a8]
jmp 0x41d67e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x274]
push 0x4c1528
push eax
call esi
test eax, eax
je 0x41d67e
push 0x4c152c
lea eax, [ebp - 0x274]
push eax
call esi
test eax, eax
je 0x41d67e
push ecx
push 0x4c1618
lea ecx, [ebp - 0x38]
call fcn.004133b0
cmp eax, 0xffffffff
jne 0x41d67e
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
cmp dword [ebp - 0x18], eax
je 0x41d675
mov ecx, eax
call fcn.00408b50
add dword [ebp - 0x1c], 0x18
jmp 0x41d67e
push eax
lea ecx, [ebp - 0x20]
call fcn.00413830
mov esi, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41cf80
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x41d705
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x310], esp
push eax
call fcn.00409010
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0x24]
mov dword [ebp - 0x30c], esp
mov ecx, esp
push eax
call fcn.00408b50
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00408b50
push esi
mov byte [ebp - 4], 5
call fcn.0041cec0
add esp, 0x4c
add esi, 0x18
jmp 0x41d6b1
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x41d73f
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d735
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d908
push edx
push ecx
call fcn.00462702
add esp, 8
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
test ecx, ecx
je 0x41d7ad
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.00413a40
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41d7a3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d90d
push ecx
push esi
call fcn.00462702
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x41d82d
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d823
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d912
jmp 0x41d823
push edx
push ecx
call fcn.00462702
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x41d87b
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d917
push edx
push ecx
call fcn.00462702
add esp, 8
mov edx, dword [ebp + 0x50]
xor eax, eax
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
cmp edx, 0x10
jb 0x41d8bf
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d8b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d91c
push edx
push ecx
call fcn.00462702
add esp, 8
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.0046219f
mov esp, ebp
pop ebp
ret
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
call fcn.0048486d
int3