Function at 0x14003a3f0
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x6c0
mov rax, qword [0x14014dcf0]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov rdi, qword [0x1401a6a20]
xor esi, esi
mov ebx, ecx
test rdi, rdi
je 0x14003a435
mov rcx, rdi
call fcn.1400a4f8c
mov edi, esi
mov qword [0x1401a6a20], rsi
test ebx, ebx
jne 0x14003a6c8
mov rcx, qword [0x140148948]
mov ebx, 0x208
cmp rcx, 0xffffffffffffffff
jne 0x14003a51a
lea rdx, [rsp + 0x2a0]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x2a0]
mov edx, 0x5c
call fcn.1400a6680
test rax, rax
je 0x14003a541
mov word [rax], si
mov ecx, ebx
lea rax, [rsp + 0x2a0]
nop
cmp word [rax], si
je 0x14003a4a0
add rax, 2
dec rcx
jne 0x14003a490
jmp 0x14003a4fe
test rcx, rcx
je 0x14003a4fe
mov rdx, rbx
sub rdx, rcx
mov rcx, rbx
sub rcx, rdx
lea rax, [rsp + rdx*2 + 0x2a0]
je 0x14003a4f7
lea r9, str.LanguagesLanguage.xml
lea rdx, [rcx + rdx + 0x7ffffdf7]
sub r9, rax
nop dword [rax]
test rdx, rdx
je 0x14003a4f2
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x14003a4f2
mov word [rax], r8w
add rax, 2
dec rdx
dec rcx
jne 0x14003a4d0
jmp 0x14003a4f7
test rcx, rcx
jne 0x14003a4fb
sub rax, 2
mov word [rax], si
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [0x140148948], rax
jmp 0x14003a54f
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003a548
mov rcx, qword [0x140148948]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [0x140148948], 0xffffffffffffffff
xor eax, eax
jmp 0x14003a737
mov rax, qword [0x140148948]
cmp rax, 0xffffffffffffffff
je 0x14003a541
cmp dword [rsp + 0x6c], esi
jne 0x14003a541
mov ecx, dword [rsp + 0x70]
inc ecx
call fcn.1400a4fcc
mov qword [0x1401a6a20], rax
test rax, rax
je 0x14003a541
lea rdx, [rsp + 0x2a0]
mov r8d, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x2a0]
mov edx, 0x5c
call fcn.1400a6680
test rax, rax
jne 0x14003a5b6
mov rcx, qword [0x1401a6a20]
call fcn.1400a4f8c
mov qword [0x1401a6a20], rsi
xor eax, eax
jmp 0x14003a737
lea r8, str.Languages_
lea rcx, [rsp + 0x2a0]
mov edx, 0x410
mov word [rax + 2], si
call fcn.1400012f0
mov r11, rbx
lea rax, [rsp + 0x2a0]
nop
cmp word [rax], si
je 0x14003a5f0
add rax, 2
dec r11
jne 0x14003a5e0
jmp 0x14003a644
test r11, r11
je 0x14003a644
mov rcx, rbx
sub rcx, r11
sub rbx, rcx
lea rax, [rsp + rcx*2 + 0x2a0]
je 0x14003a63d
lea r8, [rsp + 0x7c]
lea rcx, [rbx + rcx + 0x7ffffdf7]
sub r8, rax
test rcx, rcx
je 0x14003a638
movzx edx, word [r8 + rax]
test dx, dx
je 0x14003a638
mov word [rax], dx
add rax, 2
dec rcx
dec rbx
jne 0x14003a618
jmp 0x14003a63d
test rbx, rbx
jne 0x14003a641
sub rax, 2
mov word [rax], si
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x2a0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003a59c
mov r8d, dword [rsp + 0x70]
mov rdx, qword [0x1401a6a20]
lea r9, [rsp + 0x44]
mov rcx, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14003a59c
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x44], eax
jne 0x14003a59c
mov rdi, qword [0x1401a6a20]
mov byte [rax + rdi], sil
jmp 0x14003a734
cmp dword [0x1401a6a3c], ebx
je 0x14003a734
lea r8, [rsp + 0x40]
lea rcx, str.Languages
mov edx, ebx
mov dword [0x1401a6a3c], ebx
call fcn.14001afa0
mov rsi, rax
mov qword [0x1401a6a30], rax
test rax, rax
je 0x14003a72d
mov ebx, dword [rsp + 0x40]
mov dword [0x1401a6a38], ebx
lea ecx, [rbx + 1]
call fcn.1400a4fcc
mov rdi, rax
mov qword [0x1401a6a20], rax
test rax, rax
je 0x14003a734
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call fcn.1400a4990
mov byte [rbx + rdi], 0
jmp 0x14003a734
mov rdi, qword [0x1401a6a20]
mov rax, rdi
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1400a4e70
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret