Function at 0x140010570
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 [0x1400a0088]
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.1400115c0
nop
mov r8d, 0x7c
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x59]
call fcn.140013ec0
mov rbx, rax
mov rdi, qword [rsi]
add rdi, 0x510
xor r15d, r15d
cmp rdi, rax
je 0x140010616
mov rcx, rdi
call fcn.140011ff0
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
lea rcx, [rbp - 0x59]
call fcn.140011ff0
mov rax, qword [rsi]
mov rdx, qword [rax + 0x510]
mov rcx, qword [rax + 0x518]
sub rcx, rdx
sar rcx, 5
cmp rcx, 1
jb 0x140010bac
lea rcx, [rbp - 0x19]
call fcn.140011d90
nop
lea r8, [rbp - 0x19]
mov rbx, qword [rbp - 0x19]
mov r14, qword [rbp - 1]
cmp r14, 8
cmovae r8, rbx
lea r13, str.false
cmp qword [rbp - 9], 5
jne 0x1400107c9
mov edx, 5
mov rcx, r13
sub r8, r13
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x1400107c9
add rcx, 2
sub rdx, 1
jne 0x140010680
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
lea r8d, [rdx + 0x12]
lea rdx, str.SyK3aYzQCG44zzWsj3
lea rcx, [rbp - 0x79]
call fcn.140002010
nop
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x59]
call fcn.140002010
mov rax, qword [rsi]
mov rcx, qword [rax + 0x530]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x1400106fe
mov r9, qword [r9]
lea r8, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae r8, qword [rbp - 0x79]
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x140010728
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x14001076e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010769
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c1b
call fcn.14002fdf4
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140010b70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400107bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c21
call fcn.14002fdf4
jmp 0x140010b70
lea r12, [0x1400a5c60]
mov qword [rsp + 0x48], r12
mov rcx, r12
call fcn.14002e9ac
test eax, eax
je 0x1400107e9
mov ecx, eax
call fcn.14002e468
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 - 0x69], r15
mov qword [rbp - 0x61], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x79], 0
mov r8d, 5
lea rdx, str.WMURL
lea rcx, [rbp - 0x79]
call fcn.1400021c0
lea rdx, [rbp - 0x79]
mov rcx, qword [rsi]
call fcn.14000b860
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 0x14001089f
lea r8, [0x1400a5bf0]
lea rdx, str.https:__flingtrainer.com_download_wemod_trainer.php_name
lea rcx, [rbp - 0x39]
call fcn.140012170
mov rdx, rax
mov rcx, qword [rsi]
call fcn.14000b860
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 5
lea rdx, [0x14008abb0]
lea rcx, [rbp - 0x59]
call fcn.140002010
nop
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x79]
call fcn.140002010
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x530]
lea r8, [rcx + 8]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x79]
lea rdx, [rbp - 0x39]
mov rcx, qword [rcx]
call fcn.14000d8f0
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 0x14001095b
mov edx, 0x12
lea rcx, str.SyK3aYzQCG44zzWsj3
sub r8, rcx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001095b
add rcx, 2
sub rdx, 1
jne 0x140010942
mov dil, 1
jmp 0x14001095e
xor dil, dil
cmp r10, 8
jb 0x14001099a
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140010991
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c27
mov rcx, r9
call fcn.14002fdf4
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x1400109da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400109d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c2d
call fcn.14002fdf4
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140010a2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010a27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c33
call fcn.14002fdf4
test dil, dil
je 0x140010b5c
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 5
mov rdx, r13
lea rcx, [rbp - 0x79]
call fcn.140002010
nop
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x59]
call fcn.140002010
mov rax, qword [rsi]
mov rcx, qword [rax + 0x530]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x140010a99
mov r9, qword [r9]
lea r8, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae r8, qword [rbp - 0x79]
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x140010ac3
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140010b09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010b04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c39
call fcn.14002fdf4
movdqa xmm0, xmmword [0x14008daa0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140010b5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010b56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c3f
call fcn.14002fdf4
nop
mov rcx, r12
call fcn.14002e9d0
test eax, eax
je 0x140010b70
mov ecx, eax
call fcn.14002e468
nop
cmp r14, 8
jb 0x140010bac
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140010ba3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c45
mov rcx, rbx
call fcn.14002fdf4
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140010be8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010be3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c15
call fcn.14002fdf4
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002fdd0
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.140051164
nop
call fcn.140051164
nop
call fcn.140051164
nop
call fcn.140051164
nop
call fcn.140051164
nop
call fcn.140051164
nop
call fcn.140051164
nop
call fcn.140051164
nop
call fcn.140051164
int3