Function at 0x140011860
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 [0x1400a0088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, edx
mov r14, rcx
cmp qword [0x1400a5b40], 0
je 0x140011b5b
cmp qword [0x1400a5be0], 0
je 0x140011b5b
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x1400a5bf0]
lea rdx, str.https:__flingtrainer.com_wp_content_check_for_trainer_update_
lea rcx, [rbp - 0x41]
call fcn.140012170
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.1400148d0
nop
lea r10, [rbp + 0x1f]
mov rbx, qword [rbp + 0x1f]
mov rdi, qword [rbp + 0x37]
cmp rdi, 8
cmovae r10, rbx
mov rdx, qword [rbp + 0x2f]
cmp rdx, 5
jne 0x140011932
mov r9, rdx
lea r8, [0x14008abb0]
sub r10, r8
nop dword [rax + rax]
movzx eax, word [r8]
cmp word [r10 + r8], ax
jne 0x14001193c
add r8, 2
sub r9, 1
jne 0x140011910
test esi, esi
jle 0x140011b24
jmp 0x140011b11
cmp rdx, 2
jbe 0x140011b0d
lea rax, [rbp + 0x1f]
cmp rdi, 8
cmovae rax, rbx
mov esi, 1
cmp word [rax], 0x22
jne 0x14001198c
mov eax, esi
cmp rdx, rax
cmovb rax, rdx
lea rcx, [rbp + 0x1f]
cmp rdi, 8
cmovae rcx, rbx
sub rdx, rax
mov qword [rbp + 0x2f], rdx
lea r8, [rdx*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.14004e230
mov rdi, qword [rbp + 0x37]
mov rdx, qword [rbp + 0x2f]
mov rbx, qword [rbp + 0x1f]
lea rax, [rbp + 0x1f]
cmp rdi, 8
cmovae rax, rbx
cmp word [rax + rdx*2 - 2], 0x22
jne 0x1400119f1
lea r8, [rdx - 1]
cmp rdx, r8
jb 0x140011b8b
mov rax, rdx
sub rax, r8
cmp rax, rsi
cmovb rsi, rax
lea rax, [rbp + 0x1f]
cmp rdi, 8
cmovae rax, rbx
lea rcx, [rax + r8*2]
sub rdx, rsi
mov qword [rbp + 0x2f], rdx
sub rdx, r8
lea r8, [rdx*2 + 2]
lea rdx, [rcx + rsi*2]
call fcn.14004e230
mov rdi, qword [rbp + 0x37]
mov rdx, qword [rbp + 0x2f]
mov rbx, qword [rbp + 0x1f]
lea rcx, [rbp + 0x1f]
cmp rdi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 3
lea r9, [0x14008af20]
xor r8d, r8d
call fcn.140002550
test rax, rax
jne 0x140011adc
lea rax, [rbp - 0x21]
mov qword [rbp - 0x59], rax
lea rdx, [0x1400a5b30]
lea rcx, [rbp - 0x21]
call fcn.140011d90
mov rbx, rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140011d90
nop
mov rdx, rbx
mov rcx, rax
call fcn.140015c20
movzx ebx, al
lea rcx, [0x1400a5c60]
call fcn.14002e9ac
test eax, eax
je 0x140011a6c
mov ecx, eax
call fcn.14002e468
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, [0x1400a5c60]
call fcn.14002e9d0
test eax, eax
je 0x140011ad4
mov ecx, eax
call fcn.14002e468
nop
mov rdi, qword [rbp + 0x37]
mov rbx, qword [rbp + 0x1f]
cmp rdi, 8
jb 0x140011b5b
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140011b53
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011b85
jmp 0x140011b53
test esi, esi
jle 0x140011adc
lea edx, [rsi - 1]
mov rcx, r14
call fcn.140011860
mov rbx, qword [rbp + 0x1f]
mov rdi, qword [rbp + 0x37]
cmp rdi, 8
jb 0x140011b5b
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140011b53
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011b7f
mov rcx, rbx
call fcn.14002fdf4
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002fdd0
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.140051164
int3
call fcn.140051164
nop
call fcn.140002390
nop
int3