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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14007f048]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, rcx
xor r12d, r12d
mov edi, r12d
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsi]
add rbx, 0x508
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.14003a0c8
test eax, eax
jne 0x14001aa87
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14001aa71
mov rax, qword [rsi]
mov rdx, qword [rax + 0x5d8]
mov rcx, qword [rax + 0x5e0]
sub rcx, rdx
sar rcx, 5
cmp rcx, 2
jae 0x14001a39a
mov rcx, rbx
call fcn.14003a0d0
inc edi
cmp edi, 0x12c
jl 0x14001a300
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14003a830
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
add rdx, 0x20
lea rcx, [rbp - 0x60]
call fcn.14001b180
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 5
lea rdx, str.flxgq
lea rcx, [rbp - 0x40]
call fcn.140007620
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov r8d, 5
lea rdi, [0x140071040]
mov rdx, rdi
lea rcx, [rbp]
call fcn.140007620
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rbp - 0x20]
call fcn.140007620
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x5f8]
lea r8, [rcx + 8]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
lea rdx, [rbp + 0x20]
mov rcx, qword [rcx]
call fcn.140016e50
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14001a485
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a480
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aa92
call fcn.14003a850
movdqa xmm0, xmmword [0x1400746f0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14001a4d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a4d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aa98
call fcn.14003a850
movdqa xmm0, xmmword [0x1400746f0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r12w
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov r15, qword [rbp + 0x38]
mov r14, qword [rbp + 0x20]
mov rdx, qword [rbp - 0x50]
cmp rdx, 1
jne 0x14001a6ea
lea rcx, [0x1400712cc]
test rdx, rdx
je 0x14001a538
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14001a6ea
add rcx, 2
sub rdx, 1
jne 0x14001a520
lea r8, [rbp + 0x20]
cmp r15, 8
cmovae r8, r14
mov rdx, qword [rbp + 0x30]
cmp rdx, 5
jne 0x14001a579
mov rcx, rdx
test rdx, rdx
je 0x14001a8a4
sub r8, rdi
nop dword [rax]
movzx eax, word [rdi]
cmp word [rdi + r8], ax
jne 0x14001a579
add rdi, 2
sub rcx, 1
jne 0x14001a560
jmp 0x14001a8a4
lea r8, [rbp + 0x20]
cmp r15, 8
cmovae r8, r14
lea r9, str.false
cmp rdx, 5
jne 0x14001a5ba
mov rcx, r9
test rdx, rdx
je 0x14001a8a4
sub r8, r9
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001a5ba
add rcx, 2
sub rdx, 1
jne 0x14001a5a1
jmp 0x14001a8a4
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.140007620
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rbp - 0x80]
call fcn.140007620
mov rax, qword [rsi]
mov rcx, qword [rax + 0x5f8]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14001a61b
mov r9, qword [r9]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14001a648
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001a68e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a689
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aa9e
call fcn.14003a850
movdqa xmm0, xmmword [0x1400746f0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001a8a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a89f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aa81
jmp 0x14001a89f
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rsp + 0x60]
call fcn.140007620
mov rax, qword [rsi]
mov rcx, qword [rax + 0x5f8]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x14001a729
mov r9, qword [r9]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x14001a756
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001a79e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aaa4
call fcn.14003a850
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 0x1c
jb 0x14001aaaa
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1c
lea r9, str.https:__flingtrainer.com_cn_
lea rcx, [rsp + 0x60]
call fcn.140008590
nop
mov r8d, 5
lea rdx, [0x1400712d0]
lea rcx, [rsp + 0x60]
call fcn.140007250
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14001a85a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a855
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aab0
call fcn.14003a850
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm7
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001a8a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a89f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aab6
call fcn.14003a850
lea rdi, [0x1400828f0]
mov qword [rsp + 0x58], rdi
mov rcx, rdi
call fcn.14003a0c8
test eax, eax
jne 0x14001aabc
cmp dword [0x14008293c], 0x7fffffff
je 0x14001aac7
mov rcx, qword [rsi]
mov dword [rsp + 0x48], 0xa
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x48]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.CHADURL]
mov dword [rbp - 0x80], eax
movzx eax, word [0x140071324]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x140071326]
mov byte [rbp - 0x7a], al
mov byte [rbp - 0x79], 0
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi]
call fcn.140014dd0
mov rcx, qword [rsi]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x40], 1
jne 0x14001a98d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.14001b180
mov rdx, rax
mov rcx, qword [rsi]
call fcn.140014e90
nop
mov rcx, rdi
call fcn.14003a0d0
nop
cmp r15, 8
jb 0x14001a9d2
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001a9c9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aadc
mov rcx, r14
call fcn.14003a850
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14001aa13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aae2
call fcn.14003a850
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14001aa53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001aae8
call fcn.14003a850
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov rcx, rbx
call fcn.14003a0d0
jmp 0x14001a368
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.140039d90
nop
call fcn.14004147c
nop
mov ecx, 5
call fcn.140039d90
nop
call fcn.14004147c
nop
call fcn.14004147c
nop
call fcn.14004147c
nop
call fcn.14004147c
int3
call fcn.1400012c0
nop
call fcn.14004147c
nop
call fcn.14004147c
int3
mov ecx, 5
call fcn.140039d90
int3
mov dword [0x14008293c], 0x7ffffffe
mov ecx, 6
call fcn.140039d90
nop
call fcn.14004147c
nop
call fcn.14004147c
nop
call fcn.14004147c
int3