Function at 0x41dec2
Capabilities:
Enumerate files on windows

Disassembly:
push 0x288
mov eax, 0x5be327
call fcn.00542a1f
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push 0x250
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x260]
push edi
push eax
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], 0x80004005
call fcn.00548bf0
add esp, 0xc
lea ecx, [ebp - 0x26c]
push esi
call fcn.0041f59d
lea ecx, [ebp - 0x284]
mov dword [ebp - 4], edi
call fcn.0040b03f
push 1
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041e95d
mov edx, 0x5fb114
mov ecx, dword [eax]
call fcn.0041f004
mov ecx, dword [ebp - 0x268]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.0040c134
test esi, esi
je 0x41df69
push 0x5fb114
lea ecx, [ebp - 0x26c]
call fcn.0041f6b6
push 0x5fe134
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x268]
call fcn.0041e8d9
pop ecx
push eax
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 2
call fcn.0041ea9c
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.0040c134
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], edi
mov byte [ebp - 4], 3
test ebx, ebx
je 0x41e0b4
lea ecx, [ebp - 0x264]
call fcn.0040b03f
push ebx
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 4
call fcn.0041f8db
lea ecx, [ebp - 0x270]
call fcn.0040b03f
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 5
push eax
push ecx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x268], edi
push eax
lea ecx, [ebp - 0x264]
call fcn.0041f2c0
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x270]
call fcn.0041ea9c
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.0040c134
mov esi, dword [ebp - 0x270]
mov edx, 0x5f9b70
mov ecx, esi
call fcn.0041f004
test eax, eax
je 0x41e09a
mov edi, dword [ebp - 0x27c]
cmp edi, dword [ebp - 0x278]
je 0x41e064
add esi, 0xfffffff0
push esi
call fcn.0041f0c0
add eax, 0x10
mov dword [edi], eax
add dword [ebp - 0x27c], 4
pop ecx
jmp 0x41e077
lea eax, [ebp - 0x270]
push eax
push edi
lea ecx, [ebp - 0x280]
call fcn.0041ec4e
lea eax, [ebp - 0x268]
push eax
push ecx
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x264]
call fcn.0041f2c0
mov byte [ebp - 4], 7
jmp 0x41e00a
lea ecx, [esi - 0x10]
call fcn.0040c134
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.0040c134
mov edi, dword [ebp - 0x284]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x264], esi
cmp esi, 0xffffffff
je 0x41e271
push 4
mov ecx, 0x5fe13c
lea eax, [ebp - 0x234]
pop ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e10b
test dx, dx
je 0x41e107
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e10b
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x41e0e7
xor eax, eax
jmp 0x41e110
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e24d
mov ecx, 0x5fe140
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e147
test dx, dx
je 0x41e143
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e147
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x41e123
xor eax, eax
jmp 0x41e14c
sbb eax, eax
or eax, 1
test eax, eax
je 0x41e24d
cmp word [ebp - 0x234], 0x2e
je 0x41e24d
mov eax, dword [ebp - 0x27c]
mov ebx, dword [ebp - 0x280]
mov dword [ebp - 0x274], eax
cmp ebx, eax
je 0x41e1b7
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.0041f0c0
lea esi, [eax + 0x10]
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.00577501
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
test eax, eax
je 0x41e20a
call fcn.0040c134
add ebx, 4
cmp ebx, dword [ebp - 0x274]
jne 0x41e178
mov esi, dword [ebp - 0x264]
test byte [ebp - 0x260], 2
jne 0x41e24d
test byte [ebp - 0x260], 0x10
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x26c]
push eax
je 0x41e211
lea ecx, [ebp - 0x268]
call fcn.0041e8d9
pop ecx
mov ebx, dword [ebp - 0x288]
push dword [ebp - 0x290]
mov byte [ebp - 4], 9
push dword [eax]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x268]
jmp 0x41e239
call fcn.0040c134
jmp 0x41e247
lea ecx, [ebp - 0x270]
call fcn.0041e8d9
pop ecx
mov edx, dword [ebp - 0x288]
mov byte [ebp - 4], 0xa
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
mov esi, eax
call fcn.0040c134
test esi, esi
jne 0x41e271
mov esi, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41e0d9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
and dword [ebp - 0x28c], 0
mov esi, dword [ebp - 0x280]
test esi, esi
je 0x41e2c4
mov ebx, dword [ebp - 0x27c]
cmp esi, ebx
je 0x41e29c
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.0040c134
add esi, 4
cmp esi, ebx
jne 0x41e285
mov esi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x278]
sub eax, esi
and eax, 0xfffffffc
push eax
push esi
call fcn.00404013
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
lea ecx, [edi - 0x10]
call fcn.0040c134
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0040c134
mov eax, dword [ebp - 0x28c]
call fcn.005429ce
ret 0xc