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

Disassembly:
jmp 0x140110080
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xaa8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xac8]
mov rax, qword [0x14032f1c0]
xor rax, rbp
mov qword [rbp + 0xa78], rax
lea rcx, [0x14035011c]
call fcn.1400ef031
nop
mov qword [rbp + 0x278], 0xffffffffffffffff
lea r8, [0x1402dbaf0]
mov rdx, qword [rbp + 0xaa0]
lea rcx, [rbp + 0x298]
call fcn.1400ee3c0
nop
lea rcx, [rbp + 0x298]
call fcn.1400eb11b
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x140110154
lea rdx, str.Chyba_pri_otevreni_slozky.
lea rcx, [0x140332780]
call fcn.1400ec15b
lea rdx, [0x1400ebeae]
mov rcx, rax
call fcn.1400edbb9
nop
lea rcx, [rbp + 0x298]
call fcn.1400ee208
nop
jmp 0x1401106a8
mov byte [rbp + 0x2d4], 1
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x3c]
cmp eax, 0x2e
jne 0x140110173
jmp 0x140110523
lea rcx, [rbp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x2f4], eax
cmp dword [rbp + 0x2f4], 0xffffffff
je 0x140110523
mov eax, dword [rbp + 0x2f4]
and eax, 0x10
test eax, eax
je 0x140110523
lea rdx, str.anim
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.audio
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.data
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.models
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.movies
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.ReadMe
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.text
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
je 0x140110245
lea rdx, str.SAMP
lea rcx, [rbp + 0x3c]
call fcn.1400ebf17
test eax, eax
jne 0x14011024f
jmp 0x140110523
lea rcx, [rbp + 0x318]
call fcn.1400e9b1d
nop
lea rcx, [rbp + 0x318]
call fcn.1400ea608
movzx eax, al
test eax, eax
jne 0x140110500
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x718]
call fcn.1400eb0a8
nop
lea rdx, [rbp + 0x718]
lea rcx, [rbp + 0x758]
call fcn.1400edd53
mov qword [rbp + 0xa48], rax
mov rax, qword [rbp + 0xa48]
mov qword [rbp + 0xa50], rax
mov r8, qword [rbp + 0xa50]
lea rdx, str.Detekce:
lea rcx, [rbp + 0x798]
call fcn.1400ef2cf
mov qword [rbp + 0xa58], rax
mov rax, qword [rbp + 0xa58]
mov qword [rbp + 0xa60], rax
lea r8, str._Verejna_IP_adresa:
mov rdx, qword [rbp + 0xa60]
lea rcx, [rbp + 0x7d8]
call fcn.1400ee7b7
mov qword [rbp + 0xa68], rax
mov rax, qword [rbp + 0xa68]
mov qword [rbp + 0xa70], rax
lea r8, [rbp + 0x318]
mov rdx, qword [rbp + 0xa70]
lea rcx, [rbp + 0x358]
call fcn.1400eb1a7
nop
lea rcx, [rbp + 0x7d8]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x798]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x758]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x718]
call fcn.1400ee208
nop
mov rdx, qword [rbp + 0xaa8]
lea rcx, [rbp + 0x358]
call fcn.1400ec561
movzx eax, al
test eax, eax
je 0x1401104f3
cmp dword [0x140331c20], 1
jne 0x1401103d8
lea rdx, [rbp + 0x358]
lea rcx, [rbp + 0x818]
call fcn.1400edf56
mov qword [rbp + 0xa48], rax
mov rax, qword [rbp + 0xa48]
mov qword [rbp + 0xa50], rax
mov rdx, qword [rbp + 0xa50]
lea rcx, [0x140332780]
call fcn.1400ec633
lea rdx, [0x1400ebeae]
mov rcx, rax
call fcn.1400edbb9
nop
lea rcx, [rbp + 0x818]
call fcn.1400ee208
nop
lea rdx, str.FolderDetect
lea rcx, [rbp + 0x858]
call fcn.1400ebbb1
nop
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x898]
call fcn.1400eb0a8
nop
lea rdx, [rbp + 0x898]
lea rcx, [rbp + 0x8d8]
call fcn.1400edd53
mov qword [rbp + 0xa48], rax
mov rax, qword [rbp + 0xa48]
mov qword [rbp + 0xa50], rax
mov r8, qword [rbp + 0xa50]
lea rdx, str.DetekceSlozka
lea rcx, [rbp + 0x918]
call fcn.1400ef2cf
mov qword [rbp + 0xa58], rax
mov rax, qword [rbp + 0xa58]
mov qword [rbp + 0xa60], rax
lea r8, [0x1402dacbe]
mov rdx, qword [rbp + 0xa60]
lea rcx, [rbp + 0x958]
call fcn.1400ee7b7
mov qword [rbp + 0xa68], rax
mov rax, qword [rbp + 0xa68]
mov qword [rbp + 0xa70], rax
lea r8, [rbp + 0x858]
lea rdx, [rbp + 0x318]
mov rcx, qword [rbp + 0xa70]
call fcn.1400ec66f
nop
lea rcx, [rbp + 0x958]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x918]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x8d8]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x898]
call fcn.1400ee208
nop
lea rcx, [rbp + 0x858]
call fcn.1400ea1da
nop
lea rdx, [rbp + 0x358]
mov rcx, qword [rbp + 0xaa8]
call fcn.1400edeb6
nop
lea rcx, [rbp + 0x358]
call fcn.1400ea1da
nop
mov byte [rbp + 0x2d4], 0
lea rcx, [rbp + 0x318]
call fcn.1400ea1da
nop
jmp 0x14011053c
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14011015b
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
movzx eax, byte [rbp + 0x2d4]
test eax, eax
je 0x14011069b
lea rcx, [rbp + 0x398]
call fcn.1400e9b1d
nop
lea rcx, [rbp + 0x398]
call fcn.1400ea608
movzx eax, al
test eax, eax
jne 0x14011068e
lea rdx, str.Vse_je_v_poradku__slozka_je_v_poradku.
lea rcx, [rbp + 0x3d8]
call fcn.1400ebbb1
nop
mov rdx, qword [rbp + 0xaa8]
lea rcx, [rbp + 0x3d8]
call fcn.1400ec561
movzx eax, al
test eax, eax
je 0x140110681
cmp dword [0x140331c20], 1
jne 0x140110610
lea rdx, [rbp + 0x3d8]
lea rcx, [rbp + 0x998]
call fcn.1400edf56
mov qword [rbp + 0xa48], rax
mov rax, qword [rbp + 0xa48]
mov qword [rbp + 0xa50], rax
mov rdx, qword [rbp + 0xa50]
lea rcx, [0x140332610]
call fcn.1400ec633
lea rdx, [0x1400ebeae]
mov rcx, rax
call fcn.1400edbb9
nop
lea rcx, [rbp + 0x998]
call fcn.1400ee208
nop
lea rdx, str.FolderDetect
lea rcx, [rbp + 0x9d8]
call fcn.1400ebbb1
nop
lea rdx, str.VseOk
lea rcx, [rbp + 0xa18]
call fcn.1400ebbb1
nop
lea r8, [rbp + 0x9d8]
lea rdx, [rbp + 0x398]
lea rcx, [rbp + 0xa18]
call fcn.1400ec66f
nop
lea rcx, [rbp + 0xa18]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x9d8]
call fcn.1400ea1da
nop
lea rdx, [rbp + 0x3d8]
mov rcx, qword [rbp + 0xaa8]
call fcn.1400edeb6
nop
lea rcx, [rbp + 0x3d8]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x398]
call fcn.1400ea1da
nop
lea rcx, [rbp + 0x298]
call fcn.1400ee208
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1402d8470]
call fcn.1400edf7e
mov rcx, qword [rbp + 0xa78]
xor rcx, rbp
call fcn.1400ebe63
lea rsp, [rbp + 0xa88]
pop rdi
pop rbp
ret