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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5bfd
mov eax, dword fs:[0]
push eax
sub esp, 0x308
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 - 0x2a4], esi
mov dword [ebp - 0x2ac], 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 - 0x2d8], eax
cmp eax, 0xffffffff
jne 0x41d9d4
add dword [0x4e1900], 1
adc dword [0x4e1904], edi
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2b0], eax
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x2e8], 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41da16
sub ecx, edx
lea eax, [ebp - 0x274]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
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, 1
mov eax, dword [esi + 0x10]
inc eax
mov dword [ebp - 0x3c], 7
push eax
mov dword [ebp - 0x2ac], edi
call fcn.004089f0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41da70
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 - 0x2f8]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2d4]
call fcn.00413580
mov esi, eax
add esp, 4
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x41dad7
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 - 0x2c0]
cmp edx, 8
jb 0x41db17
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2c1
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, 0xfffffffe
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
mov dword [ebp - 0x2ac], edi
cmp edx, 8
jb 0x41db7b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2c6
push edx
push ecx
call fcn.00462702
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x41dbd3
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dbc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2cb
push edx
push ecx
call fcn.00462702
add esp, 8
test byte [ebp - 0x2a0], 0x10
jne 0x41e005
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 0x41dc0a
mov byte [ebp - 4], 5
jmp 0x41e064
push eax
call fcn.00482c03
mov byte [ebp - 0x2fc], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x2d4]
call fcn.00411aa0
add esp, 8
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 9
call fcn.00413130
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c0]
mov byte [ebp - 0x2a5], al
cmp edx, 8
jb 0x41dc8d
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dc7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2d0
push edx
push ecx
call fcn.00462702
mov al, byte [ebp - 0x2a5]
add esp, 8
test al, al
je 0x41dd22
mov byte [ebp - 0x300], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2d4]
call fcn.00411aa0
add esp, 4
lea ecx, [ebp - 0x2d4]
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 - 0x2c0]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], eax
cmp edx, 8
jb 0x41dd22
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2d5
push edx
push ecx
call fcn.00462702
add esp, 8
mov byte [ebp - 0x304], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x304]
lea ecx, [ebp - 0x2f8]
call fcn.00411aa0
add esp, 4
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2f8]
call fcn.004128b0
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0040fa70
or edi, 0x80
mov dword [ebp - 0x2ac], edi
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c0]
cmp edx, 8
jb 0x41ddb6
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ddac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2da
push edx
push ecx
call fcn.00462702
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x2e4]
cmp edx, 8
jb 0x41de17
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41de0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2df
push edx
push ecx
call fcn.00462702
add esp, 8
mov esi, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov edi, 0x4d8b50
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2bc], esi
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x41de52
mov edx, dword [edi]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x40]
cmovae ecx, esi
cmp eax, dword [edi + 0x10]
jne 0x41dedd
mov esi, eax
sub esi, 4
jb 0x41de81
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41de86
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41de70
cmp esi, 0xfffffffc
je 0x41deba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41deb3
cmp esi, 0xfffffffd
je 0x41deba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41deb3
cmp esi, 0xfffffffe
je 0x41deba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x41deb3
cmp esi, 0xffffffff
je 0x41deba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x41deba
sbb eax, eax
or eax, 1
jmp 0x41debc
xor eax, eax
mov ecx, dword [ebp - 0x2b4]
test eax, eax
mov esi, dword [ebp - 0x2bc]
mov eax, 1
cmove ecx, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2b4], ecx
jmp 0x41dee3
mov ecx, dword [ebp - 0x2b4]
add edi, 0x18
cmp edi, 0x4d8df0
jl 0x41de48
mov edx, dword [ebp - 0x2b8]
test edx, edx
jl 0x41df81
mov edi, dword [ebp - 0x2b0]
jg 0x41df10
cmp edi, 0x1400001
jbe 0x41df81
cmp ecx, 1
jne 0x41df81
cmp eax, 7
je 0x41df81
push edx
push edi
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
call fcn.00409010
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x24]
mov dword [ebp - 0x2b4], esp
mov ecx, esp
push eax
call fcn.00408b50
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0xc]
mov dword [ebp - 0x308], esp
mov ecx, esp
push eax
call fcn.00408b50
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.00408b50
mov byte [ebp - 4], 0xf
call fcn.00418c30
mov esi, dword [ebp - 0x50]
add esp, 0x68
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x41dfb8
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x41dfae
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2e4
push ecx
push esi
call fcn.00462702
add esp, 8
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x2ac]
jmp 0x41e064
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x274]
push 0x4c1528
push eax
call esi
test eax, eax
je 0x41e064
push 0x4c152c
lea eax, [ebp - 0x274]
push eax
call esi
test eax, eax
je 0x41e064
push ecx
push 0x4c1618
lea ecx, [ebp - 0x38]
call fcn.004133b0
cmp eax, 0xffffffff
jne 0x41e064
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
cmp dword [ebp - 0x18], eax
je 0x41e05b
mov ecx, eax
call fcn.00408b50
add dword [ebp - 0x1c], 0x18
jmp 0x41e064
push eax
lea ecx, [ebp - 0x20]
call fcn.00413830
mov esi, dword [ebp - 0x2a4]
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x2d8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d9f0
push dword [ebp - 0x2d8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x41e0eb
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x30c], esp
push eax
call fcn.00409010
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x24]
mov dword [ebp - 0x308], esp
mov ecx, esp
push eax
call fcn.00408b50
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00408b50
push esi
mov byte [ebp - 4], 5
call fcn.0041d930
add esp, 0x4c
add esi, 0x18
jmp 0x41e097
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x41e125
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e11b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2e9
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 0x41e193
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 0x41e189
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2ee
push ecx
push esi
call fcn.00462702
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x41e213
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2f3
jmp 0x41e209
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 0x41e261
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e257
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2f8
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 0x41e2a5
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e29b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e2fd
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
int3