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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14008c040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rcx
xor r12d, r12d
mov edi, r12d
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsi]
add rbx, 0x530
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call fcn.140041014
test eax, eax
jne 0x14001d2a5
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14001d295
mov rax, qword [rsi]
mov rdx, qword [rax + 0x600]
mov rcx, qword [rax + 0x608]
sub rcx, rdx
sar rcx, 5
cmp rcx, 2
jae 0x14001ca42
mov rcx, rbx
call fcn.14004101c
inc edi
cmp edi, 0x12c
jl 0x14001c9a3
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400417f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
add rdx, 0x20
lea rcx, [rsp + 0x70]
call fcn.14001da40
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov r8d, 5
lea rdx, str.flxgq
lea rcx, [rbp - 0x70]
call fcn.140007a60
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 5
lea rdi, [0x14007a030]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140007a60
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rbp - 0x50]
call fcn.140007a60
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x620]
lea r8, [rcx + 8]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea rdx, [rbp + 0x10]
mov rcx, qword [rcx]
call fcn.140019330
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14001cb2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cb29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2b0
call fcn.140041810
movdqa xmm0, xmmword [0x140080250]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r12w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14001cb80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cb7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2b6
call fcn.140041810
movdqa xmm0, xmmword [0x140080250]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
cmp rdx, 1
jne 0x14001cbd8
lea rcx, [0x14007a2e4]
test rdx, rdx
je 0x14001cbd4
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14001cbd8
add rcx, 2
sub rdx, 1
jne 0x14001cbc0
xor al, al
jmp 0x14001cbda
mov al, 1
movabs r15, 0x7ffffffffffffffe
mov r14d, 0xa
mov r9, qword [rbp + 0x10]
test al, al
je 0x14001cf7f
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r8d, [r14 - 6]
lea rdx, str.DXTD
lea rcx, [rsp + 0x50]
call fcn.140007a60
mov rax, qword [rsi]
mov rcx, qword [rax + 0x620]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 7
jbe 0x14001cc33
mov r9, qword [r9]
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
add rcx, 8
cmp qword [rcx + 0x18], 7
jbe 0x14001cc62
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001ccaa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2bc
call fcn.140041810
mov r12, qword [rbp - 0x80]
mov rax, r15
sub rax, r12
cmp rax, 0x1c
jb 0x14001d2c2
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r13, [r12 + 0x1c]
mov edi, 7
lea r14, [rsp + 0x50]
cmp r13, rdi
jbe 0x14001cd3b
mov rdi, r13
or rdi, 7
cmp rdi, r15
jbe 0x14001cd09
mov rdi, r15
jmp 0x14001cd16
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rax, [rdi + 1]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140007930
mov r14, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [str.https:__flingtrainer.com_cn_]
movups xmmword [r14], xmm0
movups xmm1, xmmword [0x14007a308]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [0x14007a318]
movups xmmword [r14 + 0x20], xmm0
movsd xmm0, qword [0x14007a328]
movsd qword [r14 + 0x30], xmm0
lea rcx, [r14 + 0x38]
lea r8, [r12 + r12]
mov rdx, rax
call fcn.1400667d0
xor r12d, r12d
mov word [r14 + r13*2], r12w
lea r8d, [r12 + 5]
lea rdx, [0x14007a2e8]
lea rcx, [rsp + 0x50]
call fcn.140007410
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 - 0x58]
cmp rdx, 7
jbe 0x14001cdfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cdf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2c8
call fcn.140041810
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x60], xmm7
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001ce45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ce40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2ce
call fcn.140041810
mov r14d, 0xa
lea rax, [0x14008f8a0]
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.140041014
test eax, eax
jne 0x14001d2d4
cmp dword [0x14008f8ec], 0x7fffffff
je 0x14001d2eb
mov rcx, qword [rsi]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x38]
mov r8d, 4
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x68], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.CHADURL]
mov dword [rsp + 0x50], eax
movzx eax, word [0x14007a33c]
mov word [rsp + 0x54], ax
movzx eax, byte [0x14007a33e]
mov byte [rsp + 0x56], al
mov byte [rsp + 0x57], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi]
call fcn.1400172c0
mov rcx, qword [rsi]
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r13, qword [rbp - 0x58]
mov r14, qword [rbp - 0x70]
cmp dword [rsp + 0x38], 1
jne 0x14001d1ab
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r12, [rbp - 0x70]
cmp r13, 7
cmova r12, r14
mov rdi, qword [rbp - 0x60]
cmp rdi, r15
ja 0x14001d300
cmp rdi, 7
ja 0x14001d145
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x50], xmm0
jmp 0x14001d19b
lea r8, [rbp + 0x10]
mov r10, qword [rbp + 0x28]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rbp + 0x20]
cmp rdx, 5
jne 0x14001cfc9
mov rcx, rdx
test rdx, rdx
je 0x14001ce4b
sub r8, rdi
nop dword [rax + rax]
movzx eax, word [rdi]
cmp word [rdi + r8], ax
jne 0x14001cfc9
add rdi, 2
sub rcx, 1
jne 0x14001cfb0
jmp 0x14001ce4b
lea r8, [rbp + 0x10]
cmp r10, 7
cmova r8, r9
lea r9, str.false
cmp rdx, 5
jne 0x14001d008
mov rcx, r9
test rdx, rdx
je 0x14001d004
sub r8, r9
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001d008
add rcx, 2
sub rdx, 1
jne 0x14001cff0
xor al, al
jmp 0x14001d00a
mov al, 1
test al, al
je 0x14001ce4b
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 5
mov rdx, r9
lea rcx, [rbp - 0x10]
call fcn.140007a60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rsp + 0x50]
call fcn.140007a60
mov rax, qword [rsi]
mov rcx, qword [rax + 0x620]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 7
jbe 0x14001d073
mov r9, qword [r9]
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova r8, qword [rbp - 0x10]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
add rcx, 8
cmp qword [rcx + 0x18], 7
jbe 0x14001d0a0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001d0e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d0e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2df
call fcn.140041810
movdqa xmm0, xmmword [0x140080250]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14001ce4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d13b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d2e5
call fcn.140041810
jmp 0x14001ce4b
mov rax, rdi
or rax, 7
cmp rax, r15
ja 0x14001d161
mov r15, rax
cmp rax, 0xa
mov eax, 0xa
cmovb r15, rax
lea rax, [r15 + 1]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140007930
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r15
lea r8, [rdi*2 + 2]
mov rdx, r12
mov rcx, rax
call fcn.1400667d0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi]
call fcn.140017380
xor r12d, r12d
lea rcx, [0x14008f8a0]
call fcn.14004101c
nop
mov rax, qword [rbp + 0x28]
cmp rax, 7
jbe 0x14001d1f9
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d1f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d306
call fcn.140041810
nop
cmp r13, 7
jbe 0x14001d235
lea rdx, [r13*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001d22c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d30c
mov rcx, r14
call fcn.140041810
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14001d276
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d312
call fcn.140041810
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
mov rcx, rbx
call fcn.14004101c
jmp 0x14001ca0b
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.140040ed8
int3
mov ecx, 5
call fcn.140040ed8
nop
call fcn.1400488e8
nop
call fcn.1400488e8
int3
call fcn.1400488e8
int3
call fcn.140001340
nop
call fcn.1400488e8
nop
call fcn.1400488e8
int3
mov ecx, 5
call fcn.140040ed8
nop
call fcn.1400488e8
nop
call fcn.1400488e8
int3
mov dword [0x14008f8ec], 0x7ffffffe
mov ecx, 6
call fcn.140040ed8
nop
call fcn.140001340
nop
call fcn.1400488e8
nop
call fcn.1400488e8
nop
call fcn.1400488e8
int3