Function at 0x140019a50
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 [0x1400a7088]
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.14001aaa0
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x59]
call fcn.14001d2e0
mov rbx, rax
mov rdi, qword [rsi]
add rdi, 0x510
xor r15d, r15d
cmp rdi, rax
je 0x140019af0
mov rcx, rdi
call fcn.14001b580
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.14001b580
mov rax, qword [rsi]
mov rdx, qword [rax + 0x510]
mov rcx, qword [rax + 0x518]
sub rcx, rdx
sar rcx, 5
cmp rcx, 1
jb 0x14001a08c
lea rcx, [rbp - 0x19]
call fcn.14001b320
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 0x140019ca9
mov edx, 5
mov rcx, r13
sub r8, r13
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140019ca9
add rcx, 2
sub rdx, 1
jne 0x140019b60
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
lea r8d, [rdx + 0x12]
lea rdx, str.SyK3aYzQCG44zzWsj3
lea rcx, [rbp - 0x79]
call fcn.1400071d0
nop
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x59]
call fcn.1400071d0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x610]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x140019bde
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 0x140019c08
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140019c4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019c49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a0fb
call fcn.140036a24
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x14001a050
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a101
call fcn.140036a24
jmp 0x14001a050
lea r12, [0x1400ac900]
mov qword [rsp + 0x48], r12
mov rcx, r12
call fcn.1400355dc
test eax, eax
je 0x140019cc9
mov ecx, eax
call fcn.140035098
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.140007380
lea rdx, [rbp - 0x79]
mov rcx, qword [rsi]
call fcn.140014b40
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 0x140019d7f
lea r8, [0x1400ac890]
lea rdx, str.https:__flingtrainer.com_download_wemod_trainer.php_name
lea rcx, [rbp - 0x39]
call fcn.14001b650
mov rdx, rax
mov rcx, qword [rsi]
call fcn.140014b40
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 5
lea rdx, [0x140091900]
lea rcx, [rbp - 0x59]
call fcn.1400071d0
nop
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x79]
call fcn.1400071d0
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x610]
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.140016bc0
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 0x140019e3b
mov edx, 0x12
lea rcx, str.SyK3aYzQCG44zzWsj3
sub r8, rcx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140019e3b
add rcx, 2
sub rdx, 1
jne 0x140019e22
mov dil, 1
jmp 0x140019e3e
xor dil, dil
cmp r10, 8
jb 0x140019e7a
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140019e71
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a107
mov rcx, r9
call fcn.140036a24
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x140019eba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019eb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a10d
call fcn.140036a24
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140019f0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019f07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a113
call fcn.140036a24
test dil, dil
je 0x14001a03c
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], r15w
mov r8d, 5
mov rdx, r13
lea rcx, [rbp - 0x79]
call fcn.1400071d0
nop
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov r8d, 4
lea rdx, str.DXWM
lea rcx, [rbp - 0x59]
call fcn.1400071d0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x610]
mov r9, qword [rcx]
cmp qword [r9 + 0x18], 8
jb 0x140019f79
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 0x140019fa3
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140019fe9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019fe4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a119
call fcn.140036a24
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r15w
mov rdx, qword [rbp - 0x61]
cmp rdx, 8
jb 0x14001a03c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a11f
call fcn.140036a24
nop
mov rcx, r12
call fcn.140035600
test eax, eax
je 0x14001a050
mov ecx, eax
call fcn.140035098
nop
cmp r14, 8
jb 0x14001a08c
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001a083
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a125
mov rcx, rbx
call fcn.140036a24
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14001a0c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a0c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a0f5
call fcn.140036a24
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140036a00
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.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
nop
call fcn.140057d94
int3