Function at 0x140012570
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400ab088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov ebx, edx
mov r14, rcx
cmp qword [0x1400b0b50], 0
je 0x1400128d4
cmp qword [0x1400b0bf0], 0
je 0x1400128d4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x1400b0c00]
lea rdx, str.https:__flingtrainer.com_wp_content_check_for_trainer_update_
lea rcx, [rbp - 0x41]
call fcn.140012ee0
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.140016420
nop
lea r8, [rbp + 0x1f]
mov rdi, qword [rbp + 0x1f]
mov rsi, qword [rbp + 0x37]
cmp rsi, 8
cmovae r8, rdi
mov r9, qword [rbp + 0x2f]
cmp r9, 5
jne 0x140012642
mov rdx, r9
lea r10, [0x140092a80]
sub r10, r8
nop dword [rax + rax]
movzx eax, word [r10 + r8]
cmp word [r8], ax
jne 0x14001264c
add r8, 2
sub rdx, 1
jne 0x140012620
test ebx, ebx
jle 0x14001289d
jmp 0x140012891
cmp r9, 2
jbe 0x14001288d
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
mov ebx, 1
cmp word [rax], 0x22
jne 0x14001269c
mov eax, ebx
cmp r9, rbx
cmovb rax, r9
lea rcx, [rbp + 0x1f]
cmp rsi, 8
cmovae rcx, rdi
sub r9, rax
mov qword [rbp + 0x2f], r9
lea r8, [r9*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.1400535c0
mov rsi, qword [rbp + 0x37]
mov r9, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x1f]
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
cmp word [rax + r9*2 - 2], 0x22
jne 0x140012702
lea rdx, [r9 - 1]
cmp r9, rdx
jb 0x140012904
mov rax, r9
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
lea rcx, [rax + rdx*2]
sub r9, rbx
mov qword [rbp + 0x2f], r9
sub r9, rdx
lea r8, [r9*2 + 2]
lea rdx, [rcx + rbx*2]
call fcn.1400535c0
mov rsi, qword [rbp + 0x37]
mov r9, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x1f]
lea r10, [rbp + 0x1f]
cmp rsi, 8
cmovae r10, rdi
cmp r9, 3
jb 0x140012853
lea r11, [r9 - 2]
lea r11, [r10 + r11*2]
mov rax, r10
lea rbx, [0x140092df0]
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140012853
cmp word [rax], 0x31
je 0x14001274f
add rax, 2
sub rcx, 1
jmp 0x140012739
test rax, rax
je 0x140012853
mov r8d, 3
mov rdx, rbx
mov r9, rax
sub r9, rbx
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140012884
add rdx, 2
sub r8, 1
jne 0x140012770
sub rax, r10
cmp rax, 2
jae 0x140012853
lea rax, [rbp - 0x21]
mov qword [rbp - 0x59], rax
lea rdx, [0x1400b0b40]
lea rcx, [rbp - 0x21]
call fcn.140012b00
mov rbx, rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140012b00
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400177c0
movzx ebx, al
lea rcx, [0x1400b0c70]
call fcn.140033b0c
test eax, eax
je 0x1400127e3
mov ecx, eax
call fcn.1400335c8
mov dword [rbp - 0x59], 7
xor edi, edi
mov dword [rbp - 0x51], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x51]
lea r8d, [rdi + 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]
nop
lea rcx, [0x1400b0c70]
call fcn.140033b30
test eax, eax
je 0x14001284b
mov ecx, eax
call fcn.1400335c8
nop
mov rsi, qword [rbp + 0x37]
mov rdi, qword [rbp + 0x1f]
cmp rsi, 8
jb 0x1400128d4
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400128cc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400128fe
jmp 0x1400128cc
add rax, 2
jmp 0x140012730
test ebx, ebx
jle 0x140012853
lea edx, [rbx - 1]
mov rcx, r14
call fcn.140012570
nop
cmp rsi, 8
jb 0x1400128d4
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400128cc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400128f8
mov rcx, rdi
call fcn.140034f54
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140034f30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400566cc
int3
call fcn.1400566cc
nop
call fcn.140002570
nop
int3