Function at 0x41e820
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x29b8
call fcn.0042cc90
mov eax, dword [0x48706c]
xor eax, esp
mov dword [esp + 0x29b4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1bc]
push str._s.
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], esi
call fcn.0041e2a0
add esp, 0xc
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x41eaf4
mov ecx, 0x47a4d8
lea eax, [esp + 0xa4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41e8b6
test dl, dl
je 0x41e8b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41e8b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x41e896
xor eax, eax
jmp 0x41e8bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41eaf0
mov eax, 0x47cfcc
lea ecx, [esp + 0xa4]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41e8f0
test dl, dl
je 0x41e8ec
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41e8f0
add ecx, 2
add eax, 2
test dl, dl
jne 0x41e8d0
xor eax, eax
jmp 0x41e8f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41eaf0
mov eax, dword [esp + 0x78]
test eax, 0x400
jne 0x41eaf0
test al, 0x10
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x1c0]
je 0x41e94a
push str._s_s_
push eax
call fcn.0041e2a0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c8]
add esp, 0x10
push edi
push eax
call fcn.0041e820
add esi, eax
jmp 0x41eaec
push str._s_s
push eax
call fcn.0041e2a0
add esp, 0x10
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
push eax
push 0
push 0
push 7
lea eax, [esp + 0x1c8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
jne 0x41eaf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41eaf0
push dword [esp + 0x24]
call fcn.0042c275
add esp, 4
mov esi, eax
push dword [esp + 0x24]
push 0
push esi
call fcn.00443a10
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x1c0]
push esi
push 7
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
test eax, eax
je 0x41eaa7
lea eax, [esp + 0x2c]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41eaa7
lea eax, [esp + 0x28]
push eax
push 2
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41eaa7
lea eax, [esp + 0x40]
mov dword [esp + 0x34], 0xc0000000
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x44], 0x120089
push eax
mov dword [esp + 0x4c], 0x120116
mov dword [esp + 0x50], 0x1200a0
mov dword [esp + 0x54], 0x1f01ff
call dword [sym.imp.ADVAPI32.dll_MapGenericMask]
lea eax, [esp + 0x30]
mov dword [esp + 0x60], 0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x14
push eax
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x50]
movaps xmmword [esp + 0x60], xmm0
push eax
push dword [esp + 0x48]
push dword [esp + 0x40]
push esi
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
neg eax
sbb eax, eax
and dword [esp + 0x30], eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41eac8
push esi
call fcn.0042bad6
add esp, 4
cmp dword [esp + 0x30], 0
mov esi, dword [esp + 0x18]
setne al
test al, al
je 0x41eaf0
mov eax, dword [esp + 0x98]
add dword [edi], eax
mov ecx, dword [esp + 0x94]
adc dword [edi + 4], ecx
inc esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x41e881
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x29bc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0042bac5
mov esp, ebp
pop ebp
ret 8