Function at 0x41b7c0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x36a]
push ebx
xor esi, esi
mov ebx, ecx
sub esp, 0x44c
mov dword [ebp - 0x374], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], str._s.
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x370], pe_nt_image_headers32
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov byte [ebp - 0x36c], 0
mov dword [ebp - method.Pg.virtual_0], vtable.Pg.0
mov word [ebp - 0x36a], si
mov dword [esp], eax
call fcn.00403a60
mov eax, dword [ebp - 0x374]
lea edi, [ebp - 0x268]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebx + 0x14]
sub esp, 8
lea ebx, [ebp - 0x23c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov edx, dword [ebp + 8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0x430], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x41b9c0
test byte [ebp - 0x268], 0x10
je 0x41b8f0
mov dword [esp + 4], 0x7304e2
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x41b867
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x7304e8
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403a60
mov ecx, dword [0x847078]
test ecx, ecx
jne 0x41b867
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x42c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x374]
mov dword [esp], eax
call fcn.0041b7c0
sub esp, 8
jmp 0x41b867
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
cmp eax, 2
jbe 0x41b867
lea eax, [eax + eax - 6]
mov dword [esp + 4], 0x730534
mov dword [ebp - 0x434], eax
add eax, ebx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x41b9f2
mov eax, dword [ebp - 0x42c]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x41c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.00414db0
mov eax, dword [ebp - 0x42c]
sub esp, 0xc
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x10]
je 0x41bbc4
test ecx, ecx
je 0x41b978
lea edx, [ebp - 0x41c]
mov dword [esp], edx
call fcn.005f8460
mov eax, dword [ebp - 0x42c]
sub esp, 4
mov ecx, dword [eax + 0xc]
add ecx, 0xa0
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x41c]
call fcn.005f8a40
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x434], eax
sub eax, 0xa0
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call fcn.0060b170
sub esp, 4
jmp 0x41b867
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x378]
sub esp, 4
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x41b9e8
mov dword [esp], eax
call fcn.006febd0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str..inf
lea eax, [ebx + eax - 2]
mov dword [ebp - 0x434], eax
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x41bba0
mov edx, dword [0x847078]
test edx, edx
jne 0x41b867
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x730278
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403a60
mov eax, dword [ebp - 0x374]
mov dword [esp + 4], 0x73028c
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [ebp - 0x434], eax
call fcn.005e9f50
mov eax, dword [ebp - 0x434]
mov dword [esp], eax
call fcn.005e9c30
mov edx, dword [ebp - 0x434]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [ebp - 0x438], eax
mov dword [esp], edx
call fcn.005e9f50
mov ecx, dword [ebp - 0x438]
mov dword [esp], ecx
call fcn.006fec20
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [ebp - 0x43c], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_fread
mov edx, dword [ebp - 0x434]
mov dword [esp], edx
call sub.msvcrt.dll_fclose
mov eax, dword [ebp - 0x430]
mov dword [esp + 4], 0x730856
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403a60
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x41bb84
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea eax, [ebx + eax*2 - 8]
mov dword [esp + 4], str..inf
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov ecx, dword [ebp - 0x42c]
test eax, eax
mov eax, dword [ebp - 0x438]
mov edx, dword [ebp - 0x374]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x43c]
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 8], eax
jne 0x41bbe3
call fcn.0041b710
sub esp, 0x10
mov eax, dword [ebp - 0x43c]
mov dword [esp], eax
call fcn.006febd0
jmp 0x41b867
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], str..cat
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x41ba1b
jmp 0x41b867
lea edx, [ebp - 0x41c]
add eax, 8
mov dword [esp], ecx
mov ecx, eax
mov dword [esp + 4], edx
call fcn.006b1ec0
sub esp, 8
jmp 0x41b981
call fcn.00417ae0
jmp 0x41bb81