Function at 0x140014db0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x14008b048]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov esi, edx
mov r14, rcx
cmp qword [0x14008e9d0], 0
je 0x1400150f6
cmp qword [0x14008ea70], 0
je 0x1400150f6
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14008ea90]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x3d
jb 0x140015128
lea rax, [0x14008ea80]
cmp qword [0x14008ea98], 0x10
cmovae rax, qword [0x14008ea80]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x3d
lea r9, str.https:__flingtrainer.com_wp_content_check_for_trainer_update_
lea rcx, [rbp - 0x49]
call fcn.140005540
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.140018fb0
nop
lea r9, [rbp + 0x17]
mov rdi, qword [rbp + 0x2f]
cmp rdi, 8
setae r11b
mov rbx, qword [rbp + 0x17]
cmovae r9, rbx
mov r10, qword [rbp + 0x27]
cmp r10, 5
jne 0x140014eda
mov rdx, r10
lea rax, [0x140078660]
movzx ecx, word [r9]
mov r8d, 0x45
cmp cx, r8w
jb 0x140014ee4
sub r9, rax
cmp cx, r8w
ja 0x140014ee4
cmp rdx, 1
je 0x140014ecd
dec rdx
add rax, 2
movzx ecx, word [r9 + rax]
movzx r8d, word [rax]
cmp cx, r8w
jae 0x140014ead
jmp 0x140014ee4
test esi, esi
jle 0x1400150bf
jmp 0x1400150ac
cmp r10, 2
jbe 0x1400150a8
lea rax, [rbp + 0x17]
test r11b, r11b
cmovne rax, rbx
mov esi, 1
cmp word [rax], 0x22
jne 0x140014f32
mov eax, esi
cmp r10, rax
cmovb rax, r10
lea rcx, [rbp + 0x17]
test r11b, r11b
cmovne rcx, rbx
sub r10, rax
mov qword [rbp + 0x27], r10
lea rdx, [rcx + rax*2]
lea r8, [r10*2 + 2]
call fcn.14003cd80
mov rdi, qword [rbp + 0x2f]
mov r10, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x17]
lea rax, [rbp + 0x17]
cmp rdi, 8
setae cl
cmovae rax, rbx
cmp word [rax + r10*2 - 2], 0x22
jne 0x140014f99
lea r8, [r10 - 1]
cmp r10, r8
jb 0x14001512e
mov rax, r10
sub rax, r8
cmp rax, rsi
cmovb rsi, rax
lea rax, [rbp + 0x17]
test cl, cl
cmovne rax, rbx
lea rcx, [rax + r8*2]
sub r10, rsi
mov qword [rbp + 0x27], r10
lea rdx, [rcx + rsi*2]
sub r10, r8
lea r8, [r10*2 + 2]
call fcn.14003cd80
mov rdi, qword [rbp + 0x2f]
mov r10, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x17]
lea rcx, [rbp + 0x17]
cmp rdi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 3
lea r9, [0x140078a00]
xor r8d, r8d
mov rdx, r10
call fcn.140005c00
test rax, rax
jne 0x140015077
lea rax, [rbp - 0x29]
mov qword [rbp - 0x59], rax
lea rdx, [0x14008e9c0]
lea rcx, [rbp - 0x29]
call fcn.1400151c0
mov rbx, rax
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.1400151c0
nop
mov rdx, rbx
mov rcx, rax
call fcn.14001a320
movzx ebx, al
lea rcx, [0x14008ead0]
call fcn.140039f48
test eax, eax
jne 0x14001511a
mov dword [rbp - 0x59], 7
xor edi, edi
mov dword [rbp - 0x51], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x51]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
test bl, bl
setne al
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x59], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x59]
lea r8d, [rdi + 4]
lea rdx, [rbp - 0x51]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x14008ead0]
call fcn.140039f50
mov rdi, qword [rbp + 0x2f]
mov rbx, qword [rbp + 0x17]
cmp rdi, 8
jb 0x1400150f6
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400150ee
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015122
jmp 0x1400150ee
test esi, esi
jle 0x140015077
lea edx, [rsi - 1]
mov rcx, r14
call fcn.140014db0
mov rbx, qword [rbp + 0x17]
mov rdi, qword [rbp + 0x2f]
cmp rdi, 8
jb 0x1400150f6
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400150ee
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015122
mov rcx, rbx
call fcn.14003a990
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14003a970
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, eax
call fcn.140039b70
nop
call fcn.1400412d4
int3
call fcn.140001330
nop
call fcn.1400044a0
int3