Function at 0x140010a70
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 [0x1400a4088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov ebx, edx
mov r14, rcx
cmp qword [0x1400a9840], 0
je 0x140010dd4
cmp qword [0x1400a98e0], 0
je 0x140010dd4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x1400a98f0]
lea rdx, str.https:__flingtrainer.com_wp_content_check_for_trainer_update_
lea rcx, [rbp - 0x41]
call fcn.140011440
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.1400144f0
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 0x140010b42
mov rdx, r9
lea r10, [0x14008c980]
sub r10, r8
nop dword [rax + rax]
movzx eax, word [r10 + r8]
cmp word [r8], ax
jne 0x140010b4c
add r8, 2
sub rdx, 1
jne 0x140010b20
test ebx, ebx
jle 0x140010d9d
jmp 0x140010d91
cmp r9, 2
jbe 0x140010d8d
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
mov ebx, 1
cmp word [rax], 0x22
jne 0x140010b9c
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.140050cc0
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 0x140010c02
lea rdx, [r9 - 1]
cmp r9, rdx
jb 0x140010e04
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.140050cc0
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 0x140010d53
lea r11, [r9 - 2]
lea r11, [r10 + r11*2]
mov rax, r10
lea rbx, [0x14008ccf0]
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140010d53
cmp word [rax], 0x31
je 0x140010c4f
add rax, 2
sub rcx, 1
jmp 0x140010c39
test rax, rax
je 0x140010d53
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 0x140010d84
add rdx, 2
sub r8, 1
jne 0x140010c70
sub rax, r10
cmp rax, 2
jae 0x140010d53
lea rax, [rbp - 0x21]
mov qword [rbp - 0x59], rax
lea rdx, [0x1400a9830]
lea rcx, [rbp - 0x21]
call fcn.140011060
mov rbx, rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140011060
nop
mov rdx, rbx
mov rcx, rax
call fcn.140015860
movzx ebx, al
lea rcx, [0x1400a9940]
call fcn.14003120c
test eax, eax
je 0x140010ce3
mov ecx, eax
call fcn.140030cc8
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, [0x1400a9940]
call fcn.140031230
test eax, eax
je 0x140010d4b
mov ecx, eax
call fcn.140030cc8
nop
mov rsi, qword [rbp + 0x37]
mov rdi, qword [rbp + 0x1f]
cmp rsi, 8
jb 0x140010dd4
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140010dcc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010dfe
jmp 0x140010dcc
add rax, 2
jmp 0x140010c30
test ebx, ebx
jle 0x140010d53
lea edx, [rbx - 1]
mov rcx, r14
call fcn.140010a70
nop
cmp rsi, 8
jb 0x140010dd4
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140010dcc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010df8
mov rcx, rdi
call fcn.140032654
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140032630
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.140053be4
int3
call fcn.140053be4
nop
call fcn.140002500
nop
int3