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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x1f]
mov rcx, qword [rsi]
call fcn.1400111d0
nop
mov r8d, 0x7c
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x39]
call fcn.140014a10
nop
mov rdx, qword [rbp - 0x31]
mov rax, rdx
mov rcx, qword [rbp - 0x39]
sub rax, rcx
sar rax, 5
xor r15d, r15d
cmp rax, 2
jb 0x140011100
lea rdx, [rcx + 0x20]
lea rcx, [rbp - 0x21]
call fcn.140011bf0
nop
lea rdx, [rsi + 8]
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x140010ea5
mov rcx, qword [rdx]
lea rbx, [rbp - 0x21]
mov r11, qword [rbp - 0x21]
mov rdi, qword [rbp - 9]
cmp rdi, 7
cmova rbx, r11
mov r9, qword [rdx + 0x10]
mov r8, qword [rbp - 0x11]
cmp r8, r9
jne 0x140010eed
mov r10, r8
test r8, r8
je 0x1400110ac
sub rbx, rcx
movzx eax, word [rcx]
cmp word [rbx + rcx], ax
jne 0x140010eed
add rcx, 2
sub r10, 1
jne 0x140010ed5
jmp 0x1400110ac
lea r10, [rbp - 0x21]
cmp rdi, 7
cmova r10, r11
cmp r8, 1
jne 0x140010f58
lea rcx, [0x1400634a8]
test r8, r8
je 0x140010f24
sub r10, rcx
nop
movzx eax, word [rcx]
cmp word [r10 + rcx], ax
jne 0x140010f58
add rcx, 2
sub r8, 1
jne 0x140010f10
cmp qword [rdx + 0x18], 7
jbe 0x140010f2e
mov rdx, qword [rdx]
cmp r9, 5
jne 0x140010f58
lea rcx, [0x140063190]
sub rdx, rcx
nop
movzx eax, word [rcx]
cmp word [rdx + rcx], ax
jne 0x140010f58
add rcx, 2
sub r9, 1
jne 0x140010f40
jmp 0x1400110ac
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rbp - 1]
call fcn.140002770
mov rax, qword [rsi]
mov rcx, qword [rax + 0x520]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 7
jbe 0x140010f94
mov r9, qword [r9]
lea r8, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova r8, qword [rbp - 0x21]
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 7
cmova rdx, qword [rbp - 1]
add rcx, 8
cmp qword [rcx + 0x18], 7
jbe 0x140010fbe
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140011004
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010fff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400111b5
call fcn.14002d920
mov rcx, qword [rsi]
mov dword [rbp - 0x41], 0xa
mov dword [rbp - 0x49], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x41]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], SafeArrayDestroy
mov qword [rbp + 0x17], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [str.RESETCHADURL]
movsd qword [rbp - 1], xmm0
mov eax, dword [0x1400634c8]
mov dword [rbp + 7], eax
mov byte [rbp + 0xb], 0
lea rdx, [rbp - 1]
mov rcx, qword [rsi]
call fcn.14000ac40
mov rcx, qword [rsi]
mov dword [rbp - 0x49], r15d
mov dword [rbp - 0x41], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x41]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp - 0x49], 1
jne 0x1400110a4
xor edx, edx
mov rcx, qword [rsi]
call fcn.1400107d0
mov r11, qword [rbp - 0x21]
mov rdi, qword [rbp - 9]
cmp rdi, 7
jbe 0x1400110e7
lea rdx, [rdi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1400110df
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400111bb
mov rcx, r11
call fcn.14002d920
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r15w
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14001114f
call fcn.140011ea0
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x39]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001113e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400111c1
call fcn.14002d920
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov rdx, qword [rbp + 0x37]
cmp rdx, 7
jbe 0x14001118b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011186
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400111af
call fcn.14002d920
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002d900
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.14003474c
nop
call fcn.14003474c
nop
call fcn.14003474c
nop
call fcn.14003474c
int3