Function at 0x140012a80
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 [0x1400a6088]
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.140013c20
nop
mov r8d, 0x7c
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x79]
call fcn.1400171d0
mov rbx, rax
mov rdi, qword [rsi]
add rdi, 0x610
xor r15d, r15d
cmp rdi, rax
je 0x140012b26
mov rcx, rdi
call fcn.140014710
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
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140012b71
mov rdx, qword [rbp - 0x71]
call fcn.140014890
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rbp - 0x79]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012b6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001316b
call fcn.1400352b4
mov rax, qword [rsi]
mov rdx, qword [rax + 0x610]
mov rcx, qword [rax + 0x618]
sub rcx, rdx
sar rcx, 5
cmp rcx, 1
jb 0x1400130fc
lea rcx, [rbp - 0x19]
call fcn.1400144b0
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 0x140012d19
mov edx, 5
mov rcx, r13
sub r8, r13
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140012d19
add rcx, 2
sub rdx, 1
jne 0x140012bd0
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
lea r8d, [rdx + 0x12]
lea rdx, str.SyK3aYzQCG44zzWsj3
lea rcx, [rbp - 0x59]
call fcn.140003f60
nop
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x79]
call fcn.140003f60
mov rax, qword [rsi]
mov rcx, qword [rax + 0x630]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x140012c4e
mov r9, qword [r9]
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae rdx, qword [rbp - 0x79]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x140012c78
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140012cbe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013171
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x1400130c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013177
call fcn.1400352b4
jmp 0x1400130c0
lea r12, [0x1400ab930]
mov qword [rsp + 0x48], r12
mov rcx, r12
call fcn.140033e6c
test eax, eax
je 0x140012d39
mov ecx, eax
call fcn.140033928
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 - 0x49], r15
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov r8d, 5
lea rdx, str.WMURL
lea rcx, [rbp - 0x59]
call fcn.140004110
lea rdx, [rbp - 0x59]
mov rcx, qword [rsi]
call fcn.14000d7a0
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 0x140012def
lea r8, [0x1400ab8e0]
lea rdx, str.https:__flingtrainer.com_download_wemod_trainer.php_name
lea rcx, [rbp - 0x39]
call fcn.1400046a0
mov rdx, rax
mov rcx, qword [rsi]
call fcn.14000d7a0
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 5
lea rdx, [0x14008fa60]
lea rcx, [rbp - 0x79]
call fcn.140003f60
nop
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x59]
call fcn.140003f60
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x630]
lea r8, [rcx + 8]
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x59]
lea rdx, [rbp - 0x39]
mov rcx, qword [rcx]
call fcn.14000f900
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 0x140012eab
mov edx, 0x12
lea rcx, str.SyK3aYzQCG44zzWsj3
sub r8, rcx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140012eab
add rcx, 2
sub rdx, 1
jne 0x140012e92
mov dil, 1
jmp 0x140012eae
xor dil, dil
cmp r10, 8
jb 0x140012eea
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140012ee1
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001317d
mov rcx, r9
call fcn.1400352b4
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140012f2a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013183
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140012f7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013189
call fcn.1400352b4
test dil, dil
je 0x1400130ac
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 5
mov rdx, r13
lea rcx, [rbp - 0x59]
call fcn.140003f60
nop
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x79]
call fcn.140003f60
mov rax, qword [rsi]
mov rcx, qword [rax + 0x630]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x140012fe9
mov r9, qword [r9]
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], 8
cmovae rdx, qword [rbp - 0x79]
add rcx, 8
cmp qword [rcx + 0x18], 8
jb 0x140013013
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140013059
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013054
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001318f
call fcn.1400352b4
movdqa xmm0, xmmword [0x140092c40]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x1400130ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400130a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013195
call fcn.1400352b4
nop
mov rcx, r12
call fcn.140033e90
test eax, eax
je 0x1400130c0
mov ecx, eax
call fcn.140033928
nop
cmp r14, 8
jb 0x1400130fc
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400130f3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001319b
mov rcx, rbx
call fcn.1400352b4
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140013138
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013165
call fcn.1400352b4
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140035290
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.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
nop
call fcn.14005674c
int3