Function at 0x14005d2f0
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 [0x1401340c0]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r12, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov edi, r15d
mov r14, qword [rcx]
lea rbx, [r14 + 0x4c0]
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.1400a1e00
test eax, eax
jne 0x14005dc14
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x14005dc04
mov rdx, qword [r14 + 0x590]
mov rax, qword [r14 + 0x598]
sub rax, rdx
sar rax, 5
cmp rax, 2
jae 0x14005d3dd
mov rcx, rbx
call fcn.1400a1e08
inc edi
cmp edi, 0x12c
jl 0x14005d350
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400a2e30
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, [rbp - 0x68]
call fcn.14001e4f0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r8d, 5
lea rdx, str.flxgq
lea rcx, [rbp - 0x48]
call fcn.140005390
nop
mov rdi, qword [r14 + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8d, 5
lea rsi, [0x140119438]
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.140005390
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rbp - 0x28]
call fcn.140005390
nop
lea r8, [rdi + 8]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
lea rdx, [rbp + 0x18]
mov rcx, qword [rdi]
call fcn.140055ee0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14005d4c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d4c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc1f
call fcn.1400a2e50
movdqa xmm0, xmmword [0x140120120]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14005d517
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d512
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc25
call fcn.1400a2e50
movdqa xmm0, xmmword [0x140120120]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r15w
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r8, qword [rbp - 0x68]
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x30], r15
mov r13, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x58]
cmp rdx, 1
jne 0x14005d901
lea rcx, [0x140119620]
test rdx, rdx
je 0x14005d579
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x14005d901
add rcx, 2
sub rdx, 1
jne 0x14005d561
lea r8, [rbp + 0x18]
cmp r15, 7
cmova r8, r13
mov rdx, qword [rbp + 0x28]
cmp rdx, 5
jne 0x14005d78a
mov rcx, rdx
test rdx, rdx
je 0x14005d5b8
sub r8, rsi
nop
movzx eax, word [r8 + rsi]
cmp ax, word [rsi]
jne 0x14005d78a
add rsi, 2
sub rcx, 1
jne 0x14005d5a0
xor esi, esi
lea r14, [0x140148bb0]
mov qword [rsp + 0x50], r14
mov rcx, r14
call fcn.1400a1e00
test eax, eax
jne 0x14005dc2b
cmp dword [0x140148bfc], 0x7fffffff
je 0x14005dc60
mov rdi, qword [r12]
mov eax, 0xa
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
lea r8d, [rax - 6]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.CHADURL]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401198ac]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x1401198ae]
mov byte [rsp + 0x5e], al
mov byte [rsp + 0x5f], 0
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400539b0
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x40], 1
jne 0x14005d6a7
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14001e4f0
mov rdx, rax
mov rcx, rdi
call fcn.140053a70
nop
mov rcx, r14
call fcn.1400a1e08
nop
cmp r15, 7
jbe 0x14005d6ec
lea rdx, [r15*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x14005d6e3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc75
mov rcx, r13
call fcn.1400a2e50
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14005d72d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d727
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc7b
call fcn.1400a2e50
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x14005d76d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc81
call fcn.1400a2e50
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], si
mov rcx, rbx
call fcn.1400a1e08
jmp 0x14005d3a6
lea r8, [rbp + 0x18]
cmp r15, 7
cmova r8, r13
lea r9, str.false
cmp rdx, 5
jne 0x14005d7cb
mov rcx, r9
test rdx, rdx
je 0x14005d5b8
sub r8, r9
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14005d7cb
add rcx, 2
sub rdx, 1
jne 0x14005d7b2
jmp 0x14005d5b8
mov rdi, qword [r14 + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x78]
call fcn.140005390
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rsp + 0x58]
call fcn.140005390
mov r9, qword [rdi]
cmp qword [r9 + 0x18], 7
jbe 0x14005d82b
mov r9, qword [r9]
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 7
jbe 0x14005d85a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14005d8a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d89d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc36
call fcn.1400a2e50
movdqa xmm0, xmmword [0x140120120]
movdqu xmmword [rsp + 0x68], xmm0
xor esi, esi
mov word [rsp + 0x58], si
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14005d5ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d8f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc3c
call fcn.1400a2e50
jmp 0x14005d5ba
mov rdi, qword [r14 + 0x5b0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 4
lea rdx, str.DXTD
lea rcx, [rsp + 0x78]
call fcn.140005390
mov r9, qword [rdi]
cmp qword [r9 + 0x18], 7
jbe 0x14005d93c
mov r9, qword [r9]
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r8, qword [rbp - 0x68]
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
lea rcx, [rdi + 8]
cmp qword [rcx + 0x18], 7
jbe 0x14005d968
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14005d9af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d9aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc42
call fcn.1400a2e50
mov r15, qword [rbp - 0x58]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 0x1c
jb 0x14005dc48
lea r12, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r12, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea r14, [r15 + 0x1c]
mov esi, 7
lea rdi, [rsp + 0x58]
cmp r14, rsi
jbe 0x14005da94
mov rsi, r14
or rsi, 7
cmp rsi, rcx
jbe 0x14005da22
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14005da52
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14005dc4e
add rcx, rcx
cmp rcx, 0x1000
jb 0x14005da7e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005dc4e
mov rcx, rax
call fcn.1400a2e84
test rax, rax
je 0x14005dc5a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005da8f
test rcx, rcx
je 0x14005da8d
call fcn.1400a2e84
mov rdi, rax
jmp 0x14005da8f
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rsi
movups xmm0, xmmword [str.https:__flingtrainer.com_cn_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140119878]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x140119888]
movups xmmword [rdi + 0x20], xmm0
movsd xmm0, qword [0x140119898]
movsd qword [rdi + 0x30], xmm0
lea rcx, [rdi + 0x38]
lea r8, [r15 + r15]
mov rdx, r12
call fcn.1400cdc60
xor r15d, r15d
mov word [rdi + r14*2], r15w
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, rsi
cmp rax, 5
jb 0x14005db32
lea rax, [rsi + 5]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rcx, 7
cmova rdi, qword [rsp + 0x58]
lea rcx, [rdi + rsi*2]
lea r8d, [r15 + 0xa]
lea rdx, str..html
call fcn.1400cdc60
mov word [rdi + rsi*2 + 0xa], r15w
lea rax, [rsp + 0x58]
jmp 0x14005db57
mov qword [rsp + 0x20], 5
lea r9, str..html
movzx r8d, byte [rsp + 0x38]
mov edx, 5
lea rcx, [rsp + 0x58]
call fcn.14004ebe0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14005dbaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dbaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc54
call fcn.1400a2e50
movups xmmword [rbp - 0x48], xmm6
movups xmmword [rbp - 0x38], xmm7
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14005dbf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dbf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005dc5a
call fcn.1400a2e50
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
jmp 0x14005d5ba
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.1400a1d50
int3
mov ecx, 5
call fcn.1400a1d50
nop
call fcn.1400a9f40
nop
call fcn.1400a9f40
int3
mov ecx, 5
call fcn.1400a1d50
nop
call fcn.1400a9f40
nop
call fcn.1400a9f40
int3
call fcn.1400a9f40
int3
call fcn.140002210
int3
call fcn.140002170
nop
call fcn.1400a9f40
nop
call fcn.1400a9f40
int3
mov dword [0x140148bfc], 0x7ffffffe
mov ecx, 6
call fcn.1400a1d50
nop
call fcn.1400a9f40
nop
call fcn.1400a9f40
nop
call fcn.1400a9f40
int3