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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e5dd
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x4d1114]
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 0x4ba420
mov edx, esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00410230
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 0x41d964
add dword [0x4da7d8], 1
adc dword [0x4da7dc], 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 0x41d9a6
sub ecx, edx
lea eax, [ebp - 0x274]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.0040d000
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.00408970
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41da00
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x50]
push eax
call fcn.00408a60
push 1
push 0x4b9a60
lea ecx, [ebp - 0x50]
call fcn.00408a60
lea eax, [ebp - 0x2f8]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2d4]
call fcn.00413570
mov esi, eax
add esp, 4
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x41da67
mov ecx, eax
call fcn.00404f50
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 0x41daa7
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41da9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e247
push edx
push ecx
call fcn.0045e56f
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 0x41db0b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e24c
push edx
push ecx
call fcn.0045e56f
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 0x41db63
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e251
push edx
push ecx
call fcn.0045e56f
add esp, 8
test byte [ebp - 0x2a0], 0x10
jne 0x41df95
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push 0x4b9ab8
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.00480fbc
add esp, 8
test eax, eax
jne 0x41db9a
mov byte [ebp - 4], 5
jmp 0x41dff4
push eax
call fcn.0047ea63
mov byte [ebp - 0x2fc], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x2d4]
call fcn.00411a90
add esp, 8
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 9
call fcn.00413120
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c0]
mov byte [ebp - 0x2a5], al
cmp edx, 8
jb 0x41dc1d
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dc0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e256
push edx
push ecx
call fcn.0045e56f
mov al, byte [ebp - 0x2a5]
add esp, 8
test al, al
je 0x41dcb2
mov byte [ebp - 0x300], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x300]
lea ecx, [ebp - 0x2d4]
call fcn.00411a90
add esp, 4
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0xa
call fcn.004130c0
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 0x41dcb2
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dca8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e25b
push edx
push ecx
call fcn.0045e56f
add esp, 8
mov byte [ebp - 0x304], 0
lea edx, [ebp - 0x38]
push dword [ebp - 0x304]
lea ecx, [ebp - 0x2f8]
call fcn.00411a90
add esp, 4
lea eax, [ebp - 0x2d4]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2f8]
call fcn.004128a0
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0040fad0
or edi, 0x80
mov dword [ebp - 0x2ac], edi
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c0]
cmp edx, 8
jb 0x41dd46
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e260
push edx
push ecx
call fcn.0045e56f
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 0x41dda7
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e265
push edx
push ecx
call fcn.0045e56f
add esp, 8
mov esi, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov edi, 0x4d1b50
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 0x41dde2
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 0x41de6d
mov esi, eax
sub esi, 4
jb 0x41de11
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41de16
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41de00
cmp esi, 0xfffffffc
je 0x41de4a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41de43
cmp esi, 0xfffffffd
je 0x41de4a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41de43
cmp esi, 0xfffffffe
je 0x41de4a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x41de43
cmp esi, 0xffffffff
je 0x41de4a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x41de4a
sbb eax, eax
or eax, 1
jmp 0x41de4c
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 0x41de73
mov ecx, dword [ebp - 0x2b4]
add edi, 0x18
cmp edi, 0x4d1df0
jl 0x41ddd8
mov edx, dword [ebp - 0x2b8]
test edx, edx
jl 0x41df11
mov edi, dword [ebp - 0x2b0]
jg 0x41dea0
cmp edi, 0x1400001
jbe 0x41df11
cmp ecx, 1
jne 0x41df11
cmp eax, 7
je 0x41df11
push edx
push edi
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
call fcn.00408f90
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x24]
mov dword [ebp - 0x2b4], esp
mov ecx, esp
push eax
call fcn.00408ad0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0xc]
mov dword [ebp - 0x308], esp
mov ecx, esp
push eax
call fcn.00408ad0
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.00408ad0
mov byte [ebp - 4], 0xf
call fcn.00418c10
mov esi, dword [ebp - 0x50]
add esp, 0x68
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x41df48
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x41df3e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e26a
push ecx
push esi
call fcn.0045e56f
add esp, 8
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x2ac]
jmp 0x41dff4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x274]
push 0x4ba338
push eax
call esi
test eax, eax
je 0x41dff4
push 0x4ba33c
lea eax, [ebp - 0x274]
push eax
call esi
test eax, eax
je 0x41dff4
push ecx
push 0x4ba428
lea ecx, [ebp - 0x38]
call fcn.004133a0
cmp eax, 0xffffffff
jne 0x41dff4
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push ecx
cmp dword [ebp - 0x18], eax
je 0x41dfeb
mov ecx, eax
call fcn.00408ad0
add dword [ebp - 0x1c], 0x18
jmp 0x41dff4
push eax
lea ecx, [ebp - 0x20]
call fcn.00413820
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 0x41d980
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 0x41e07b
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x30c], esp
push eax
call fcn.00408f90
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x24]
mov dword [ebp - 0x308], esp
mov ecx, esp
push eax
call fcn.00408ad0
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00408ad0
push esi
mov byte [ebp - 4], 5
call fcn.0041d8c0
add esp, 0x4c
add esi, 0x18
jmp 0x41e027
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x41e0b5
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e0ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e26f
push edx
push ecx
call fcn.0045e56f
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 0x41e123
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.00413a30
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 0x41e119
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e274
push ecx
push esi
call fcn.0045e56f
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x41e199
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e18f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e279
jmp 0x41e18f
push edx
push ecx
call fcn.0045e56f
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 0x41e1e7
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e1dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e27e
push edx
push ecx
call fcn.0045e56f
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 0x41e22b
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e221
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e283
push edx
push ecx
call fcn.0045e56f
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.0045e00c
mov esp, ebp
pop ebp
ret
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
call fcn.004806b8
int3