Function at 0x6d48a5a4
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x1ec]
sub esp, 0x26c
mov eax, dword [0x6d49bb70]
xor eax, ebp
mov dword [ebp + 0x1e8], eax
mov eax, dword [ebp + 0x1fc]
push esi
push dword [0x6d49bca0]
mov esi, dword [ebp + 0x1f4]
push eax
push esi
call fcn.6d4853cb
add esp, 0xc
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x6d48a82e
push ebx
mov ebx, dword [sym.imp.msvcr100.dll_wcslen]
push edi
push eax
call ebx
lea eax, [eax + eax + 6]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov edi, eax
pop ecx
push dword [ebp - 0x6c]
test edi, edi
jne 0x6d48a620
call dword [sym.imp.msvcr100.dll_free]
pop ecx
call dword [sym.imp.msvcr100.dll__errno]
mov dword [eax], 0xc
jmp 0x6d48a826
push edi
call dword [sym.imp.msvcr100.dll_wcscpy]
push dword [ebp - 0x6c]
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
cmp eax, 0xffffffff
je 0x6d48a644
test al, 0x10
jne 0x6d48a650
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d48a826
call ebx
pop ecx
lea ecx, [edi + eax*2 - 2]
jmp 0x6d48a65d
dec eax
sub ecx, 2
cmp word [ecx], 0x20
je 0x6d48a659
xor ecx, ecx
mov word [edi + eax*2], cx
xor ebx, ebx
cmp word [edi], 0x5c
jne 0x6d48a677
cmp word [edi + 2], bx
je 0x6d48a692
cmp word [edi + 2], 0x3a
jne 0x6d48a699
movzx eax, word [edi + 4]
cmp ax, bx
je 0x6d48a692
cmp eax, 0x5c
jne 0x6d48a699
cmp word [edi + 6], bx
jne 0x6d48a699
push 0x6d494ff8
jmp 0x6d48a69e
push 0x6d494ff0
push edi
call dword [sym.imp.msvcr100.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
push edi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.msvcr100.dll_free]
cmp dword [ebp - 0x7c], 0xffffffff
pop ecx
jne 0x6d48a6e9
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x6d48a826
mov edi, dword [esi]
push ebx
push esi
call sym.java.dll__JNU_ClassString_4
push eax
push ebx
push esi
call dword [edi + 0x2b0]
jmp 0x6d48a82c
mov edi, dword [esi]
push 0
mov dword [ebp - 0x70], ebx
push esi
mov dword [ebp - 0x74], 0x10
mov ebx, 0x2b0
call sym.java.dll__JNU_ClassString_4
push eax
push 0x10
push esi
call dword [edi + ebx]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x6d48a826
mov edi, dword [sym.imp.msvcr100.dll_wcscmp]
lea eax, [ebp - 0x3c]
push 0x6d494fec
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x6d48a7ce
lea eax, [ebp - 0x3c]
push 0x6d494fe4
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x6d48a7ce
mov edi, dword [esi]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.msvcr100.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [edi + 0x28c]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x6d48a826
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x74]
jne 0x6d48a7b0
mov eax, dword [ebp - 0x78]
shl dword [ebp - 0x74], 1
mov edi, dword [esi]
push 0
push esi
mov dword [ebp - 0x6c], eax
call sym.java.dll__JNU_ClassString_4
push eax
push dword [ebp - 0x74]
push esi
call dword [edi + ebx]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x6d48a826
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push eax
push esi
call fcn.6d48dc10
test eax, eax
js 0x6d48a826
push dword [ebp - 0x6c]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x80]
mov eax, dword [esi]
push dword [ebp - 0x70]
push dword [ebp - 0x78]
push esi
call dword [eax + 0x2b8]
push dword [ebp - 0x80]
mov eax, dword [esi]
inc dword [ebp - 0x70]
push esi
call dword [eax + 0x5c]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x6d48a714
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
jne 0x6d48a826
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x78]
mov edi, dword [esi]
push 0
push esi
mov dword [ebp - 0x6c], eax
call sym.java.dll__JNU_ClassString_4
push eax
push dword [ebp - 0x70]
push esi
call dword [edi + ebx]
mov edi, eax
test edi, edi
je 0x6d48a826
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push edi
push esi
call fcn.6d48dc10
test eax, eax
jns 0x6d48a82a
xor eax, eax
jmp 0x6d48a82c
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp + 0x1e8]
xor ecx, ebp
pop esi
call fcn.6d491820
add ebp, 0x1ec
leave
ret 0xc