Function at 0x140010fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14007e048]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov esi, edx
mov r13, rcx
cmp qword [0x140081970], 0
je 0x1400113fe
cmp qword [0x140081a10], 0
je 0x1400113fe
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r14, qword [0x140081a30]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x3d
jb 0x140011439
lea r12, [0x140081a20]
cmp qword [0x140081a38], 0x10
cmovae r12, qword [0x140081a20]
xor edx, edx
mov qword [rbp - 0x69], rdx
mov qword [rbp - 0x59], rdx
mov qword [rbp - 0x51], rdx
lea r15, [r14 + 0x3d]
mov ebx, reloc.OLEAUT32.dll_SafeArrayDestroy
lea rdi, [rbp - 0x69]
cmp r15, rbx
jbe 0x140011104
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400110c6
mov rbx, rcx
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.140032da4
test rax, rax
je 0x14001143f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140011100
mov eax, SafeArrayUnaccessData
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400110ee
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001142d
jmp 0x1400110a7
test rcx, rcx
je 0x1400110fd
call fcn.140032da4
mov rdi, rax
jmp 0x140011100
mov rdi, rdx
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], rbx
movups xmm0, xmmword [str.https:__flingtrainer.com_wp_content_check_for_trainer_update_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x14006eab0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x14006eac0]
movups xmmword [rdi + 0x20], xmm0
movsd xmm1, qword [0x14006ead0]
movsd qword [rdi + 0x30], xmm1
mov eax, dword [0x14006ead8]
mov dword [rdi + 0x38], eax
movzx eax, byte [0x14006eadc]
mov byte [rdi + 0x3c], al
lea rcx, [rdi + 0x3d]
mov r8, r14
mov rdx, r12
call fcn.140035160
mov byte [rdi + r15], 0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.140014e00
nop
lea r9, [rbp - 9]
mov rdi, qword [rbp + 0xf]
cmp rdi, 8
setae r11b
mov rbx, qword [rbp - 9]
cmovae r9, rbx
mov r10, qword [rbp + 7]
cmp r10, 5
jne 0x1400111de
mov rdx, r10
lea rax, [0x14006e740]
movzx ecx, word [r9]
mov r8d, 0x45
cmp cx, r8w
jb 0x1400111e8
sub r9, rax
cmp cx, r8w
ja 0x1400111e8
cmp rdx, 1
je 0x1400111d1
dec rdx
add rax, 2
movzx ecx, word [r9 + rax]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x1400111b1
jmp 0x1400111e8
test esi, esi
jle 0x1400113c7
jmp 0x1400113b4
cmp r10, 2
jbe 0x1400113b0
lea rax, [rbp - 9]
test r11b, r11b
cmovne rax, rbx
mov esi, 1
cmp word [rax], 0x22
jne 0x140011236
mov eax, esi
cmp r10, rax
cmovb rax, r10
lea rcx, [rbp - 9]
test r11b, r11b
cmovne rcx, rbx
sub r10, rax
mov qword [rbp + 7], r10
lea rdx, [rcx + rax*2]
lea r8, [r10*2 + 2]
call fcn.140035160
mov rdi, qword [rbp + 0xf]
mov r10, qword [rbp + 7]
mov rbx, qword [rbp - 9]
lea rax, [rbp - 9]
cmp rdi, 8
setae cl
cmovae rax, rbx
cmp word [rax + r10*2 - 2], 0x22
jne 0x14001129d
lea r8, [r10 - 1]
cmp r10, r8
jb 0x140011445
mov rax, r10
sub rax, r8
cmp rax, rsi
cmovb rsi, rax
lea rax, [rbp - 9]
test cl, cl
cmovne rax, rbx
lea rcx, [rax + r8*2]
sub r10, rsi
mov qword [rbp + 7], r10
lea rdx, [rcx + rsi*2]
sub r10, r8
lea r8, [r10*2 + 2]
call fcn.140035160
mov rdi, qword [rbp + 0xf]
mov r10, qword [rbp + 7]
mov rbx, qword [rbp - 9]
lea rcx, [rbp - 9]
cmp rdi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 3
lea r9, [0x14006eae0]
xor r8d, r8d
mov rdx, r10
call fcn.140002750
test rax, rax
jne 0x14001137b
lea rax, [rbp - 0x49]
mov qword [rbp - 0x79], rax
lea rdx, [0x140081960]
lea rcx, [rbp - 0x49]
call fcn.140011530
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140011530
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400160e0
movzx ebx, al
lea rcx, [0x140081a90]
call fcn.140032328
test eax, eax
jne 0x140011425
mov dword [rbp - 0x79], 7
xor edi, edi
mov dword [rbp - 0x71], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x71]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x79]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
test bl, bl
setne al
mov dword [rbp - 0x71], eax
mov dword [rbp - 0x79], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x79]
lea r8d, [rdi + 4]
lea rdx, [rbp - 0x71]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140081a90]
call fcn.140032330
mov rdi, qword [rbp + 0xf]
mov rbx, qword [rbp - 9]
cmp rdi, 8
jb 0x1400113fe
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400113f6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011433
jmp 0x1400113f6
test esi, esi
jle 0x14001137b
lea edx, [rsi - 1]
mov rcx, r13
call fcn.140010fe0
mov rbx, qword [rbp - 9]
mov rdi, qword [rbp + 0xf]
cmp rdi, 8
jb 0x1400113fe
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400113f6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011433
mov rcx, rbx
call fcn.140032d70
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140032d50
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, eax
call fcn.140031f50
nop
call fcn.1400012a0
int3
call fcn.1400394dc
int3
call fcn.140001340
int3
call fcn.1400394dc
nop
call fcn.1400024b0
int3