Function at 0x140144960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402d4040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
add rcx, 0xa0
call fcn.1401a36a0
xor r10d, r10d
mov rcx, qword [0x1402dc758]
sub rcx, qword [0x1402dc750]
movabs rsi, 0x48d159e26af37c05
mov rax, rsi
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test edx, edx
jle 0x140144b44
mov r11, qword [0x1402dcaa0]
xor r9d, r9d
lea rdi, [0x140000000]
movss xmm2, dword [0x1402a5fd8]
nop dword [rax]
lea eax, [r10 + 1]
mov r10d, eax
cdqe
mov rcx, qword [r11 + 0x268]
mov r8, qword [r11 + 0x270]
cmp rcx, r8
je 0x140144a12
nop dword [rax]
mov rdx, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140144a3a
add rcx, 0x10
cmp rcx, r8
jne 0x140144a00
movaps xmm0, xmm2
movaps xmm1, xmm2
mov rdx, qword [0x1402dc750]
mov eax, dword [r9 + rdx]
dec eax
cmp eax, 8
ja case.default.0x140144a38
mov ecx, dword [rdi + rax*4 + 0x144c3c]
add rcx, rdi
jmp rcx
test rdx, rdx
je 0x140144a12
movss xmm0, dword [rdx + 0x24]
movss xmm1, dword [rdx + 0x28]
jmp 0x140144a18
movss dword [r9 + rdx + 0x68], xmm0
movss dword [r9 + rdx + 0x6c], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0x258], xmm0
movss dword [r9 + rdx + 0x25c], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0x3b8], xmm0
movss dword [r9 + rdx + 0x3bc], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0x5f8], xmm0
movss dword [r9 + rdx + 0x5fc], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0x940], xmm0
movss dword [r9 + rdx + 0x944], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0xc10], xmm0
movss dword [r9 + rdx + 0xc14], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0xe80], xmm0
movss dword [r9 + rdx + 0xe84], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0x1858], xmm0
movss dword [r9 + rdx + 0x185c], xmm1
jmp case.default.0x140144a38
movss dword [r9 + rdx + 0x1ab0], xmm0
movss dword [r9 + rdx + 0x1ab4], xmm1
add r9, 0x1c20
mov rcx, qword [0x1402dc758]
sub rcx, qword [0x1402dc750]
mov rax, rsi
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10d, edx
jl 0x1401449e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movdqa xmm1, xmmword [0x1402a60d0]
movdqu xmmword [rsp + 0x38], xmm1
mov byte [rsp + 0x28], 0
lea rdx, [rsp + 0x28]
lea rcx, [0x1402dc670]
call fcn.140176970
mov qword [rsp + 0x20], 0
lea r8, [0x14027d658]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov r9, qword [rsp + 0x20]
test r9, r9
jne 0x140144bbd
cmp byte [0x1402dd8f1], r9b
jne 0x140144c0e
mov rdx, rbx
lea rcx, str.WriteToJSONFile___Line_43:_n_nExpression:_nfalse_n_nCould_not_write_file__s
call fcn.1400db340
test al, al
jne 0x140144c0e
mov byte [0x1402dd8f1], 1
jmp 0x140144c0e
lea rax, [rsp + 0x28]
mov r8, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 0xf
cmova rax, r8
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x140144be0
lea rcx, [rsp + 0x28]
cmp r10, 0xf
cmova rcx, r8
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
lea rcx, [rsp + 0x28]
call fcn.1400050e0
mov byte [0x1402dc612], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140244f00
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret