Function at 0x1000a4f0
Capabilities:
Accept command line arguments
Enumerate files on windows
Set current directory

Disassembly:
mov eax, dword [sym.rlmfc.dll_unsigned_int_R_File::instance]
sub esp, 0x294
push ebx
push ebp
mov ebp, ecx
mov ecx, eax
inc eax
test ecx, ecx
push esi
push edi
mov dword [sym.rlmfc.dll_unsigned_int_R_File::instance], eax
jne 0x1000a52b
call fcn.1000e780
mov dword [sym.rlmfc.dll_class_R_DLList_struct_R_File::R_RASArchive___R_File::RASArchiveList], eax
call fcn.1000e780
mov dword [sym.rlmfc.dll_class_R_DLList_struct_R_File::R_RASArchive___R_File::RASArchiveListSwap], eax
call fcn.1000e8a0
mov dword [sym.rlmfc.dll_class_R_DLList_int___R_File::m_findDirIDList], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call esi
cmp byte [eax], 0x22
push 0xff
jne 0x1000a553
call esi
inc eax
push eax
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov al, 0x22
jmp 0x1000a566
call esi
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov al, 0x20
movsx ecx, al
push ecx
lea edx, [esp + 0x18]
xor ebx, ebx
push edx
mov byte [esp + 0x11b], bl
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
cmp eax, ebx
je 0x1000a587
mov byte [eax], bl
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
mov dl, byte [esp + ecx + 0x12]
add ecx, 0xfffffffe
mov al, 0x5c
cmp dl, al
je 0x1000a5aa
mov dl, byte [esp + ecx + 0x13]
dec ecx
cmp dl, al
jne 0x1000a5a1
mov byte [esp + ecx + 0x14], bl
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x14]
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_originalLocalDirPath
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push sym.rlmfc.dll_char__R_File::m_originalLocalDirPath
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 1
mov ecx, ebp
call sym.rlmfc.dll_public:_void___thiscall_R_File::setArchiveHandling_int_
push 1
mov ecx, ebp
call sym.rlmfc.dll_public:_void___thiscall_R_File::setOverride_int_
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x1002e62c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, 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, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov dword [ebp + 0x248], ebx
mov edi, str..RAS
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x114]
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 + 0x164]
push ecx
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1000a6f1
mov ebx, dword [sym.imp.MSVCRT.dll_qsort]
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 edx, dword [esi + 0xc]
mov edi, eax
lea ecx, [esi + 0xc]
lea eax, [edi - 8]
mov dword [edx + 4], eax
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [ecx], eax
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x190]
push ecx
inc eax
push edi
mov ecx, ebp
mov dword [esi + 0x18], 0x7fffffff
mov dword [esi + 0x14], eax
call sym.rlmfc.dll_private:_void___thiscall_R_File::loadArchiveHeader_struct_R_File::R_RASArchive___char_const__
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x2c]
push 0x1000a700
push 0x30
push edx
push eax
call ebx
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x30]
push 0x1000a700
push 0x18
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x30]
add esp, 0x20
lea eax, [esp + 0x164]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000a66a
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x294
ret