Function at 0x14003c170
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 [0x1400dc438]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, edx
mov rsi, rcx
cmp qword [0x1400de890], 0
je 0x14003c530
cmp qword [0x1400de950], 0
je 0x14003c530
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400de970]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x3d
jb 0x14003c56f
lea rax, [0x1400de960]
cmp qword [0x1400de978], 0x10
cmovae rax, qword [0x1400de960]
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, [0x1400de960]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x41]
call fcn.1400057e0
xor r8d, r8d
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x1f]
call fcn.140046bf0
nop
lea rdx, [rbp + 0x1f]
mov r10, qword [rbp + 0x1f]
mov r11, qword [rbp + 0x37]
cmp r11, 8
cmovae rdx, r10
mov rbx, qword [rbp + 0x2f]
cmp rbx, 5
jne 0x14003c292
mov r9, rbx
lea r8, [0x1400aaf80]
test rbx, rbx
je 0x14003c285
sub rdx, r8
nop dword [rax + rax]
movzx eax, word [rdx + r8]
cmp ax, word [r8]
jne 0x14003c292
add r8, 2
sub r9, 1
jne 0x14003c270
test edi, edi
jle 0x14003c4f9
jmp 0x14003c4e6
cmp rbx, 2
jbe 0x14003c4e2
lea rax, [rbp + 0x1f]
cmp r11, 8
cmovae rax, r10
mov edi, 1
cmp word [rax], 0x22
jne 0x14003c2e8
mov eax, edi
cmp rbx, rax
cmovb rax, rbx
lea rcx, [rbp + 0x1f]
cmp r11, 8
cmovae rcx, r10
sub rbx, rax
lea rdx, [rcx + rax*2]
lea r8, [rbx*2 + 2]
call fcn.140082480
mov qword [rbp + 0x2f], rbx
mov r11, qword [rbp + 0x37]
mov r10, qword [rbp + 0x1f]
lea rax, [rbp + 0x1f]
cmp r11, 8
cmovae rax, r10
cmp word [rax + rbx*2 - 2], 0x22
jne 0x14003c34c
lea r9, [rbx - 1]
cmp rbx, r9
jb 0x14003c575
mov rax, rbx
sub rax, r9
cmp rax, rdi
cmovb rdi, rax
lea rax, [rbp + 0x1f]
cmp r11, 8
cmovae rax, r10
lea rcx, [rax + r9*2]
sub rbx, rdi
lea rdx, [rcx + rdi*2]
mov r8, rbx
sub r8, r9
lea r8, [r8*2 + 2]
call fcn.140082480
mov qword [rbp + 0x2f], rbx
mov r11, qword [rbp + 0x37]
mov r10, qword [rbp + 0x1f]
lea rdi, [rbp + 0x1f]
cmp r11, 8
cmovae rdi, r10
cmp rbx, 3
jb 0x14003c4a0
add rbx, 0xfffffffffffffffe
lea rbx, [rdi + rbx*2]
mov rax, rdi
lea r14, [0x1400ab430]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
sub rcx, rax
sar rcx, 1
mov edx, 0
je 0x14003c3ac
cmp word [rax], 0x31
je 0x14003c3a9
cmp rcx, 1
je 0x14003c3ac
dec rcx
add rax, 2
cmp word [rax], 0x31
jne 0x14003c396
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14003c4a0
mov r8d, 3
mov rdx, r14
mov r9, rax
sub r9, r14
nop word [rax + rax]
movzx ecx, word [rdx + r9]
cmp cx, word [rdx]
jne 0x14003c4d9
add rdx, 2
sub r8, 1
jne 0x14003c3d0
sub rax, rdi
cmp rax, 2
jae 0x14003c4a0
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
lea rdx, [0x1400de880]
lea rcx, [rbp - 0x21]
call fcn.140005910
mov rbx, rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140005910
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400471e0
movzx ebx, al
lea rdi, [0x1400dea50]
mov qword [rbp - 0x51], rdi
mov rcx, rdi
call fcn.14007e26c
test eax, eax
jne 0x14003c57b
cmp dword [0x1400dea9c], 0x7fffffff
je 0x14003c554
mov edx, 7
mov rcx, rsi
call fcn.1400418d0
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.14007e274
mov r11, qword [rbp + 0x37]
mov r10, qword [rbp + 0x1f]
cmp r11, 8
jb 0x14003c530
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14003c528
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c569
jmp 0x14003c528
add rax, 2
jmp 0x14003c380
test edi, edi
jle 0x14003c4a0
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.14003c170
mov r10, qword [rbp + 0x1f]
mov r11, qword [rbp + 0x37]
cmp r11, 8
jb 0x14003c530
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14003c528
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003c569
mov rcx, r10
call fcn.140080134
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400805c0
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 [0x1400dea9c], 0x7ffffffe
mov ecx, 6
call fcn.14007e3c4
nop
call fcn.140086adc
int3
call fcn.140025cb0
nop
call fcn.140025cf0
int3
mov ecx, 5
call fcn.14007e3c4
int3