Function at 0x1400e8f90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [rcx]
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
mov rbx, rdx
call fcn.1401c2310
mov rdx, rdi
xor ecx, ecx
movsxd r14, eax
call fcn.140067100
movsx eax, word [rbx + 0x5a]
lea rdx, [rsp + 0x60]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.1401c5c60
movsx eax, word [rbx + 0x5c]
lea rdx, [rsp + 0x68]
movaps xmm7, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call fcn.1401c5c60
mov r9, qword [rdi]
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [0x14021a118]
movaps xmm8, xmm0
call fcn.1401c24f8
mov ecx, 0x3ed
mov rdx, rdi
call fcn.1400671a0
xor ecx, ecx
mov rdx, rdi
call fcn.1400671a0
mov rdx, rdi
mov ecx, 0x10
call fcn.140067100
mov rdx, rdi
cvttsd2si rcx, qword [rsp + 0x60]
call fcn.1400671a0
mulsd xmm7, qword [0x1402204b0]
mov rdx, rdi
cvttsd2si rcx, xmm7
call fcn.1400671a0
mov ecx, 1
mov rdx, rdi
call fcn.1400671a0
mov ecx, 1
mov rdx, rdi
call fcn.1400671a0
mov rdx, rdi
cvttsd2si rcx, qword [rsp + 0x68]
call fcn.1400671a0
mulsd xmm8, qword [0x1402204b0]
mov rdx, rdi
cvttsd2si rcx, xmm8
call fcn.1400671a0
mov ecx, 1
mov rdx, rdi
call fcn.1400671a0
mov ecx, 1
mov rdx, rdi
call fcn.1400671a0
mov rbx, qword [rbx + 0x70]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
test rbx, rbx
je 0x1400e9227
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
nop dword [rax]
mov eax, dword [rbx]
cmp eax, 1
jne 0x1400e9127
mov r9, qword [rdi]
lea edx, [rax + 3]
lea rcx, [0x14021a118]
mov r8d, eax
call fcn.1401c24f8
mov ecx, 0x422
mov rdx, rdi
call fcn.1400671a0
xor ecx, ecx
mov rdx, rdi
call fcn.1400671a0
mov ecx, dword [rbx + 4]
mov rdx, rdi
sub ecx, 6
call fcn.140067100
mov eax, dword [rbx + 4]
mov rcx, qword [rbx + 8]
sub eax, 6
add rcx, 6
movsxd rdx, eax
jmp 0x1400e9202
cmp eax, 2
jne 0x1400e919c
mov rax, qword [rbx + 8]
mov esi, dword [rbx + 4]
cmp byte [rax + 0x1a], 0x1c
lea rbp, [rax + 0x1a]
jne 0x1400e9142
sub esi, 0x1a
jmp 0x1400e9158
cmp byte [rax + 0x1b], 0x1c
lea rbp, [rax + 0x1b]
jne 0x1400e9151
sub esi, 0x1b
jmp 0x1400e9158
lea rbp, [rax + 0x18]
sub esi, 0x18
mov r9, qword [rdi]
mov edx, 4
lea rcx, [0x14021a118]
lea r8d, [rdx - 3]
add esi, 2
call fcn.1401c24f8
mov ecx, 0x404
mov rdx, rdi
call fcn.1400671a0
xor ecx, ecx
mov rdx, rdi
call fcn.1400671a0
mov rdx, rdi
mov ecx, esi
call fcn.140067100
mov edx, esi
lea rcx, [rbp - 2]
jmp 0x1400e9202
cmp eax, 3
jne 0x1400e91be
mov r9, qword [rdi]
lea edx, [rax + 1]
lea r8d, [rax - 2]
lea rcx, [0x14021a118]
call fcn.1401c24f8
mov ecx, 0x424
jmp 0x1400e91dd
cmp eax, 4
jne 0x1400e9210
mov r9, qword [rdi]
lea r8d, [rax - 3]
lea rcx, [0x14021a118]
mov edx, eax
call fcn.1401c24f8
mov ecx, 0x40f
mov rdx, rdi
call fcn.1400671a0
mov rdx, rdi
xor ecx, ecx
call fcn.1400671a0
mov ecx, dword [rbx + 4]
mov rdx, rdi
call fcn.140067100
mov rcx, qword [rbx + 8]
movsxd rdx, dword [rbx + 4]
mov r9, qword [rdi]
mov r8d, 1
call fcn.1401c24f8
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400e90d0
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rdi]
call fcn.1401c2310
and eax, 0x80000001
jge 0x1400e923d
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1400e9272
mov r9, qword [rdi]
mov edx, 1
lea rcx, [0x1401f6a40]
mov r8d, edx
call fcn.1401c24f8
mov rcx, qword [rdi]
call fcn.1401c2310
and eax, 0x80000001
jge 0x1400e926e
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x1400e9241
mov rcx, qword [rdi]
call fcn.1401c2310
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, r14d
movsxd rbx, eax
call fcn.1401c1f88
mov ecx, ebx
mov rdx, rdi
sub ecx, r14d
sub ecx, 4
call fcn.140067100
mov rcx, qword [rdi]
xor r8d, r8d
mov edx, ebx
call fcn.1401c1f88
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rbx
ret