Function at 0x1000f1c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 1
call sym.rlmfc.dll_public:_void___thiscall_R_File::setArchiveHandling_int_
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x1003d640
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, sym.rlmfc.dll_char__R_File::m_path
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov dword [ebp + 0x248], 0
xor eax, eax
mov edi, str..RAS
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000f2a3
mov esi, dword [sym.rlmfc.dll_class_R_DLList_struct_R_File::R_RASArchive___R_File::RASArchiveList]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [esi + 0xc]
mov edx, eax
lea eax, [edx - 8]
mov dword [edi + 4], eax
lea ecx, [esi + 0xc]
mov dword [eax + 4], ecx
mov dword [eax], edi
mov dword [ecx], eax
inc dword [esi + 0x14]
xor eax, eax
mov edi, edx
mov dword [esi + 0x18], 0x7fffffff
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x140]
push ecx
push edx
mov ecx, ebp
call sym.rlmfc.dll_private:_void___thiscall_R_File::loadArchiveHeader_struct_R_File::R_RASArchive___char_const__
lea edx, [esp + 0x114]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f242
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
or ecx, 0xffffffff
xor eax, eax
mov edi, sym.rlmfc.dll_char__R_File::sm_strSecondaryArchiveSearchPath
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000f3b9
or ecx, 0xffffffff
mov edi, sym.rlmfc.dll_char__R_File::sm_strSecondaryArchiveSearchPath
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x14]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, str..RAS
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
or ecx, 0xffffffff
mov esi, edi
lea edx, [esp + 0x14]
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
lea eax, [esp + 0x114]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000f3b9
mov esi, dword [sym.rlmfc.dll_class_R_DLList_struct_R_File::R_RASArchive___R_File::RASArchiveList]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi + 0xc]
mov ebx, eax
lea ecx, [esi + 0xc]
lea eax, [ebx - 8]
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov edx, dword [esi + 0x14]
inc edx
xor eax, eax
mov dword [esi + 0x18], 0x7fffffff
mov dword [esi + 0x14], edx
mov ecx, 0x10
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x140]
push eax
push sym.rlmfc.dll_char__R_File::sm_strSecondaryArchiveSearchPath
push str._s_s
call sym.rlmfc.dll_char_const____cdecl_R_STR_char_const__
add esp, 0xc
push eax
push ebx
mov ecx, ebp
call sym.rlmfc.dll_private:_void___thiscall_R_File::loadArchiveHeader_struct_R_File::R_RASArchive___char_const__
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x114]
push ecx
push edx
mov bl, 1
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f32a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x244
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x244
ret