Function at 0x14000e8b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009f088]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 7]
mov rcx, qword [rsi]
call fcn.14000fa50
nop
mov r8d, 0x7c
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.140012af0
mov rbx, rax
mov rdi, qword [rsi]
add rdi, 0x510
xor r15d, r15d
cmp rdi, rax
je 0x14000e956
mov rcx, rdi
call fcn.140010540
mov rcx, qword [rbx]
mov qword [rdi], rcx
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14000e9a1
mov rdx, qword [rbp - 0x71]
call fcn.140010770
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rbp - 0x79]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e99c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ef9b
call fcn.14002e8b4
mov rax, qword [rsi]
mov rdx, qword [rax + 0x510]
mov rcx, qword [rax + 0x518]
sub rcx, rdx
sar rcx, 5
cmp rcx, 1
jb 0x14000ef2c
lea rcx, [rbp - 0x19]
call fcn.1400102e0
nop
lea r8, [rbp - 0x19]
mov rbx, qword [rbp - 0x19]
mov r14, qword [rbp - 1]
cmp r14, 8
cmovae r8, rbx
lea r13, [0x140089970]
cmp qword [rbp - 9], 5
jne 0x14000eb49
mov edx, 5
mov rcx, r13
sub r8, r13
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14000eb49
add rcx, 2
sub rdx, 1
jne 0x14000ea00
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
lea r8d, [rdx + 0x12]
lea rdx, [0x140089b90]
lea rcx, [rbp - 0x59]
call fcn.1400020e0
nop
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 4
lea rdx, [0x140089bb8]
lea rcx, [rbp - 0x79]
call fcn.1400020e0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x530]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14000ea7e
mov r9, qword [r9]
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae rdx, qword [rbp - 0x79]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14000eaa8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x14000eaee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efa1
call fcn.14002e8b4
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x14000eef0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eb3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efa7
call fcn.14002e8b4
jmp 0x14000eef0
lea r12, [0x1400a4950]
mov qword [rsp + 0x48], r12
mov rcx, r12
call fcn.14002d46c
test eax, eax
je 0x14000eb69
mov ecx, eax
call fcn.14002cf28
nop
mov rcx, qword [rsi]
mov dword [rsp + 0x38], 0xa
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov r8d, 5
lea rdx, [0x140089b48]
lea rcx, [rbp - 0x59]
call fcn.140002290
lea rdx, [rbp - 0x59]
mov rcx, qword [rsi]
call fcn.140009590
mov rcx, qword [rsi]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x30], 1
jne 0x14000ec1f
lea r8, [0x1400a4900]
lea rdx, [0x140089b50]
lea rcx, [rbp - 0x39]
call fcn.1400106c0
mov rdx, rax
mov rcx, qword [rsi]
call fcn.140009590
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 5
lea rdx, [0x140089960]
lea rcx, [rbp - 0x79]
call fcn.1400020e0
nop
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 4
lea rdx, [0x140089bb8]
lea rcx, [rbp - 0x59]
call fcn.1400020e0
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x530]
lea r8, [rcx + 8]
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x59]
lea rdx, [rbp - 0x39]
mov rcx, qword [rcx]
call fcn.14000b6f0
lea r8, [rbp - 0x39]
mov r9, qword [rbp - 0x39]
mov r10, qword [rbp - 0x21]
cmp r10, 8
cmovae r8, r9
cmp qword [rbp - 0x29], 0x12
jne 0x14000ecdb
mov edx, 0x12
lea rcx, [0x140089b90]
sub r8, rcx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14000ecdb
add rcx, 2
sub rdx, 1
jne 0x14000ecc2
mov dil, 1
jmp 0x14000ecde
xor dil, dil
cmp r10, 8
jb 0x14000ed1a
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000ed11
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efad
mov rcx, r9
call fcn.14002e8b4
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x14000ed5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efb3
call fcn.14002e8b4
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x14000edac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eda7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efb9
call fcn.14002e8b4
test dil, dil
je 0x14000eedc
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 5
mov rdx, r13
lea rcx, [rbp - 0x59]
call fcn.1400020e0
nop
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 4
lea rdx, [0x140089bb8]
lea rcx, [rbp - 0x79]
call fcn.1400020e0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x530]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14000ee19
mov r9, qword [r9]
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae rdx, qword [rbp - 0x79]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14000ee43
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x14000ee89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efbf
call fcn.14002e8b4
movdqa xmm0, xmmword [0x14008c810]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x14000eedc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eed6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efc5
call fcn.14002e8b4
nop
mov rcx, r12
call fcn.14002d490
test eax, eax
je 0x14000eef0
mov ecx, eax
call fcn.14002cf28
nop
cmp r14, 8
jb 0x14000ef2c
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000ef23
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efcb
mov rcx, rbx
call fcn.14002e8b4
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000ef68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ef63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ef95
call fcn.14002e8b4
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002e890
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
nop
call fcn.14004fe44
int3