Function at 0x140010660
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 [0x14008dfc0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, edx
mov rsi, rcx
cmp qword [0x14008fa40], 0
je 0x140010a10
cmp qword [0x14008fb60], 0
je 0x140010a10
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14008fb80]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x3d
jb 0x140010a4f
lea rax, [0x14008fb70]
cmp qword [0x14008fb88], 0xf
cmova rax, qword [0x14008fb70]
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 r8, [0x14008fb70]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x41]
call fcn.140003fd0
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x1f]
call fcn.14001a390
nop
lea r9, [rbp + 0x1f]
mov r10, qword [rbp + 0x1f]
mov r11, qword [rbp + 0x37]
cmp r11, 7
cmova r9, r10
mov rbx, qword [rbp + 0x2f]
cmp rbx, 5
jne 0x140010782
mov rdx, rbx
lea r8, [0x14006bb98]
test rbx, rbx
je 0x140010775
sub r9, r8
nop dword [rax + rax]
movzx eax, word [r8]
cmp word [r9 + r8], ax
jne 0x140010782
add r8, 2
sub rdx, 1
jne 0x140010760
test edi, edi
jle 0x1400109d9
jmp 0x1400109c6
cmp rbx, 2
jbe 0x1400109be
lea rax, [rbp + 0x1f]
cmp r11, 7
cmova rax, r10
mov edi, 1
cmp word [rax], 0x22
jne 0x1400107d8
mov eax, edi
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x1f]
cmp r11, 7
cmova rcx, r10
sub rbx, rax
lea r8, [rbx*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.140062c40
mov qword [rbp + 0x2f], rbx
mov r11, qword [rbp + 0x37]
mov r10, qword [rbp + 0x1f]
lea rax, [rbp + 0x1f]
cmp r11, 7
cmova rax, r10
cmp word [rax + rbx*2 - 2], 0x22
jne 0x14001083c
lea rdx, [rbx - 1]
cmp rbx, rdx
jb 0x140010a55
mov rax, rbx
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rax, [rbp + 0x1f]
cmp r11, 7
cmova rax, r10
lea rcx, [rax + rdx*2]
sub rbx, rdi
mov r8, rbx
sub r8, rdx
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdi*2]
call fcn.140062c40
mov qword [rbp + 0x2f], rbx
mov r11, qword [rbp + 0x37]
mov r10, qword [rbp + 0x1f]
lea rdi, [rbp + 0x1f]
cmp r11, 7
cmova rdi, r10
cmp rbx, 3
jb 0x140010880
add rbx, 0xfffffffffffffffe
lea rbx, [rdi + rbx*2]
mov rax, rdi
lea r14, [0x14006bf60]
mov rcx, rbx
sub rcx, rax
sar rcx, 1
je 0x140010880
nop dword [rax + rax]
cmp word [rax], 0x31
je 0x1400108c0
add rax, 2
sub rcx, 1
jne 0x140010870
cmp r11, 7
jbe 0x140010a10
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140010a08
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010a49
jmp 0x140010a08
test rax, rax
je 0x140010880
mov r8d, 3
mov rdx, r14
mov r9, rax
sub r9, r14
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400109b5
add rdx, 2
sub r8, 1
jne 0x1400108e0
sub rax, rdi
cmp rax, 2
jae 0x140010880
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
lea rdx, [0x14008fa30]
lea rcx, [rbp - 0x21]
call fcn.1400099a0
mov rbx, rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.1400099a0
nop
mov rdx, rbx
mov rcx, rax
call fcn.14001a9f0
movzx ebx, al
lea rdi, [0x14008fbe0]
mov qword [rbp - 0x51], rdi
mov rcx, rdi
call fcn.14003ca80
test eax, eax
jne 0x140010a5b
cmp dword [0x14008fc2c], 0x7fffffff
je 0x140010a34
mov edx, 7
mov rcx, rsi
call fcn.1400114f0
mov dword [rbp - 0x51], ebx
mov dword [rbp - 0x49], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x51]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
call fcn.14003ca88
mov r11, qword [rbp + 0x37]
mov r10, qword [rbp + 0x1f]
jmp 0x140010880
add rax, 2
jmp 0x140010860
test edi, edi
jle 0x140010880
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.140010660
mov r10, qword [rbp + 0x1f]
mov r11, qword [rbp + 0x37]
cmp r11, 7
jbe 0x140010a10
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140010a08
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010a49
mov rcx, r10
call fcn.14003d438
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14003d550
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 dword [0x14008fc2c], 0x7ffffffe
mov ecx, 6
call fcn.14003cda8
nop
call fcn.14004442c
int3
call fcn.140002850
nop
call fcn.140002870
int3
mov ecx, 5
call fcn.14003cda8
int3