Function at 0x140078640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [r11 - 0x148]
sub rsp, 0x220
movaps xmmword [r11 - 0xd8], xmm15
mov rax, qword [0x1402ca088]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, qword [0x140317610]
mov r14, rcx
mov qword [r11 + 0x20], rbx
mov ebx, r8d
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x38], r15
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rcx
call fcn.1400758d0
test rax, rax
mov rdi, rax
sete al
mov byte [rsp + 0x40], al
test rdi, rdi
jne 0x1400786b5
mov edx, ebx
mov rcx, r14
call fcn.140075c00
mov rdi, rax
jmp 0x1400786c3
mov r8d, ebx
movzx edx, al
mov rcx, rdi
call fcn.140075a20
mov r9d, dword [rdi + 0x280]
lea r14, [rsi + 0x3fb0]
mov eax, ebx
mov dword [rsp + 0x4c], r9d
mov r13d, ebx
and eax, 0xc0200
or r13d, 6
cmp eax, 0xc0200
cmovne r13d, ebx
cmp dword [r14], 0
mov ebx, dword [rsi + 0x3f60]
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x50], ebx
jne 0x14007870f
cmp byte [rsi + 0x3f71], 0
je 0x14007870f
mov al, 1
jmp 0x140078711
xor al, al
mov byte [rdi + 0xd3], al
lea eax, [rbx - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x43], r8b
bt r13d, 0x1a
jae 0x14007875b
movsxd rax, dword [rsi + 0x41f0]
imul rcx, rax, 0x38
add rcx, qword [rsi + 0x41e8]
cmp rdi, qword [rcx + 8]
mov eax, dword [rcx]
setne dl
cmp dword [rdi + 0xe0], eax
setne al
or dl, al
or r8b, dl
mov byte [rsp + 0x43], r8b
movzx r12d, byte [rdi + 0xd1]
xor ecx, ecx
cmp r9d, ebx
je 0x1400787d3
mov byte [rdi + 0xd1], r8b
test r8b, r8b
je 0x140078792
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
or byte [rdi + 0xf3], 8
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xc], r13d
mov dword [rdi + 0x280], ebx
movsd xmm0, qword [rsi + 0x3f58]
mov word [rdi + 0xda], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x288], xmm0
movzx eax, word [rsi + 0x3fd0]
inc dword [rsi + 0x3fd0]
mov word [rdi + 0xdc], ax
jmp 0x1400787dc
mov r13d, dword [rdi + 0xc]
mov dword [rsp + 0x44], r13d
test dword [rsi + 0x40f0], 0x200
je 0x140078802
mov r8d, dword [rsi + 0x4100]
mov rcx, rdi
mov edx, dword [rsi + 0x4158]
call fcn.14008dae0
mov r9d, dword [rsp + 0x4c]
cmp r9d, ebx
je 0x1400788f7
cmp dword [rdi + 0x430], 0
jne 0x1400788cc
cmp qword [rdi + 0x420], 0
jne 0x1400788cc
mov rax, qword [0x140317610]
xor cl, cl
cmp byte [rax + 0x72], cl
jne 0x14007883d
cmp byte [rdi + 0x2c], cl
je 0x1400788ce
test dword [rdi + 0xc], 0x1200001
lea r15, [rdi + 0xc]
jne 0x1400788ce
cmp byte [rdi + 0xd3], cl
jne 0x1400788ce
movzx ebx, byte [rdi + 0x401]
mov rdx, qword [rbp - 0x80]
mov rcx, rdi
call fcn.14008e070
test byte [rdi + 0x401], 1
mov r13d, dword [r15]
mov dword [rsp + 0x44], r13d
je 0x140078881
and dword [rsi + 0x40f0], 0xffffffef
test byte [rdi + 0x401], 4
je 0x1400788ee
test bl, 4
jne 0x1400788ee
test bl, 2
je 0x1400788ee
cmp byte [rdi + 0xd1], 0
mov r9d, dword [rsp + 0x4c]
jne 0x1400788f3
test r12b, r12b
jne 0x1400788f3
or byte [rdi + 0xf0], 8
or byte [rdi + 0xf1], 8
or byte [rdi + 0xf2], 8
or byte [rdi + 0xf3], 8
mov byte [rdi + 0xd1], 1
jmp 0x1400788f3
mov cl, 1
movzx ebx, byte [rdi + 0x401]
lea r15, [rdi + 0xc]
test cl, cl
jne 0x14007885d
and bl, 0xfb
and bl, 0xfd
and bl, 0xfe
mov byte [rdi + 0x401], bl
jmp 0x1400788f3
mov r9d, dword [rsp + 0x4c]
mov ebx, dword [rsp + 0x50]
test byte [rdi + 0x401], 1
je 0x140078917
mov rax, qword [rdi + 0x420]
mov r15, qword [rax + 0x88]
mov qword [rbp + 0x28], r15
test r15, r15
jne 0x14007893d
movsxd rax, dword [r14]
test eax, eax
jne 0x140078929
xor eax, eax
mov r15d, eax
mov qword [rbp + 0x28], rax
jmp 0x14007893f
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x3fb8]
mov r15, qword [rcx + rax - 0x58]
mov qword [rbp + 0x28], r15
xor eax, eax
cmp r9d, ebx
je 0x140078954
test r13d, 0x5000000
mov r12, rax
cmovne r12, r15
jmp 0x14007895b
mov r12, qword [rdi + 0x390]
lea rbx, [rdi + 0x108]
mov qword [rsp + 0x60], r12
cmp dword [rbx], 0
mov r13d, 8
jne 0x140078992
cmp dword [rbx + 4], 0
jne 0x140078983
mov edx, r13d
mov rcx, rbx
call fcn.140090c10
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
mov rdx, qword [0x140317610]
xor eax, eax
movups xmm1, xmmword [rsi + 0x40c0]
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], eax
xorps xmm0, xmm0
mov eax, dword [rsi + 0x40e8]
mov qword [rsi + 0x3fe0], rdi
mov r8d, dword [r14 + 4]
movups xmmword [rbp - 8], xmm0
mov dword [rbp], eax
mov rax, qword [rdx + 0x3fe0]
movups xmm0, xmmword [rsi + 0x40b0]
mov qword [rbp - 0x40], rdi
movups xmmword [rbp - 0x28], xmm1
movzx ecx, word [rax + 0x108]
movzx eax, word [rdx + 0x4180]
movsd xmm1, qword [rsi + 0x40e0]
mov word [rbp + 6], ax
movzx eax, word [rdx + 0x4190]
mov word [rbp + 8], ax
movzx eax, word [rdx + 0x41a0]
mov word [rbp + 0xa], ax
movzx eax, word [rdx + 0x41b0]
mov word [rbp + 0xc], ax
movzx eax, word [rdx + 0x41d0]
mov word [rbp + 0xe], ax
movzx eax, word [rdx + 0x41c0]
mov word [rbp + 0x10], ax
movzx eax, word [rdx + 0x41f0]
movups xmmword [rbp - 0x38], xmm0
mov word [rbp + 0x12], ax
movups xmm0, xmmword [rsi + 0x40d0]
movzx eax, word [rdx + 0x54e0]
mov word [rbp + 4], cx
mov ecx, dword [r14]
mov word [rbp + 0x14], ax
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
cmp ecx, r8d
jne 0x140078a87
inc ecx
test r8d, r8d
je 0x140078a75
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140078a78
mov eax, r13d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140090ca0
movsxd rax, dword [r14]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
imul rcx, rax, 0x58
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp + 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [r14]
mov r14d, dword [rsp + 0x44]
mov qword [rsi + 0x3fe0], 0
bt r14d, 0x1c
jae 0x140078ae9
inc dword [rsi + 0x4200]
bt r14d, 0x1a
jae 0x140078b2a
lea rcx, [rsi + 0x41f0]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x41e8]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x170]
mov dword [rbx + 0x18], eax
call fcn.140090230
mov eax, dword [rbx]
lea rbx, [rdi + 0x108]
mov dword [rdi + 0xe0], eax
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
cmp r11d, r10d
je 0x140078b4e
mov r8, r12
mov edx, r14d
mov rcx, rdi
call fcn.140078570
mov qword [rdi + 0x398], r15
xor dl, dl
xor r15b, r15b
xor r12b, r12b
mov byte [rsp + 0x48], dl
test byte [rsi + 0x40f0], 1
je 0x140078bf6
mov r8d, dword [rsi + 0x40f4]
movzx ecx, byte [rdi + 0xf0]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x48], dl
test r8d, eax
je 0x140078be7
movss xmm0, dword [rsi + 0x4110]
movss xmm1, dword [rsi + 0x410c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1402a90b4]
jbe 0x140078be7
movsd xmm0, qword [rsi + 0x4104]
and ecx, 0xf1
mov eax, dword [rdi + 0xf0]
and eax, 0xffffff00
movsd qword [rdi + 0xf4], xmm0
movsd xmm1, qword [rsi + 0x410c]
or ecx, eax
mov dword [rdi + 0xf0], ecx
movsd qword [rdi + 0xfc], xmm1
jmp 0x140078bf6
lea rdx, [rsi + 0x4104]
mov rcx, rdi
call fcn.14007bdc0
test byte [rsi + 0x40f0], 2
xorps xmm15, xmm15
je 0x140078c49
movsx eax, byte [rdi + 0xf1]
lea rdx, [rsi + 0x4114]
mov r8d, dword [rsi + 0x40f8]
and eax, r8d
je 0x140078c2c
movss xmm0, dword [rdx]
comiss xmm0, xmm15
jbe 0x140078c2c
mov r15b, 1
jmp 0x140078c30
test eax, eax
je 0x140078c41
movss xmm0, dword [rsi + 0x4118]
comiss xmm0, xmm15
jbe 0x140078c41
mov r12b, 1
mov rcx, rdi
call fcn.14007bf50
test byte [rsi + 0x40f0], 0x80
je 0x140078c8c
movss xmm0, dword [rsi + 0x4124]
xor eax, eax
comiss xmm0, xmm15
jb 0x140078c70
movss dword [rdi + 0xa8], xmm0
mov dword [rdi + 0xb0], eax
movss xmm0, dword [rsi + 0x4128]
comiss xmm0, xmm15
jb 0x140078c8c
movss dword [rdi + 0xac], xmm0
mov dword [rdi + 0xb4], eax
test byte [rsi + 0x40f0], 4
je 0x140078ca4
movsd xmm0, qword [rsi + 0x411c]
movsd qword [rdi + 0x70], xmm0
jmp 0x140078caf
cmp r11d, r10d
je 0x140078caf
xor eax, eax
mov qword [rdi + 0x70], rax
test dword [rsi + 0x40f0], 0x400
je 0x140078cdc
movups xmm0, xmmword [rsi + 0x415c]
movups xmmword [rdi + 0x14], xmm0
movsd xmm1, qword [rsi + 0x416c]
movsd qword [rdi + 0x24], xmm1
mov eax, dword [rsi + 0x4174]
mov dword [rdi + 0x2c], eax
test byte [rsi + 0x40f0], r13b
je 0x140078d2a
mov ecx, dword [rsi + 0x40fc]
movzx edx, byte [rsi + 0x412d]
test ecx, ecx
je 0x140078d01
movsx eax, byte [rdi + 0xf2]
test ecx, eax
je 0x140078d2a
movzx ecx, byte [rdi + 0xf2]
mov eax, dword [rdi + 0xf0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xce], dl
mov dword [rdi + 0xf0], ecx
test byte [rsi + 0x40f0], 0x20
je 0x140078d45
mov rcx, rdi
call fcn.14007b750
mov r10d, dword [rsp + 0x50]
mov r11d, dword [rsp + 0x4c]
cmp byte [rdi + 0xd1], 0
je 0x140078d6a
and byte [rdi + 0xf0], 0xf7
and byte [rdi + 0xf1], 0xf7
and byte [rdi + 0xf2], 0xf7
and byte [rdi + 0xf3], 0xf7
cmp r11d, r10d
je 0x14007b08d
movaps xmmword [rsp + 0x200], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x1f0], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x80], 0
movaps xmmword [rsp + 0x1e0], xmm8
movaps xmmword [rsp + 0x1d0], xmm9
movaps xmmword [rsp + 0x1c0], xmm10
movaps xmmword [rsp + 0x1b0], xmm11
movaps xmmword [rsp + 0x1a0], xmm12
movaps xmmword [rsp + 0x190], xmm13
mov byte [rdi + 0xcb], 1
movaps xmmword [rsp + 0x180], xmm14
mov dword [rsp + 0x58], eax
movzx eax, byte [rdi + 0xed]
mov byte [rsp + 0x49], al
setne al
mov byte [rdi + 0xd5], al
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rbx + 4]
mov ebx, 1
cmp ecx, ebx
jge 0x140078e47
test ecx, ecx
je 0x140078e31
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140078e34
mov eax, r13d
cmp eax, ebx
lea rcx, [rdi + 0x108]
mov edx, ebx
cmovg edx, eax
call fcn.140090c10
mov dword [rdi + 0x108], ebx
mov rcx, qword [rdi + 0x2c0]
call fcn.1400989f0
mov dword [rdi + 0x1d0], 0xffffffff
bt r14d, 0x1d
jae 0x140078e99
mov rcx, qword [rdi + 0x2c0]
mov r8d, 2
add rcx, 0xa8
call fcn.14009c2d0
mov rdx, qword [rdi + 0x2c0]
mov r8d, ebx
lea rcx, [rdx + 0xa8]
call fcn.14009c7d0
cmp byte [rdi + 0x400], 0
je 0x140078ede
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x3f8]
add rcx, 0x10
mov byte [rdi + 0x400], 0
call fcn.140061740
mov rcx, qword [rdi + 0x2c0]
mov edx, dword [rdi + 0x3fc]
add rcx, 0x20
call fcn.140090840
xor eax, eax
mov qword [rdi + 0x3f8], rax
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140078ef0
cmp qword [rax + 0x88], rdi
je 0x140078f13
test byte [rdi + 0x401], bl
jne 0x140078f13
cmp qword [rsi + 0x43e0], 0
je 0x140078fd4
test dword [rdi + 0xc], 0x80000
jne 0x140078fd4
movzx r9d, byte [rsp + 0x40]
test r9b, r9b
jne 0x140078fda
mov r10, qword [rbp - 0x78]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140078f45
inc rax
test ecx, ecx
jne 0x140078f32
test edx, edx
je 0x140078fd4
movsxd r14, dword [rdi + 0x88]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [r10 + rbx], 0
jne 0x140078f60
inc rbx
cmp r14, rbx
jae 0x140078fb7
test r9, r9
je 0x140078f89
mov rax, qword [0x140317610]
test rax, rax
je 0x140078f89
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140317610]
test rax, rax
je 0x140078fa4
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x78]
mov r14, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x88], r14d
mov r14d, dword [rsp + 0x44]
mov qword [rdi], rax
movzx r9d, byte [rsp + 0x40]
lea rdx, [rdi + 0x60]
mov rcx, rdi
lea r8, [rdi + 0x68]
call fcn.140076150
movzx eax, byte [rdi + 0xec]
test al, al
jle 0x140078ffd
dec al
mov byte [rdi + 0xec], al
movzx eax, byte [rdi + 0xed]
test al, al
jle 0x140079010
dec al
mov byte [rdi + 0xed], al
movzx eax, byte [rdi + 0xee]
test al, al
jle 0x140079023
dec al
mov byte [rdi + 0xee], al
test r9b, r9b
je 0x140079039
test r15b, r15b
je 0x140079032
test r12b, r12b
jne 0x140079039
mov byte [rdi + 0xed], 1
cmp byte [rsp + 0x43], 0
je 0x140079084
test r14d, 0x6000000
je 0x140079084
mov byte [rdi + 0xed], 1
test r14b, 0x40
je 0x140079084
xor r14d, r14d
test r15b, r15b
jne 0x140079066
mov dword [rdi + 0x58], r14d
mov dword [rdi + 0x50], r14d
test r12b, r12b
jne 0x140079073
mov dword [rdi + 0x5c], r14d
mov dword [rdi + 0x54], r14d
mov qword [rdi + 0x68], 0
mov qword [rdx], 0
jmp 0x140079087
xor r14d, r14d
call fcn.140085dd0
mov rcx, qword [rdi + 0x30]
mov r10, qword [0x140317610]
test rcx, rcx
je 0x1400790a6
mov eax, dword [r10 + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [r10 + 0x4220], rcx
je 0x1400790ee
test rcx, rcx
je 0x1400790dc
mov eax, dword [rcx + 0x28]
mov dword [r10 + 0x4218], eax
mov rax, qword [r10 + 0x3890]
mov qword [r10 + 0x4220], rcx
test rax, rax
je 0x1400790ee
call rax
mov r10, qword [0x140317610]
jmp 0x1400790ee
mov dword [r10 + 0x4218], 0x3f800000
mov qword [r10 + 0x4220], rcx
test dword [rsi + 8], 0x8000
movss xmm11, dword [0x1402a91e0]
je 0x14007910b
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x14007910f
movaps xmm0, xmm11
movss dword [rdi + 0x2b4], xmm0
mov qword [r10 + 0x3fe0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x14007913a
imul rcx, rax, 0x218
add rcx, qword [r10 + 0x44e0]
jmp 0x14007913d
mov rcx, r14
mov qword [r10 + 0x44b8], rcx
movss xmm0, dword [rdi + 0x2b0]
mulss xmm0, dword [r10 + 0x3d54]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140079171
mulss xmm0, dword [rax + 0x2b0]
movss dword [r10 + 0x3d68], xmm0
movss dword [r10 + 0x3d50], xmm0
mov edx, dword [rdi + 0xc]
mov r14d, edx
and r14d, 0x1000000
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x54], r14d
je 0x1400791a5
movss xmm0, dword [rsi + 0x3938]
jmp 0x1400791c5
test edx, 0x6000000
je 0x1400791bd
bt edx, 0x1b
jb 0x1400791bd
movss xmm0, dword [rsi + 0x3940]
jmp 0x1400791c5
movss xmm0, dword [rsi + 0x391c]
movss dword [rdi + 0x84], xmm0
movzx ecx, byte [rdi + 0x401]
and cl, 1
jne 0x14007920d
mov eax, edx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x14007920d
ucomiss xmm0, xmm15
jp 0x14007920d
jne 0x14007920d
bt edx, 0xa
jae 0x140079203
movss xmm0, dword [rsi + 0x3914]
movaps xmm1, xmm15
jmp 0x14007921d
movaps xmm0, xmm15
movaps xmm1, xmm15
jmp 0x14007921d
movss xmm1, dword [rsi + 0x3910]
movss xmm0, dword [rsi + 0x3914]
movss dword [rdi + 0x78], xmm1
movss dword [rdi + 0x7c], xmm0
movss xmm0, dword [rdi + 0x78]
maxss xmm0, dword [rsi + 0x3954]
maxss xmm0, dword [rsi + 0x4178]
movss dword [rdi + 0x180], xmm0
mov eax, dword [rsi + 0x417c]
mov dword [rdi + 0x184], eax
test dl, 0x21
jne 0x140079354
test cl, cl
jne 0x140079354
test dl, 1
je 0x14007926c
movaps xmm2, xmm15
jmp 0x1400792aa
movss xmm0, dword [rdi + 0x2b0]
mulss xmm0, dword [r10 + 0x3d54]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140079299
mulss xmm0, dword [rax + 0x2b0]
movss xmm2, dword [r10 + 0x3948]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x48]
movaps xmm1, xmm0
movss dword [rsp + 0x68], xmm0
addss xmm1, dword [rdi + 0x58]
addss xmm2, dword [rdi + 0x4c]
movss xmm0, dword [rdi + 0x4c]
movss dword [rsp + 0x6c], xmm0
movss dword [rsp + 0x70], xmm1
movss dword [rsp + 0x74], xmm2
cmp qword [rsi + 0x3fe8], rdi
jne 0x14007931b
cmp dword [rsi + 0x4020], 0
jne 0x14007931b
cmp dword [rsi + 0x4024], 0
jne 0x14007931b
mov r8b, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.14007c300
test al, al
je 0x14007931b
cmp word [rsi + 0x36ca], 2
jne 0x14007931b
mov byte [rdi + 0xcf], r8b
cmp byte [rdi + 0xcf], 0
je 0x14007935b
cmp byte [rdi + 0xce], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0xce], al
jne 0x14007935b
comiss xmm15, dword [r10 + 0x556c]
jb 0x14007935b
mov eax, dword [r10 + 0x1c]
mov dword [r10 + 0x556c], eax
jmp 0x14007935b
mov byte [rdi + 0xce], 0
lea r8, [rdi + 0x68]
mov byte [rdi + 0xcf], 0
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140076260
movzx eax, byte [rsp + 0x40]
mov ebx, dword [rsp + 0x44]
mov byte [rsp + 0x41], al
mov byte [rsp + 0x42], al
test bl, 0x40
je 0x1400793c2
cmp byte [rdi + 0xce], 0
jne 0x1400793c2
test r15b, r15b
jne 0x1400793a5
movss xmm0, dword [rbp + 0x20]
movss dword [rdi + 0x58], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x140079465
movss xmm0, dword [rbp + 0x24]
movss dword [rdi + 0x5c], xmm0
mov byte [rsp + 0x42], 1
jmp 0x140079465
movzx eax, byte [rdi + 0xe4]
test al, al
jg 0x1400793da
cmp byte [rdi + 0xe5], 0
jle 0x140079465
test r15b, r15b
jne 0x140079407
test al, al
jle 0x140079407
cmp byte [rdi + 0xe7], r15b
je 0x1400793f8
movss xmm0, dword [rdi + 0x58]
maxss xmm0, dword [rbp + 0x20]
jmp 0x1400793fd
movss xmm0, dword [rbp + 0x20]
movss dword [rdi + 0x58], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x140079439
cmp byte [rdi + 0xe5], r12b
jle 0x140079439
cmp byte [rdi + 0xe7], r12b
je 0x14007942a
movss xmm0, dword [rdi + 0x5c]
maxss xmm0, dword [rbp + 0x24]
jmp 0x14007942f
movss xmm0, dword [rbp + 0x24]
movss dword [rdi + 0x5c], xmm0
mov byte [rsp + 0x42], 1
cmp byte [rdi + 0xce], 0
jne 0x140079465
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x140317610]
jne 0x140079465
comiss xmm15, dword [rcx + 0x556c]
jb 0x140079465
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x556c], eax
lea r8, [rdi + 0x58]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140075ed0
cmp byte [rdi + 0xce], 0
mov r12, qword [0x140317610]
mov qword [rsp + 0x78], r12
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x58], xmm2
movss dword [rdi + 0x5c], xmm0
je 0x14007950e
test r14d, r14d
jne 0x14007950e
test byte [rdi + 0xc], 1
je 0x1400794ae
movaps xmm1, xmm15
jmp 0x1400794ee
movss xmm0, dword [r12 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x1400794dc
mulss xmm0, dword [rax + 0x2b0]
movss xmm1, dword [r12 + 0x3948]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x4c]
subss xmm2, dword [rdi + 0x48]
subss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x68], xmm2
movss dword [rbp - 0x64], xmm1
jmp 0x140079518
movsd xmm0, qword [rdi + 0x58]
movsd qword [rbp - 0x68], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rbp - 0x68]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x50], xmm0
test cl, 1
je 0x140079533
movaps xmm1, xmm15
jmp 0x140079573
movss xmm0, dword [r12 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x140079561
mulss xmm0, dword [rax + 0x2b0]
movss xmm1, dword [r12 + 0x3948]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x1400795c8
movss xmm14, dword [r12 + 0x3d54]
mulss xmm14, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm14, dword [rdi + 0x2b4]
test rax, rax
je 0x1400795aa
mulss xmm14, dword [rax + 0x2b0]
movss xmm0, dword [r12 + 0x3948]
addss xmm14, dword [rdi + 0x184]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x1400795cc
movaps xmm14, xmm15
cmp byte [rsp + 0x43], 0
addss xmm14, xmm1
movzx r15d, byte [rsp + 0x48]
je 0x140079623
mov eax, ebx
mov dword [rdi + 0xe8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140079623
test r15b, r15b
jne 0x140079623
movsxd rax, dword [rsi + 0x41f0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x41f8]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
test r14d, r14d
je 0x140079740
mov rdx, qword [rsp + 0x60]
movzx eax, word [rdx + 0x1b0]
mov word [rdi + 0xda], ax
mov ecx, dword [rdx + 0x1b4]
mov ebx, dword [rdx + 0x1b0]
cmp ebx, ecx
jne 0x1400796ff
inc ebx
test ecx, ecx
je 0x140079669
mov eax, ecx
cdq
sub eax, edx
mov rdx, qword [rsp + 0x60]
sar eax, 1
lea r13d, [rcx + rax]
cmp r13d, ebx
cmovg ebx, r13d
cmp ebx, ecx
jle 0x1400796ff
test r12, r12
je 0x140079685
inc dword [r12 + 0xf4]
movsxd rcx, ebx
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, qword [rsp + 0x60]
mov r14, rax
mov rdx, qword [r13 + 0x1b8]
test rdx, rdx
je 0x1400796dd
movsxd r8, dword [r13 + 0x1b0]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r13 + 0x1b8]
test rcx, rcx
je 0x1400796d7
mov rax, qword [0x140317610]
test rax, rax
je 0x1400796d7
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [0x140317610]
mov rdx, r13
mov qword [r13 + 0x1b8], r14
mov r14d, dword [rsp + 0x54]
mov qword [rsp + 0x78], r12
mov dword [r13 + 0x1b4], ebx
movsxd rcx, dword [rdx + 0x1b0]
mov rax, qword [rdx + 0x1b8]
mov ebx, dword [rsp + 0x44]
mov qword [rax + rcx*8], rdi
inc dword [rdx + 0x1b0]
mov eax, dword [rsp + 0x58]
bt ebx, 0x1a
jb 0x140079744
test r15b, r15b
jne 0x140079744
cmp eax, 0x3000000
je 0x140079744
movsd xmm0, qword [rdx + 0x118]
movsd qword [rdi + 0x48], xmm0
jmp 0x140079744
mov eax, dword [rsp + 0x58]
movss xmm1, dword [rdi + 0xf4]
ucomiss xmm1, dword [0x1402a93dc]
jp 0x140079757
je 0x1400797ab
cmp byte [rdi + 0xed], 0
jne 0x1400797ab
movss xmm0, dword [rdi + 0xfc]
lea r13, [rdi + 0x50]
mulss xmm0, dword [r13]
lea rdx, [rbp - 0x68]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xf8]
movss dword [rbp - 0x68], xmm1
movss xmm1, dword [rdi + 0x100]
mulss xmm1, dword [r13 + 4]
subss xmm0, xmm1
movss dword [rbp - 0x64], xmm0
call fcn.14007bdc0
jmp 0x1400797f9
bt ebx, 0x1c
jb 0x1400797d5
bt ebx, 0x1a
jae 0x1400797c3
test r15b, r15b
jne 0x1400797c3
cmp byte [rsp + 0x49], r15b
jg 0x1400797d5
bt ebx, 0x19
jae 0x1400797f5
test r15b, r15b
jne 0x1400797f5
cmp eax, 0x3000000
je 0x1400797f5
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14007f090
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x4c], xmm1
movss dword [rdi + 0x48], xmm0
lea r13, [rdi + 0x50]
cmp dword [rdi + 0x44], 0
jl 0x14007998f
cmp byte [rdi + 0xca], 0
jne 0x14007998f
mov rax, qword [rdi + 0x30]
test dword [rax + 4], 0x400
jne 0x14007998f
movss xmm0, dword [rdi + 0x48]
lea r8, [rdi + 0x48]
movss xmm1, dword [rax + 8]
movaps xmm3, xmm0
comiss xmm0, xmm1
movss xmm6, dword [rax + 0xc]
movaps xmm2, xmm1
movss xmm7, dword [rdi + 0x4c]
movaps xmm4, xmm6
addss xmm3, dword [r13]
addss xmm2, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movaps xmm5, xmm7
addss xmm5, dword [rdi + 0x54]
jb 0x140079872
comiss xmm7, xmm6
jb 0x140079872
comiss xmm2, xmm3
jb 0x140079872
comiss xmm4, xmm5
jae 0x14007998f
mov edx, dword [rdi + 8]
mov r9, r13
mov rcx, rdi
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
call fcn.140085aa0
mov r12, qword [0x140317610]
mov rcx, rax
mov qword [rsp + 0x78], r12
mov qword [rdi + 0x30], rax
test rax, rax
je 0x1400798ab
mov eax, dword [r12 + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [r12 + 0x4220], rcx
je 0x1400798fe
test rcx, rcx
je 0x1400798ea
mov eax, dword [rcx + 0x28]
mov dword [r12 + 0x4218], eax
mov rax, qword [r12 + 0x3890]
mov qword [r12 + 0x4220], rcx
test rax, rax
je 0x1400798fe
call rax
mov r12, qword [0x140317610]
mov qword [rsp + 0x78], r12
jmp 0x1400798fe
mov dword [r12 + 0x4218], 0x3f800000
mov qword [r12 + 0x4220], rcx
test dword [rsi + 8], 0x8000
je 0x140079912
mov rax, qword [rdi + 0x30]
movss xmm0, dword [rax + 0x28]
jmp 0x140079916
movaps xmm0, xmm11
movss dword [rdi + 0x2b4], xmm0
mov qword [r12 + 0x3fe0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x140079943
imul rcx, rax, 0x218
add rcx, qword [r12 + 0x44e0]
jmp 0x140079945
xor ecx, ecx
movss xmm0, dword [r12 + 0x3d54]
mov qword [r12 + 0x44b8], rcx
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x14007997b
mulss xmm0, dword [rax + 0x2b0]
movss dword [r12 + 0x3d68], xmm0
movss dword [r12 + 0x3d50], xmm0
movzx ecx, byte [rdi + 0xca]
test cl, cl
je 0x1400799b9
mov rdx, qword [rbp + 0x28]
mov rcx, rdi
call fcn.1400863e0
mov r12, qword [0x140317610]
movzx ecx, byte [rdi + 0xca]
mov qword [rsp + 0x78], r12
mov rax, qword [rdi + 0x30]
movss xmm5, dword [rsi + 0x39b4]
movss xmm6, dword [rsi + 0x39b0]
maxss xmm5, dword [rsi + 0x39bc]
movss xmm1, dword [rax + 0x18]
movss xmm0, dword [rax + 0x1c]
movaps xmm9, xmm1
movss xmm8, dword [rax + 8]
movaps xmm7, xmm0
movss xmm10, dword [rax + 0xc]
movaps xmm3, xmm8
movss dword [rbp + 0x28], xmm8
movaps xmm4, xmm10
movss dword [rbp + 0x2c], xmm10
movaps xmm2, xmm5
addss xmm2, xmm0
addss xmm9, dword [rax + 0x20]
addss xmm7, dword [rax + 0x24]
addss xmm3, dword [rax + 0x10]
addss xmm4, dword [rax + 0x14]
movss dword [rbp + 0x44], xmm2
maxss xmm6, dword [rsi + 0x39b8]
subss xmm7, xmm5
movss dword [rbp + 0x30], xmm3
movss dword [rbp + 0x34], xmm4
subss xmm9, xmm6
movss dword [rbp + 0x4c], xmm7
addss xmm1, xmm6
movss dword [rbp + 0x48], xmm9
movss dword [rbp + 0x40], xmm1
test r15b, r15b
jne 0x140079c02
test r14d, r14d
jne 0x140079c02
cmp byte [rdi + 0xe4], r14b
jg 0x140079c02
cmp byte [rdi + 0xe5], r14b
jg 0x140079c02
test cl, cl
jne 0x140079b19
subss xmm3, xmm8
comiss xmm3, xmm15
jbe 0x140079c02
subss xmm4, xmm10
comiss xmm4, xmm15
jbe 0x140079c02
movss xmm0, dword [r13 + 4]
cmp byte [r12 + 0x7f], cl
je 0x140079add
test byte [rdi + 0xc], 1
je 0x140079ac5
cmp qword [rdi + 0x428], 0
je 0x140079add
movss xmm0, dword [r12 + 0x3948]
addss xmm0, xmm0
addss xmm0, dword [r12 + 0x3d50]
subss xmm1, dword [r13]
subss xmm2, xmm0
movss xmm0, dword [rdi + 0x4c]
comiss xmm2, xmm0
ja 0x140079af8
movaps xmm2, xmm7
minss xmm2, xmm0
movss xmm0, dword [rdi + 0x48]
comiss xmm1, xmm0
ja 0x140079b0a
movaps xmm1, xmm9
minss xmm1, xmm0
movss dword [rdi + 0x48], xmm1
movss dword [rdi + 0x4c], xmm2
jmp 0x140079c02
cmp dword [rsi + 0x38c8], 0
jle 0x140079c02
movsx rcx, word [rax + 0x80]
test ecx, ecx
js 0x140079b4e
cmp ecx, dword [r12 + 0x38c8]
jge 0x140079b4e
mov rax, qword [r12 + 0x38d0]
lea rcx, [rcx + rcx*8]
lea rdx, [rax + rcx*4]
jmp 0x140079b56
lea rdx, [r12 + 0x423c]
movss xmm2, dword [r13 + 4]
movaps xmm0, xmm6
addss xmm0, dword [rdx + 0x10]
movaps xmm1, xmm5
addss xmm1, dword [rdx + 0x14]
movss dword [rbp + 0x40], xmm0
movss dword [rbp + 0x44], xmm1
movss xmm4, dword [rdx + 0x18]
movss xmm3, dword [rdx + 0x1c]
addss xmm4, dword [rdx + 0x10]
addss xmm3, dword [rdx + 0x14]
subss xmm4, xmm6
subss xmm3, xmm5
movss dword [rbp + 0x48], xmm4
movss dword [rbp + 0x4c], xmm3
cmp byte [r12 + 0x7f], 0
je 0x140079bcc
test byte [rdi + 0xc], 1
je 0x140079bb4
cmp qword [rdi + 0x428], 0
je 0x140079bcc
movss xmm2, dword [r12 + 0x3948]
addss xmm2, xmm2
addss xmm2, dword [r12 + 0x3d50]
subss xmm0, dword [r13]
subss xmm1, xmm2
movss xmm2, dword [rdi + 0x4c]
comiss xmm1, xmm2
ja 0x140079be7
movaps xmm1, xmm3
minss xmm1, xmm2
movss xmm2, dword [rdi + 0x48]
comiss xmm0, xmm2
ja 0x140079bf8
movaps xmm0, xmm4
minss xmm0, xmm2
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
cmp byte [rdi + 0xca], 0
cvttss2si eax, dword [rdi + 0x48]
movzx ecx, byte [rdi + 0x401]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x48], xmm1
movss dword [rdi + 0x4c], xmm0
jne 0x140079c6a
test cl, 1
jne 0x140079c6a
test r14d, r14d
je 0x140079c48
movss xmm0, dword [rsi + 0x3934]
jmp 0x140079c6e
mov eax, ebx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x140079c60
movss xmm0, dword [rsi + 0x393c]
jmp 0x140079c6e
movss xmm0, dword [rsi + 0x3918]
jmp 0x140079c6e
movaps xmm0, xmm15
mov r15d, dword [rsp + 0x44]
xor r13b, r13b
movss dword [rdi + 0x80], xmm0
mov dword [rsp + 0x54], r13d
cmp byte [rsp + 0x43], r13b
je 0x140079eab
bt r15d, 0xc
jb 0x140079eab
bt r15d, 0x1a
jae 0x140079ca7
mov byte [rsp + 0x54], 1
jmp 0x140079cc8
test cl, 1
jne 0x140079cb1
test r14d, r14d
jne 0x140079cc8
bt r15d, 0x19
movzx r13d, r13b
mov eax, 1
cmovae r13d, eax
mov dword [rsp + 0x54], r13d
mov eax, dword [r12 + 0x41e0]
sub eax, 1
js 0x140079eab
movsxd r10, eax
imul r9, r10, 0x38
mov rdx, r10
lea r8, [r9 + 8]
add r8, qword [r12 + 0x41e8]
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x140079d01
test dword [rcx + 0xc], 0x8000000
jne 0x140079d10
sub r8, 0x38
sub rdx, 1
jns 0x140079cf0
jmp 0x140079eab
mov r15, qword [rdi + 0x3a0]
mov rax, rdi
cmp r15, rcx
je 0x140079ea6
cmp rax, rcx
je 0x140079ea6
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140079d23
mov byte [rsp + 0x54], al
cmp rdi, r15
jne 0x140079ea6
mov r8, qword [r12 + 0x41e8]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x140079dd4
test dword [rdx + 0xc], 0x8000000
je 0x140079dd4
cmp byte [rdx + 0xcb], 0
jne 0x140079d7b
cmp byte [rdx + 0xcc], 0
je 0x140079dd4
mov rax, rdi
cmp r15, rdx
je 0x140079de2
cmp rax, rdx
je 0x140079de2
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140079d83
mov rax, qword [rdx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
je 0x140079dd4
mov rax, rdi
cmp r15, rcx
je 0x140079de4
nop
cmp rax, rcx
je 0x140079de4
mov rax, qword [rax + 0x398]
test rax, rax
jne 0x140079db0
mov rax, qword [rcx + 0x398]
mov rcx, qword [rax + 0x3a0]
test rcx, rcx
jne 0x140079da7
sub r8, 0x38
sub r10, 1
jns 0x140079d54
xor edx, edx
mov r8, qword [rdx + 0x3a0]
mov rdx, qword [r12 + 0x3f88]
movsxd rax, dword [r12 + 0x3f80]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x140079e15
cmp qword [r9], r15
je 0x140079e15
add r9, 8
cmp r9, rcx
jb 0x140079e07
sub r9, rdx
mov r14, rdx
sar r9, 3
cmp rdx, rcx
jae 0x140079e32
cmp qword [r14], r8
je 0x140079e32
add r14, 8
cmp r14, rcx
jb 0x140079e24
sub r14, rdx
mov r10, rdx
sar r14, 3
cmp r9d, r14d
jge 0x140079e79
mov eax, r14d
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [rdx + rcx*8]
lea rcx, [r10 + rax*8]
call fcn.140158f16
mov rax, qword [r12 + 0x3f88]
movsxd rcx, r14d
mov qword [rax + rcx*8 - 8], r15
jmp 0x140079ea6
lea eax, [r14 + 1]
movsxd rbx, r14d
movsxd rcx, eax
sub r9d, r14d
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call fcn.140158f16
mov rax, qword [r12 + 0x3f88]
mov qword [rax + rbx*8], r15
mov r15d, dword [rsp + 0x44]
cmp qword [rdi + 0x428], 0
jne 0x140079ec3
test byte [rdi + 0x401], 1
je 0x140079ec3
xor r13b, r13b
jmp 0x140079ec6
mov r13b, 1
movss xmm1, dword [rsi + 0x3d50]
xor r12d, r12d
cmp byte [rsi + 0x7e], r12b
xorps xmm0, xmm0
movaps xmm2, xmm1
mov dword [rbp + 0x38], 0xffffffff
mulss xmm1, dword [0x1402a9128]
setne r12b
inc r12d
mulss xmm2, dword [0x1402a91e4]
movups xmmword [rbp + 0x50], xmm0
movss xmm0, dword [rdi + 0x80]
addss xmm0, xmm11
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
test r13b, r13b
je 0x140079f64
cmp byte [rdi + 0xce], 0
jne 0x140079f64
lea rax, [rbp + 0x40]
mov r9d, r12d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x38]
lea rax, [rbp + 0x50]
mov rcx, rdi
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400766b0
mov r8, qword [0x140317610]
test al, al
je 0x140079f69
mov dl, 1
movzx ecx, dl
jmp 0x140079f73
mov r8, qword [rsp + 0x78]
movzx ecx, byte [rsp + 0x41]
movzx edx, byte [rsp + 0x42]
cmp byte [rdi + 0xca], 0
movzx eax, byte [rbp + 0x38]
mov byte [rdi + 0xd6], al
je 0x14007a04f
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x58], 0
jne 0x140079f9e
movsd xmm0, qword [rdi + 0x48]
movsd qword [rax + 8], xmm0
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x59], 0
jne 0x140079fb2
movsd xmm0, qword [rdi + 0x50]
movsd qword [rax + 0x10], xmm0
mov rax, qword [rdi + 0x30]
movss xmm2, dword [rax + 0x118]
movss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm0, dword [rax + 0x11c]
addss xmm1, dword [rax + 8]
movss dword [rax + 0x1c], xmm0
movss xmm0, dword [rax + 0x14]
movss dword [rax + 0x18], xmm1
subss xmm0, dword [rax + 0x11c]
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm2
movaps xmm2, xmm15
addss xmm0, dword [rax + 0x124]
addss xmm1, dword [rax + 0x120]
maxss xmm2, xmm1
movaps xmm1, xmm15
maxss xmm1, xmm0
movss dword [rax + 0x20], xmm2
movss dword [rax + 0x24], xmm1
mov rax, qword [rdi + 0x30]
movss xmm3, dword [rax + 8]
movss xmm2, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
movaps xmm0, xmm2
movss dword [rbp + 0x28], xmm3
addss xmm0, dword [rax + 0x14]
movss dword [rbp + 0x2c], xmm2
movss dword [rbp + 0x30], xmm1
movss dword [rbp + 0x34], xmm0
cmp byte [rdi + 0xce], 0
mov rax, qword [rdi + 0x30]
movsd xmm0, qword [rax + 8]
movsd qword [rdi + 0x3c], xmm0
jne 0x14007a19e
cmp byte [rsp + 0x40], 0
lea rax, [rbp - 0x68]
movss xmm2, dword [rdi + 0x220]
movss xmm3, dword [rdi + 0x224]
subss xmm2, dword [rdi + 0x218]
subss xmm3, dword [rdi + 0x21c]
movss xmm4, dword [rdi + 0x5c]
movss xmm5, dword [rdi + 0x58]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0xc0]
addss xmm3, dword [rdi + 0xc4]
je 0x14007a0be
mov qword [rbp - 0x68], 0
jmp 0x14007a0e4
movss xmm0, dword [rdi + 0x78]
movss xmm1, dword [rdi + 0x7c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x60]
addss xmm1, dword [rdi + 0x64]
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x14007a0f4
movaps xmm5, xmm2
test dl, dl
jne 0x14007a0fb
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x14007a111
comiss xmm1, xmm4
jbe 0x14007a10d
test r15b, 8
je 0x14007a111
xor cl, cl
jmp 0x14007a113
mov cl, 1
mov byte [rdi + 0xc9], cl
lea rdx, [rsi + 0x397c]
bt r15d, 0xf
jb 0x14007a15a
test cl, cl
je 0x14007a131
movss xmm0, dword [rdx]
jmp 0x14007a135
movaps xmm0, xmm15
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x14007a14d
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x14007a15a
mov byte [rdi + 0xc8], 0
movaps xmm1, xmm15
jmp 0x14007a180
mov byte [rdi + 0xc8], 1
test cl, cl
jne 0x14007a17c
comiss xmm1, xmm4
jbe 0x14007a174
test r15b, 8
jne 0x14007a174
mov cl, 1
jmp 0x14007a176
xor cl, cl
mov byte [rdi + 0xc9], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x14007a18a
movss xmm0, dword [rdx]
jmp 0x14007a18e
movaps xmm0, xmm15
movss dword [rdi + 0xc0], xmm0
movss dword [rdi + 0xc4], xmm1
mov r14d, r15d
and r14d, 0x5000000
cmp r14d, 0x1000000
jne 0x14007a1c8
cmp dword [rsp + 0x58], 0x3000000
je 0x14007a1c8
mov rax, qword [rsp + 0x60]
add rax, 0x258
jmp 0x14007a1cc
lea rax, [rbp + 0x28]
movups xmm0, xmmword [rax]
mov ecx, dword [rdi + 0xc]
movss xmm4, dword [rdi + 0x48]
movss xmm7, dword [rdi + 0x4c]
movaps xmm5, xmm4
movaps xmm6, xmm7
addss xmm5, dword [rdi + 0x50]
addss xmm6, dword [rdi + 0x54]
movups xmmword [rbp - 0x68], xmm0
and ecx, 1
je 0x14007a1fb
movaps xmm3, xmm15
jmp 0x14007a239
movss xmm0, dword [r8 + 0x3d54]
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x14007a228
mulss xmm0, dword [rax + 0x2b0]
movss xmm3, dword [r8 + 0x3948]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [rdi + 0x4c]
movaps xmm2, xmm4
addss xmm2, dword [rdi + 0x58]
movss dword [rbp - 0x58], xmm4
movaps xmm1, xmm7
movss dword [rbp - 0x54], xmm0
addss xmm1, xmm3
movss dword [rbp - 0x50], xmm2
movss dword [rbp - 0x4c], xmm1
movss dword [rdi + 0x208], xmm4
movss dword [rdi + 0x20c], xmm7
movss dword [rdi + 0x210], xmm5
movss dword [rdi + 0x214], xmm6
test byte [rdi + 0x401], 1
je 0x14007a2e2
test ecx, ecx
je 0x14007a294
movaps xmm0, xmm15
jmp 0x14007a2d2
movss xmm1, dword [r8 + 0x3d54]
mulss xmm1, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm1, dword [rdi + 0x2b4]
test rax, rax
je 0x14007a2c1
mulss xmm1, dword [rax + 0x2b0]
movss xmm0, dword [r8 + 0x3948]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [rdi + 0x20c]
movss dword [rdi + 0x20c], xmm0
movss xmm1, dword [rdi + 0x208]
mov eax, r15d
movss xmm0, dword [rdi + 0x20c]
and eax, 0x401
movss xmm4, dword [rbp - 0x68]
movss xmm5, dword [rbp - 0x64]
maxss xmm1, xmm4
movss xmm12, dword [rbp - 0x60]
maxss xmm0, xmm5
movss xmm11, dword [rbp - 0x5c]
movss dword [rdi + 0x208], xmm1
movss dword [rdi + 0x20c], xmm0
movss xmm1, dword [rdi + 0x210]
movss xmm0, dword [rdi + 0x214]
minss xmm1, xmm12
minss xmm0, xmm11
movss dword [rdi + 0x210], xmm1
movss dword [rdi + 0x214], xmm0
movss xmm9, dword [rdi + 0x48]
movss xmm6, dword [rdi + 0x4c]
movaps xmm7, xmm9
movss dword [rdi + 0x218], xmm9
movaps xmm8, xmm6
addss xmm8, xmm14
addss xmm7, dword [rdi + 0x50]
addss xmm6, dword [rdi + 0x54]
movss dword [rdi + 0x21c], xmm8
subss xmm7, dword [rdi + 0xc0]
subss xmm6, dword [rdi + 0xc4]
movss dword [rdi + 0x220], xmm7
movss dword [rdi + 0x224], xmm6
cmp eax, 1
jne 0x14007a3b6
movss xmm10, dword [rdi + 0x84]
jmp 0x14007a3bf
movss xmm10, dword [rsi + 0x3950]
movss xmm2, dword [0x1402a9164]
lea r15, [rdi + 0x228]
movss xmm0, dword [rdi + 0x78]
addss xmm9, xmm2
movss xmm3, dword [rdi + 0x84]
addss xmm8, xmm2
mulss xmm0, xmm2
addss xmm7, xmm2
xorps xmm1, xmm1
addss xmm6, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm8, xmm10
subss xmm6, xmm3
cvtsi2ss xmm1, eax
maxss xmm1, xmm3
addss xmm9, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm9
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
cvttss2si eax, xmm8
movss dword [r15], xmm9
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x22c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm6
movss dword [rdi + 0x230], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x234], xmm0
movss xmm0, dword [r15 + 4]
comiss xmm5, xmm0
jbe 0x14007a46f
movaps xmm1, xmm5
jmp 0x14007a477
movaps xmm1, xmm11
minss xmm1, xmm0
comiss xmm4, xmm9
jbe 0x14007a482
movaps xmm0, xmm4
jmp 0x14007a48b
movaps xmm0, xmm12
minss xmm0, xmm9
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x14007a4a9
movaps xmm5, xmm11
minss xmm5, xmm0
movss xmm0, dword [r15 + 8]
comiss xmm4, xmm0
ja 0x14007a4bc
movaps xmm4, xmm12
minss xmm4, xmm0
movaps xmm12, xmmword [rsp + 0x1a0]
movss dword [r15 + 8], xmm4
movss dword [r15 + 0xc], xmm5
movss xmm0, dword [rdi + 0x50]
comiss xmm0, xmm15
jbe 0x14007a4f0
test dword [rsp + 0x44], 0x2000040
jne 0x14007a4f0
mulss xmm0, dword [0x1402a918c]
jmp 0x14007a500
movss xmm0, dword [rsi + 0x3d50]
mulss xmm0, dword [0x1402a92e4]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rsp + 0x68]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x28c], xmm0
movss xmm0, dword [rdi + 0x220]
subss xmm0, dword [rdi + 0x218]
movss xmm1, dword [rdi + 0x78]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x60]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x7c]
addss xmm1, xmm1
movss dword [rdi + 0xa0], xmm0
movss xmm0, dword [rdi + 0x224]
subss xmm0, dword [rdi + 0x21c]
addss xmm1, dword [rdi + 0x64]
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
movss dword [rdi + 0xa4], xmm0
call fcn.14007d7b0
mov rcx, qword [rdi + 0x2c0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x98], xmm0
movss dword [rdi + 0x9c], xmm1
mov dword [rdi + 0xa8], 0x7f7fffff
mov dword [rdi + 0xac], 0x7f7fffff
mov rax, qword [rsi + 0x3d48]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.140099420
mov rcx, qword [0x140317610]
lea r8, [rbp - 0x60]
xor r9d, r9d
lea rdx, [rbp - 0x68]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fe0]
mov rcx, qword [rbx + 0x2c0]
call fcn.140099310
mov rax, qword [rbx + 0x2c0]
mov rcx, qword [rax + 0x60]
movsxd rdx, dword [rax + 0x58]
add rdx, rdx
mov eax, dword [rcx + rdx*8 - 0x10]
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov dword [rbx + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, 1
je 0x14007a79f
xor bl, bl
cmp r14d, 0x1000000
jne 0x14007a71c
cmp dword [rsp + 0x58], 0x3000000
je 0x14007a71c
mov r9, qword [rsp + 0x60]
movsxd rax, dword [r9 + 0x1b0]
cmp eax, 2
jl 0x14007a6e5
mov rcx, rax
mov rax, qword [r9 + 0x1b8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x14007a6e5
movss xmm1, dword [rdi + 0x4c]
movss xmm5, dword [rdx + 0x4c]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x48]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x54]
movss xmm6, dword [rdi + 0x48]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x50]
addss xmm2, dword [rdi + 0x54]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x50]
jbe 0x14007a6e5
comiss xmm2, xmm5
jbe 0x14007a6e5
comiss xmm3, xmm6
jbe 0x14007a6e5
comiss xmm4, xmm7
jbe 0x14007a6e5
mov r8b, 1
jmp 0x14007a6e8
xor r8b, r8b
mov rdx, qword [rdi + 0x2c0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x14007a71c
mov rax, qword [r9 + 0x2c0]
cmp dword [rax + 0x20], 0
jle 0x14007a71c
test r8b, r8b
jne 0x14007a71c
mov bl, 1
mov qword [rdi + 0x2c0], rax
mov rcx, qword [rsi + 0x43d0]
test rcx, rcx
jne 0x14007a72f
mov rcx, qword [rsi + 0x4268]
cmp byte [rsp + 0x54], 0
jne 0x14007a765
test rcx, rcx
je 0x14007a760
mov rax, qword [rcx + 0x3b8]
cmp qword [rdi + 0x3b8], rax
je 0x14007a765
mov rax, qword [rdi + 0x420]
test rax, rax
je 0x14007a760
cmp rax, qword [rcx + 0x420]
je 0x14007a765
xor r8b, r8b
jmp 0x14007a768
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x58]
movzx r9d, r13b
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.140077600
test bl, bl
je 0x14007a79f
lea rax, [rdi + 0x2c8]
mov qword [rdi + 0x2c0], rax
mov eax, dword [rsp + 0x44]
mov ecx, eax
movss xmm5, dword [rdi + 0x70]
movaps xmm13, xmmword [rsp + 0x190]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm15
jp 0x14007a7fe
jne 0x14007a7fe
movss xmm0, dword [rdi + 0x78]
and eax, 0x808
movss xmm1, dword [rdi + 0x50]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [rdi + 0xc0]
cmp eax, 0x800
jne 0x14007a7f4
movss xmm6, dword [rdi + 0x60]
maxss xmm6, xmm1
jmp 0x14007a801
movaps xmm6, xmm15
maxss xmm6, xmm1
jmp 0x14007a801
movaps xmm6, xmm5
movss xmm4, dword [rdi + 0x74]
ucomiss xmm4, xmm15
jp 0x14007a846
jne 0x14007a846
movss xmm0, dword [rdi + 0x7c]
movss xmm1, dword [rdi + 0x54]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0xc4]
test cl, cl
je 0x14007a83c
movss xmm7, dword [rdi + 0x64]
maxss xmm7, xmm1
jmp 0x14007a849
movaps xmm7, xmm15
maxss xmm7, xmm1
jmp 0x14007a849
movaps xmm7, xmm4
ucomiss xmm5, xmm15
movss xmm2, dword [rdi + 0x84]
movss xmm8, dword [rdi + 0x78]
movss xmm10, dword [rdi + 0x98]
movaps xmm1, xmm8
movss xmm0, dword [rdi + 0x218]
maxss xmm1, xmm2
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x238], xmm3
addss xmm6, xmm3
movss xmm9, dword [rdi + 0x7c]
movss xmm11, dword [rdi + 0x9c]
movaps xmm1, xmm9
movss xmm0, dword [rdi + 0x21c]
maxss xmm1, xmm2
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x23c], xmm2
addss xmm2, xmm7
movss dword [rdi + 0x240], xmm6
movss dword [rdi + 0x244], xmm2
movups xmm0, xmmword [rdi + 0x238]
movups xmmword [rdi + 0x248], xmm0
movss xmm3, dword [rdi + 0x48]
movaps xmm1, xmm3
subss xmm1, xmm10
addss xmm1, xmm8
movss dword [rdi + 0x268], xmm1
movss xmm6, dword [rdi + 0x4c]
movaps xmm2, xmm6
subss xmm2, xmm11
addss xmm2, xmm9
addss xmm2, xmm14
movss dword [rdi + 0x26c], xmm2
jp 0x14007a948
jne 0x14007a948
movss xmm5, dword [rdi + 0x50]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm5, xmm0
subss xmm5, dword [rdi + 0xc0]
ucomiss xmm4, xmm15
addss xmm5, xmm1
movss dword [rdi + 0x270], xmm5
jp 0x14007a97b
jne 0x14007a97b
movss xmm4, dword [rdi + 0x54]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0xc4]
movzx r8d, byte [rsp + 0x43]
addss xmm4, xmm2
cvtps2pd xmm2, xmm3
xor r14d, r14d
lea rcx, [rdi + 0x188]
movss dword [rdi + 0x274], xmm4
movaps xmm0, xmm8
addss xmm0, xmm15
cvtps2pd xmm3, xmm6
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], r14
cvtps2pd xmm0, xmm8
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm2, xmm1
cvtps2pd xmm1, xmm11
addsd xmm2, xmm0
cvtps2pd xmm0, xmm9
addsd xmm3, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0x128], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x12c], xmm0
movss xmm0, dword [rdi + 0x128]
movss xmm1, dword [rdi + 0x12c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x168], xmm2
movss dword [rdi + 0x16c], xmm0
movss xmm1, dword [rdi + 0x128]
movss xmm0, dword [rdi + 0x12c]
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x120], xmm1
movss dword [rdi + 0x124], xmm0
movss dword [rdi + 0x130], xmm1
movss dword [rdi + 0x134], xmm0
movss dword [rdi + 0x138], xmm1
movss dword [rdi + 0x13c], xmm0
mov qword [rdi + 0x148], r14
mov qword [rdi + 0x140], r14
mov qword [rdi + 0x150], r14
mov byte [rdi + 0x158], r14b
mov dword [rdi + 0x170], r14d
movzx eax, word [rdi + 0x176]
mov word [rdi + 0x174], ax
mov byte [rdi + 0x17c], r14b
movss xmm0, dword [rdi + 0xa4]
comiss xmm0, xmm15
seta al
mov byte [rdi + 0x17d], al
mov byte [rdi + 0x17e], r14b
movss xmm1, dword [rsi + 0x3954]
call fcn.1400b8a30
movaps xmm14, xmmword [rsp + 0x180]
movaps xmm11, xmmword [rsp + 0x1b0]
movaps xmm10, xmmword [rsp + 0x1c0]
movaps xmm9, xmmword [rsp + 0x1d0]
mov qword [rdi + 0x1a4], r14
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x14007ab3e
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.1400907b0
mov r13, qword [rsp + 0x60]
lea rax, [rdi + 0x290]
mov dword [rdi + 0x1b0], r14d
mov r12d, 1
mov qword [rdi + 0x1c0], rax
mov qword [rdi + 0x1c8], r14
mov dword [rdi + 0x1d4], r12d
test r13, r13
je 0x14007ab7a
mov eax, dword [r13 + 0x1d4]
jmp 0x14007ab7d
mov eax, r12d
mov dword [rdi + 0x1d8], eax
mov eax, dword [rdi + 0x28c]
mov dword [rdi + 0x1dc], eax
mov dword [rdi + 0x1e0], 0xbf800000
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x14007ac31
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x14007ac31
mov rax, qword [0x140317610]
test rax, rax
je 0x14007abce
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rdi + 0x1f0]
mov r14, rax
test rdx, rdx
je 0x14007ac21
movsxd r8, dword [rdi + 0x1e8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x1f0]
test rcx, rcx
je 0x14007ac1b
mov rax, qword [0x140317610]
test rax, rax
je 0x14007ac1b
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1f0], r14
xor r14d, r14d
mov dword [rdi + 0x1ec], ebx
mov dword [rdi + 0x1e8], r14d
mov ecx, dword [rdi + 0x1fc]
test ecx, ecx
jns 0x14007acd0
mov eax, ecx
mov ebx, r14d
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x14007acd0
mov rax, qword [0x140317610]
test rax, rax
je 0x14007ac6d
inc dword [rax + 0xf4]
movsxd rcx, ebx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rdi + 0x200]
mov r14, rax
test rdx, rdx
je 0x14007acc0
movsxd r8, dword [rdi + 0x1f8]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rdi + 0x200]
test rcx, rcx
je 0x14007acba
mov rax, qword [0x140317610]
test rax, rax
je 0x14007acba
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x200], r14
xor r14d, r14d
mov dword [rdi + 0x1fc], ebx
mov dword [rdi + 0x1f8], r14d
movzx eax, byte [rdi + 0xe4]
test al, al
jle 0x14007acea
dec al
mov byte [rdi + 0xe4], al
movzx eax, byte [rdi + 0xe5]
test al, al
jle 0x14007acfd
dec al
mov byte [rdi + 0xe5], al
cmp byte [rsp + 0x54], 0
je 0x14007ad16
mov rcx, rdi
call fcn.14007b750
xor edx, edx
mov rcx, rdi
call fcn.1400802b0
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14007ad70
mov rdx, qword [rdi + 0x30]
cmp byte [rdx + 0x5a], 0
je 0x14007ad70
mov rax, qword [0x140317610]
mov rcx, qword [rax + 0x4210]
cmp rdx, qword [rcx]
je 0x14007ad70
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, r12b
je 0x14007ad70
mov byte [rdx + 0x5a], 0
test byte [rsi + 0x560c], 0x40
mov byte [rsi + 0x43f0], 0
je 0x14007ad6d
mov rdx, qword [rdi]
lea rcx, str._viewport__Window__s_PlatformRequestClose_n
call fcn.14008f7e0
mov byte [rbx], 0
mov r14d, dword [rsp + 0x44]
test r12b, r14b
jne 0x14007add3
test byte [rdi + 0x401], r12b
jne 0x14007add3
movss xmm2, dword [rdi + 0x84]
lea rdx, [rsp + 0x68]
movss xmm0, dword [rbp - 0x58]
mov r9, rbx
movss xmm1, dword [rbp - 0x50]
addss xmm0, xmm2
mov r8, qword [rbp - 0x78]
subss xmm1, xmm2
mov rcx, rdi
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rbp - 0x54]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rbp - 0x4c]
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x70], xmm1
call fcn.140078090
xor ebx, ebx
mov dword [rdi + 0x278], ebx
test byte [rsi + 8], 0x40
je 0x14007af4d
cmp qword [rsi + 0x4000], rdi
jne 0x14007af0e
movzx eax, byte [rsi + 0xdb9]
cmp byte [rsi + 0x71], al
jne 0x14007af0e
mov rax, qword [rdi + 0x3b0]
test dword [rax + 0xc], 0x200000
jne 0x14007af0e
mov rbx, qword [0x140317610]
mov eax, dword [rdi + 0x8c]
cmp byte [rbx + 0x71], 0
mov dword [rbx + 0x40b0], eax
mov rax, qword [rdi + 0x3b0]
mov qword [rbp - 0x68], rax
jne 0x14007ae89
movss xmm0, dword [rbx + 0x3948]
movss xmm2, dword [rbx + 0x4048]
addss xmm0, xmm0
comiss xmm2, xmm15
addss xmm0, dword [rbx + 0x3d50]
movss xmm3, dword [rax + 0x58]
jb 0x14007af0c
movss xmm1, dword [rbx + 0x404c]
comiss xmm1, xmm15
jb 0x14007af0c
comiss xmm3, xmm2
jbe 0x14007af0c
comiss xmm0, xmm1
jbe 0x14007af0c
call fcn.140083870
test al, al
je 0x14007af0c
lea rdx, [rbp - 0x68]
call fcn.1400839d0
mov r14, qword [0x140317610]
test byte [r14 + 0x4400], r12b
jne 0x14007aeb0
call fcn.14007b430
cmp dword [r14 + 0x4424], 0xffffffff
jne 0x14007aebf
call fcn.1400837b0
mov r9, qword [rbp - 0x68]
lea r8, [0x140297510]
sub r9, r8
mov byte [r14 + 0x43fd], 0
lea r10, [0x140297528]
nop dword [rax]
movsxd rcx, dword [r8]
add rcx, 0x39d
shl rcx, 4
add rcx, rbx
call fcn.14006c8a0
mov dword [r9 + r8 + 0x404], eax
add r8, 4
cmp r8, r10
jl 0x14007aee0
mov r14d, dword [rsp + 0x44]
xor ebx, ebx
cmp byte [rsi + 0x43fc], 0
je 0x14007af4d
bt r14d, 0x15
jb 0x14007af4d
mov rax, qword [rsi + 0x4000]
test rax, rax
je 0x14007af33
cmp qword [rax + 0x3b0], rdi
je 0x14007af4d
cmp rdi, qword [rdi + 0x3b0]
jne 0x14007af4d
test dword [rdi + 0xc], 0x20000000
jne 0x14007af4d
mov rcx, rdi
call fcn.14008e560
test byte [rdi + 0x401], r12b
je 0x14007af98
mov r8, qword [0x140317610]
mov edx, dword [rdi + 0x434]
mov ecx, dword [rsi + 0x4098]
mov eax, dword [rdi + 0x8c]
mov dword [r8 + 0x40b0], eax
mov dword [r8 + 0x40b4], ecx
mov dword [r8 + 0x40b8], edx
movups xmm0, xmmword [rdi + 0x438]
movups xmmword [r8 + 0x40bc], xmm0
jmp 0x14007b06f
mov rax, qword [0x140317610]
movss xmm8, dword [rbp - 0x50]
movss xmm7, dword [rbp - 0x58]
movaps xmm3, xmm8
movss xmm5, dword [rbp - 0x4c]
movaps xmm0, xmm7
movss xmm2, dword [rax + 0x396c]
movaps xmm4, xmm5
movss xmm1, dword [rax + 0x3970]
subss xmm0, xmm2
movss xmm6, dword [rbp - 0x54]
addss xmm3, xmm2
movaps xmm2, xmm6
addss xmm4, xmm1
subss xmm2, xmm1
movss xmm1, dword [rax + 0xd9c]
comiss xmm1, xmm0
jb 0x14007b03b
movss xmm0, dword [rax + 0xda0]
comiss xmm0, xmm2
jb 0x14007b03b
comiss xmm3, xmm1
jbe 0x14007b03b
comiss xmm4, xmm0
jbe 0x14007b03b
mov rax, qword [rax + 0x4228]
movss xmm2, dword [rax + 0xc]
movss xmm3, dword [rax + 8]
movaps xmm0, xmm2
addss xmm0, dword [rax + 0x14]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
comiss xmm0, xmm6
jbe 0x14007b03b
comiss xmm5, xmm2
jbe 0x14007b03b
comiss xmm1, xmm7
jbe 0x14007b03b
comiss xmm8, xmm3
ja 0x14007b03e
mov r12d, ebx
mov rdx, qword [0x140317610]
mov ecx, dword [rsi + 0x4098]
mov eax, dword [rdi + 0x8c]
mov dword [rdx + 0x40b0], eax
mov dword [rdx + 0x40b4], ecx
mov dword [rdx + 0x40b8], r12d
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rdx + 0x40bc], xmm0
movaps xmm8, xmmword [rsp + 0x1e0]
movaps xmm7, xmmword [rsp + 0x1f0]
movaps xmm6, xmmword [rsp + 0x200]
jmp 0x14007b162
mov rcx, qword [rdi + 0x30]
mov rdx, qword [0x140317610]
test rcx, rcx
je 0x14007b0a6
mov eax, dword [rdx + 0x3f60]
mov dword [rcx + 0x64], eax
cmp qword [rdx + 0x4220], rcx
je 0x14007b0e5
test rcx, rcx
je 0x14007b0d4
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x4218], eax
mov rax, qword [rdx + 0x3890]
mov qword [rdx + 0x4220], rcx
test rax, rax
je 0x14007b0e5
call rax
jmp 0x14007b0e5
mov dword [rdx + 0x4218], 0x3f800000
mov qword [rdx + 0x4220], rcx
mov rcx, qword [0x140317610]
mov qword [rcx + 0x3fe0], rdi
movsxd rax, dword [rdi + 0x1d0]
cmp eax, 0xffffffff
je 0x14007b10f
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x44e0]
jmp 0x14007b113
xor eax, eax
mov edx, eax
movss xmm0, dword [rcx + 0x3d54]
mov qword [rcx + 0x44b8], rdx
mulss xmm0, dword [rdi + 0x2b0]
mov rax, qword [rdi + 0x390]
mulss xmm0, dword [rdi + 0x2b4]
test rax, rax
je 0x14007b146
mulss xmm0, dword [rax + 0x2b0]
mov r13, qword [rsp + 0x60]
lea r15, [rdi + 0x228]
movss dword [rcx + 0x3d68], xmm0
movss dword [rcx + 0x3d50], xmm0
lea r12, [rdi + 0x230]
and r14d, 0x1000000
je 0x14007b17b
mov ebx, dword [r13 + 0x178]
jmp 0x14007b1c0
movsxd rcx, dword [rdi + 0x108]
xor edx, edx
mov rax, qword [rdi + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.FOCUSSCOPE
call fcn.14006c310
mov rcx, qword [0x140317610]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x14007b1c0
lea r8, str.FOCUSSCOPE
mov edx, ntohl
mov ecx, eax
call fcn.14008f890
mov ecx, dword [rsp + 0x44]
mov dword [rdi + 0x178], ebx
bt ecx, 0x1d
jb 0x14007b24b
mov rcx, qword [0x140317610]
mov r9b, 1
mov r8, r12
mov rdx, r15
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rbx, qword [rcx + 0x3fe0]
mov rcx, qword [rbx + 0x2c0]
call fcn.140099310
mov rax, qword [rbx + 0x2c0]
mov rcx, qword [rax + 0x60]
movsxd rdx, dword [rax + 0x58]
add rdx, rdx
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov eax, dword [rcx + rdx*8 - 0x10]
mov ecx, dword [rsp + 0x44]
mov dword [rbx + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
mov eax, dword [rsp + 0x4c]
xor edx, edx
mov r15, qword [rsp + 0x210]
mov r12, qword [rsp + 0x218]
mov rbx, qword [rsp + 0x268]
mov byte [rdi + 0xcd], 0
inc word [rdi + 0xd8]
mov dword [rsi + 0x40f0], edx
cmp eax, dword [rsp + 0x50]
je 0x14007b401
movzx eax, byte [rdi + 0x401]
and al, 5
cmp al, 1
jne 0x14007b2b2
mov eax, dword [rsi + 0x3f60]
cmp dword [rdi + 0x284], eax
jne 0x14007b2ab
mov byte [rdi + 0xed], 1
jmp 0x14007b2b2
mov byte [rdi + 0xec], 1
test r14d, r14d
je 0x14007b36c
test cl, 0x40
jne 0x14007b335
cmp byte [rdi + 0xe4], dl
jg 0x14007b335
cmp byte [rdi + 0xe5], dl
jg 0x14007b335
bt ecx, 0x17
jae 0x14007b2fe
cmp byte [rsi + 0x42ac], dl
je 0x14007b2fe
mov rcx, qword [rsi + 0x4268]
test rcx, rcx
je 0x14007b2fe
mov rax, qword [rdi + 0x3c0]
cmp qword [rcx + 0x3c0], rax
jne 0x14007b2fe
mov al, 1
jmp 0x14007b300
xor al, al
cmp byte [rsi + 0x55c4], dl
jne 0x14007b335
test al, al
jne 0x14007b335
movss xmm0, dword [rdi + 0x208]
comiss xmm0, dword [rdi + 0x210]
jae 0x14007b32e
movss xmm0, dword [rdi + 0x20c]
comiss xmm0, dword [rdi + 0x214]
jb 0x14007b335
mov byte [rdi + 0xec], 1
test r13, r13
je 0x14007b36c
cmp byte [r13 + 0xce], dl
jne 0x14007b34c
cmp byte [r13 + 0xec], dl
jle 0x14007b353
mov byte [rdi + 0xec], 1
cmp byte [r13 + 0xce], dl
jne 0x14007b365
cmp byte [r13 + 0xed], dl
jle 0x14007b36c
mov byte [rdi + 0xed], 1
comiss xmm15, dword [rsi + 0x3908]
jb 0x14007b37d
mov byte [rdi + 0xec], 1
cmp byte [rdi + 0xec], dl
jg 0x14007b39b
cmp byte [rdi + 0xed], dl
jg 0x14007b39b
xor cl, cl
cmp byte [rdi + 0xee], cl
jg 0x14007b39d
xor al, al
jmp 0x14007b39f
mov cl, 1
mov al, 1
mov byte [rdi + 0xd2], al
movzx eax, byte [rdi + 0xef]
test al, al
jle 0x14007b3bf
dec al
mov byte [rdi + 0xef], al
or dword [rdi + 0xc], 0xc0200
cmp byte [rdi + 0xce], dl
jne 0x14007b3d3
cmp byte [rdi + 0xcb], dl
je 0x14007b3d3
test cl, cl
je 0x14007b3f4
cmp byte [rdi + 0xe4], dl
jg 0x14007b3f4
cmp byte [rdi + 0xe5], dl
jg 0x14007b3f4
cmp byte [rdi + 0xed], dl
jg 0x14007b3f4
mov byte [rdi + 0xd0], 1
jmp 0x14007b401
mov byte [rdi + 0xd0], dl
mov word [rdi + 0x176], dx
cmp byte [rdi + 0xd0], dl
sete al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140157bf0
movaps xmm15, xmmword [rsp + 0x170]
add rsp, 0x220
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret