Function at 0x140036880
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14007f040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x14007fbe0]
xor r15d, r15d
mov rdi, rcx
mov r13, rsi
mov eax, dword [rsi + 0x40a8]
and byte [rcx + 0xcc], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r15
mov qword [rcx + 0x98], r15
cmp qword [rcx + 0x18], r15
jne 0x140036a27
call fcn.1400364f0
xor eax, eax
xorps xmm0, xmm0
mov ecx, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rdi + 0x30], eax
jle 0x140036904
inc ecx
mov qword [rbp - 0x29], rdi
mov dword [rbp - 0x21], ecx
mov r8, rdi
jmp 0x140036908
mov r8, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rdi
mov qword [rbp - 0x31], rdx
cmp ecx, 1
jle 0x140036926
test rdx, rdx
jne 0x140036966
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140036946
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140036470
mov ecx, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140036966
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140036470
mov ecx, dword [rbp - 0x21]
mov rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x29]
cmp ecx, 1
mov qword [rdi + 0x98], rdx
mov rax, r15
mov dword [rdi + 0xa8], ecx
cmove rax, r8
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r15d
jne 0x14003699b
test r8, r8
je 0x140036a05
mov eax, dword [r8]
mov dword [rdi + 0xb8], eax
test r8, r8
je 0x140036a05
mov rax, qword [r8 + 0x38]
mov r9d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdi + 0x64], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdi + 0x74], xmm1
movsxd rax, dword [r8 + 0x30]
cmp eax, r9d
jle 0x140036a05
mov r11, qword [r8 + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x3d], r15b
je 0x1400369ee
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x1400369d4
jmp 0x140036a05
movsxd rax, r9d
mov rcx, qword [r11 + rax*8]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdi + 0x64], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdi + 0x74], xmm1
test rdx, rdx
je 0x140036a20
nop word [rax + rax]
or byte [rdx + 0xcc], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x140036a10
mov rsi, qword [0x14007fbe0]
cmp qword [rdi + 0x40], r15
je 0x140036a46
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x140036a46
mov rcx, rdi
call fcn.140038df0
mov rsi, qword [0x14007fbe0]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
cmp qword [rdi + 0x18], r15
jne 0x140036c7d
test dword [rdi + 0x10], 0x400
jne 0x140036c7d
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x140036a90
cmp qword [rdi + 0x20], r15
jne 0x140036a90
cmp byte [r13 + 0x5a], r8b
jne 0x140036a90
test edx, edx
je 0x140036a8d
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x3c], r8b
jne 0x140036a90
mov r8b, 1
cmp dword [rdi + 0xa8], r15d
je 0x140036aa2
test r8b, r8b
je 0x140036c7d
cmp edx, 1
jne 0x140036b98
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x58]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x68]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x50], xmm1
mov dword [rdi + 0xc8], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140036b0d
cmp qword [r13 + 0x4d10], rax
jne 0x140036b0d
xor edx, edx
mov rcx, rbx
call fcn.140026130
mov rsi, qword [0x14007fbe0]
mov r8, qword [rdi + 0x88]
test r8, r8
je 0x140036b8f
test dword [r13 + 0x6284], 0x200
je 0x140036b4f
mov r8, qword [r8 + 0x40]
lea rcx, str._viewport__Node__08X_transfer_Viewport__08X___08X_to_Window__s_n
mov rax, qword [rbx + 8]
mov r9d, dword [rbx + 0x10]
mov edx, dword [rdi]
mov r8d, dword [r8]
mov qword [rsp + 0x20], rax
call fcn.14003da80
mov rsi, qword [0x14007fbe0]
mov rax, qword [rdi + 0x88]
mov rdx, qword [rax + 0x40]
mov qword [rbx + 0x40], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 0x48], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xfe], r15b
je 0x140036b8f
mov eax, dword [rbx + 0x10]
mov dword [rdx], eax
mov rax, qword [rbx + 0x40]
mov qword [rax + 0x60], rbx
mov byte [rbx + 0xfe], 1
mov eax, dword [rbx + 0x48]
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140036bbb
cmp qword [rax + 0x468], rdi
jne 0x140036bb4
mov qword [rax + 0x468], r15
mov qword [rdi + 0x88], r15
cmp dword [rdi + 0x30], 1
jne 0x140036bd9
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x445], 0xfe
cmp qword [rdi + 0x40], r15
je 0x140036bee
mov rcx, rdi
call fcn.140038df0
mov rsi, qword [0x14007fbe0]
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r15d
test byte [rdi + 0xcd], 1
mov byte [rdi + 0xcc], al
mov eax, dword [r13 + 0x40a8]
mov dword [rdi + 0xb0], eax
je 0x1400377e1
cmp dword [rdi + 0x30], 1
jne 0x1400377e1
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14001b6f0
movss xmm1, dword [rsi + 0x2ad4]
movss xmm0, dword [rsi + 0x2ad8]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4168], rbx
movss dword [rsi + 0x41cc], xmm1
movss dword [rsi + 0x41d0], xmm0
and byte [rdi + 0xcd], 0xfe
jmp 0x1400377e1
test byte [rdi + 0xcc], 1
je 0x140036cf6
cmp qword [rdi + 0x88], r15
jne 0x140036cf6
cmp qword [rdi + 0x18], r15
jne 0x140036cf6
test dword [rdi + 0x10], 0x400
jne 0x140036cf6
cmp qword [rdi + 0x20], r15
jne 0x140036cf6
mov edx, dword [rdi + 0xbc]
test edx, edx
je 0x140036cd1
mov rcx, qword [rdi + 0x38]
movsxd rax, dword [rdi + 0x30]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140036cd1
nop
mov rax, qword [rcx]
cmp dword [rax + 0x10], edx
je 0x140036cd8
add rcx, 8
cmp rcx, r8
jne 0x140036cc0
mov rax, qword [rdi + 0x38]
mov rax, qword [rax]
cmp byte [rax + 0x118], r15b
jg 0x140036cea
cmp byte [rax + 0x119], r15b
jle 0x140036cf6
mov dword [rdi + 0x14], 2
jmp 0x1400377e1
movsxd rdx, dword [rdi + 0x30]
mov qword [rsp + 0x100], r12
mov r12d, dword [rdi + 0x10]
movaps xmmword [rsp + 0x90], xmm9
mov dword [rbp - 0x45], r12d
test edx, edx
jle 0x140036d22
bt r12d, 0xe
jb 0x140036d22
mov cl, 0x10
jmp 0x140036d24
xor cl, cl
movzx eax, byte [rdi + 0xcc]
and al, 0xef
or al, cl
mov ecx, r12d
and al, 0xf7
mov byte [rdi + 0xcc], al
mov r8, qword [rdi + 0x38]
lea r9, [r8 + rdx*8]
cmp r8, r9
je 0x140036d97
nop word [rax + rax]
mov rdx, qword [r8]
movzx eax, byte [rdi + 0xcc]
movzx ecx, byte [rdx + 0x10a]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
cmp dword [rdi + 0x30], 1
mov byte [rdi + 0xcc], cl
movzx eax, byte [rdx + 0x445]
setg cl
and al, 0xfe
add r8, 8
or cl, al
mov byte [rdx + 0x445], cl
cmp r8, r9
jne 0x140036d50
mov ecx, dword [rdi + 0x10]
bt r12d, 0xf
jae 0x140036da5
and byte [rdi + 0xcc], 0xf7
shr ecx, 0xa
mov rbx, r15
mov qword [rsp + 0x108], r14
xorps xmm9, xmm9
mov byte [rbp - 0x59], bl
test cl, 1
je 0x140036dcb
mov rbx, qword [rdi + 0x88]
jmp 0x1400370e6
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x140037072
test byte [rdi + 0xcc], 1
je 0x14003708a
cmp dword [rdi + 0x30], ebx
jle 0x140036df3
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x140036df6
mov rcx, r15
mov eax, dword [rdi + 0xc8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140036e1a
test rcx, rcx
je 0x140036e4a
or dword [rsi + 0x4b58], 1
movsd xmm0, qword [rcx + 0x58]
jmp 0x140036e2a
cmp eax, 1
jne 0x140036e4a
or dword [rsi + 0x4b58], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x4b98], 1
mov dword [rsi + 0x4b5c], 1
mov qword [rsi + 0x4b74], r15
movsd qword [rsi + 0x4b6c], xmm0
mov eax, dword [rdi + 0xc8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140036e6d
test rcx, rcx
je 0x140036e90
or dword [rsi + 0x4b58], eax
movsd xmm0, qword [rcx + 0x68]
jmp 0x140036e7e
cmp eax, 1
jne 0x140036e90
or dword [rsi + 0x4b58], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x4b60], 1
movsd qword [rsi + 0x4b7c], xmm0
mov eax, dword [rdi + 0xc8]
and al, 0x38
cmp al, 0x10
jne 0x140036ebf
test rcx, rcx
je 0x140036ebf
movzx eax, byte [rcx + 0x102]
or dword [rsi + 0x4b58], 8
mov byte [rsi + 0x4b99], al
mov dword [rsi + 0x4b64], 1
mov eax, dword [rdi + 0xc8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x140036ef5
test rcx, rcx
je 0x140036edb
mov eax, dword [rcx + 0x48]
jmp 0x140036ee5
mov eax, dword [rdi + 0xc4]
test eax, eax
je 0x140036ef5
or dword [rsi + 0x4b58], 0x400
mov dword [rsi + 0x4bc4], eax
or dword [rsi + 0x4b58], 0x1000
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x4bcc], xmm0
movups xmm1, xmmword [rdi + 0x74]
movups xmmword [rsi + 0x4bdc], xmm1
mov r9d, dword [rdi]
call fcn.140016030
mov rax, qword [0x14007fbe0]
lea rdx, [rbp - 0x55]
mov ecx, 2
mov qword [rbp - 0x55], rbx
or dword [rax + 0x4b58], 0x40
mov dword [rax + 0x4bc0], r15d
call fcn.140017250
xor edx, edx
lea rcx, [rbp - 0x19]
mov r8d, 0x20021139
call fcn.140022c40
mov ecx, 1
call fcn.1400172e0
mov rax, qword [rdi + 0x88]
mov rbx, qword [r13 + 0x4150]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x140036f9b
cmp rax, rbx
je 0x140036f9b
cmp qword [rax + 0x468], rdi
jne 0x140036f9b
mov qword [rax + 0x468], r15
mov rsi, qword [0x14007fbe0]
mov qword [rbx + 0x468], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x58]
movss xmm1, dword [rbx + 0x5c]
movss dword [rbx + 0x148], xmm0
movss dword [rbx + 0x14c], xmm1
mov r14, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x60]
movsd qword [rdi + 0x50], xmm0
cmp byte [r14 + 0x106], r15b
je 0x140037080
movsxd rdx, dword [rsi + 0x40f0]
mov r8, qword [rsi + 0x40f8]
mov rcx, qword [r8 + rdx*8 - 8]
cmp rcx, r14
je 0x140037080
cmp qword [rcx + 0x3d8], r14
je 0x140037080
add edx, 0xfffffffe
js 0x140037080
movsxd rax, edx
lea rcx, [r8 + rax*8]
nop
cmp qword [rcx], r14
je 0x140037033
dec edx
sub rcx, 8
sub rax, 1
jns 0x140037020
jmp 0x140037080
mov eax, dword [rsi + 0x40f0]
mov r10, r8
sub eax, edx
movsxd r9, edx
dec eax
movsxd r8, eax
lea eax, [rdx + 1]
movsxd rcx, eax
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + r9*8]
call sub.VCRUNTIME140.dll_memmove
movsxd rcx, dword [rsi + 0x40f0]
mov rax, qword [rsi + 0x40f8]
mov qword [rax + rcx*8 - 8], r14
jmp 0x140037080
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc8], 0xfffffe00
test byte [rdi + 0xcd], 1
je 0x1400370e6
mov r14, qword [rdi + 0x88]
test r14, r14
je 0x1400370e6
mov rcx, r14
call fcn.14001b6f0
movss xmm1, dword [rsi + 0x2ad4]
movss xmm0, dword [rsi + 0x2ad8]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4168], r14
movss dword [rsi + 0x41cc], xmm1
movss dword [rsi + 0x41d0], xmm0
and byte [rdi + 0xcd], 0xfe
mov rsi, qword [0x14007fbe0]
mov dword [rdi + 0xc4], r15d
cmp qword [rdi + 0x18], r15
jne 0x14003716a
mov rdx, qword [r13 + 0x4d10]
test rdx, rdx
je 0x14003716a
mov rdx, qword [rdx + 0x3c8]
test rdx, rdx
je 0x14003716a
nop dword [rax + rax]
mov rcx, qword [rdx + 0x460]
test rcx, rcx
je 0x14003716a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14003713c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140037130
cmp rcx, rdi
je 0x14003715b
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x14003716a
mov rdx, qword [rax + 0x3c8]
test rdx, rdx
jne 0x140037110
jmp 0x14003716a
mov rax, qword [rdx + 0x460]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
cmp qword [rdi + 0x18], 0
mov r15, qword [rdi + 0x98]
jne 0x140037347
test rbx, rbx
je 0x140037347
test r12b, 8
je 0x140037347
test r15, r15
je 0x140037347
cmp qword [r15 + 0x20], 0
jne 0x140037347
cmp dword [r15 + 0x30], 0
jne 0x140037347
cmp byte [rsi + 0x4f1c], 0
mov r12b, 1
je 0x140037200
cmp dword [rsi + 0x4f44], 0xffffffff
je 0x140037200
lea r14, [rsi + 0x4f30]
test r14, r14
je 0x140037200
cmp dword [r14 + 0x14], 0xffffffff
je 0x140037200
lea rdx, [r14 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140037200
mov rdx, qword [r14]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140038f80
test al, al
jne 0x140037360
mov rax, qword [r15 + 0x18]
mov rcx, r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm8
test rax, rax
je 0x14003722c
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140037220
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r15 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm2, dword [r15 + 0x4c]
movaps xmm3, xmm4
movss xmm8, dword [rcx + 0x4c]
movaps xmm1, xmm2
addss xmm6, dword [rcx + 0x50]
addss xmm3, dword [r15 + 0x50]
addss xmm1, dword [r15 + 0x54]
addss xmm8, dword [rcx + 0x54]
movss xmm5, dword [0x14007577c]
jbe 0x140037274
addss xmm4, xmm5
comiss xmm6, xmm3
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x140037285
subss xmm3, xmm5
comiss xmm2, dword [rcx + 0x4c]
jbe 0x14003728f
addss xmm2, xmm5
comiss xmm8, xmm1
movaps xmm8, xmmword [rsp + 0xa0]
jbe 0x1400372a2
subss xmm1, xmm5
comiss xmm4, xmm3
ja 0x140037360
comiss xmm2, xmm1
ja 0x140037360
mov rcx, qword [rbx + 0x3b8]
subss xmm1, xmm2
subss xmm3, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm2
mov word [rbp - 0x53], r8w
cvttss2si edx, xmm3
mov word [rbp - 0x55], dx
mov eax, dword [rbp - 0x55]
mov dword [rbx + 0x2a0], eax
subss xmm0, dword [rbx + 0x58]
subss xmm1, dword [rbx + 0x5c]
cvttss2si eax, xmm0
mov word [rbp - 0x55], ax
cvttss2si eax, xmm1
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rbx + 0x2a4], eax
test rcx, rcx
je 0x14003734a
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r8w
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x2a0], eax
subss xmm4, dword [rcx + 0x58]
subss xmm2, dword [rcx + 0x5c]
cvttss2si eax, xmm4
mov word [rbp - 0x55], ax
cvttss2si eax, xmm2
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x2a4], eax
mov rax, qword [rdi + 0x18]
jmp 0x140037357
xor r12b, r12b
mov rax, qword [rdi + 0x18]
test rbx, rbx
je 0x140037574
test rax, rax
jne 0x140037499
mov r8, qword [rbx + 0x60]
xor r9d, r9d
mov rdx, qword [rbx + 0x58]
mov rcx, rdi
call fcn.14003ace0
movups xmm0, xmmword [rsi + 0x3c98]
lea rcx, [rsi + 0x4c00]
mov dword [rbp - 0x31], 0x1b
lea rdx, [rbp - 0x31]
movups xmmword [rbp - 0x2d], xmm0
call fcn.14003ead0
cmp dword [rsi + 0x4bfc], 0x1b
je 0x1400373ad
movups xmm0, xmmword [r13 + 0x3b38]
movups xmmword [rsi + 0x3c98], xmm0
mov rsi, qword [0x14007fbe0]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1d
movups xmm0, xmmword [rsi + 0x3cb8]
lea rcx, [rsi + 0x4c00]
movups xmmword [rbp - 0x2d], xmm0
call fcn.14003ead0
cmp dword [rsi + 0x4bfc], 0x1d
je 0x1400373ee
movups xmm0, xmmword [r13 + 0x3ce8]
movups xmmword [rsi + 0x3cb8], xmm0
mov rsi, qword [0x14007fbe0]
lea rdx, [rbp - 0x31]
mov dword [rbp - 0x31], 0x1c
movups xmm0, xmmword [rsi + 0x3ca8]
lea rcx, [rsi + 0x4c00]
movups xmmword [rbp - 0x2d], xmm0
call fcn.14003ead0
cmp dword [rsi + 0x4bfc], 0x1c
je 0x14003742f
movups xmm0, xmmword [r13 + 0x3cd8]
movups xmmword [rsi + 0x3ca8], xmm0
mov rcx, rdi
call fcn.14003b100
mov r8, qword [0x14007fbe0]
mov r9d, 3
mov eax, dword [r8 + 0x4c00]
cmp eax, r9d
jge 0x140037460
mov r9d, eax
test eax, eax
jle 0x140037499
nop word [rax + rax]
mov rcx, qword [r8 + 0x4c08]
dec r9d
cdqe
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x3ae8], xmm0
dec dword [r8 + 0x4c00]
mov eax, dword [r8 + 0x4c00]
test r9d, r9d
jg 0x140037460
cmp qword [rdi + 0x20], 0
jne 0x140037574
cmp dword [rdi + 0x30], 0
jne 0x140037574
test byte [rdi + 0xcc], 1
je 0x140037574
mov rdx, qword [rbx + 0x2e8]
xor r8d, r8d
lea rcx, [rdx + 0x80]
call fcn.14004b8b0
mov r14d, dword [rbp - 0x45]
test r14b, 8
je 0x1400374f1
or byte [rdi + 0xcc], 4
mov dword [rdi + 0x84], 0
jmp 0x140037578
mov rax, qword [0x14007fbe0]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3d58]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x35], xmm0
call fcn.1400168b0
mov dword [rdi + 0x84], eax
test eax, eax
je 0x14003756b
movss xmm0, dword [rdi + 0x48]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdx + 4]
lea r8, [rbp - 0x55]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
mov rcx, qword [rbx + 0x2e8]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.14004afe0
or byte [rdi + 0xcc], 4
jmp 0x140037578
mov r14d, dword [rbp - 0x45]
test rbx, rbx
je 0x1400376f3
cmp qword [rdi + 0x18], 0
jne 0x1400376c7
test r14b, 8
je 0x1400376c7
test byte [rdi + 0xcc], 1
je 0x1400376c7
mov rdx, qword [rbx + 0x2e8]
xor r8d, r8d
lea rcx, [rdx + 0x80]
call fcn.14004b8b0
mov rax, qword [0x14007fbe0]
lea rcx, [rbp - 0x31]
test r12b, r12b
je 0x140037662
movss xmm1, dword [r15 + 0x4c]
movups xmm0, xmmword [rax + 0x3b08]
movss dword [rbp - 0x51], xmm1
addss xmm1, dword [r15 + 0x54]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x49], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x25], xmm0
movss xmm0, dword [r15 + 0x48]
movss dword [rbp - 0x55], xmm0
addss xmm0, dword [r15 + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x4d], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x35], xmm1
movss dword [rbp - 0x39], xmm0
call fcn.1400168b0
mov rcx, qword [rbx + 0x2e8]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x55]
call fcn.140050560
jmp 0x1400376c7
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x55], xmm0
movups xmm0, xmmword [rax + 0x3b08]
movss dword [rbp - 0x51], xmm1
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp - 0x25], xmm0
call fcn.1400168b0
mov rcx, qword [rbx + 0x2e8]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x55]
movss dword [rsp + 0x20], xmm9
call fcn.14004afe0
mov rdx, qword [rbx + 0x2e8]
mov r8d, 1
lea rcx, [rdx + 0x80]
call fcn.14004b8b0
cmp dword [rdi + 0x30], 0
jle 0x1400376f3
mov rdx, rbx
mov rcx, rdi
call fcn.140037990
jmp 0x14003770e
movzx eax, byte [rdi + 0xcc]
and al, 0xbf
mov dword [rdi + 0xc0], 0
and al, 0xfd
mov byte [rdi + 0xcc], al
mov rax, qword [rdi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x14003773f
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x14003773f
mov dword [rdi + 0xbc], ecx
jmp 0x140037758
cmp dword [rdi + 0x30], 0
jle 0x140037758
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xc0]
mov dword [rdi + 0xbc], eax
test rbx, rbx
je 0x140037799
test byte [rdi + 0xcc], 1
je 0x140037799
cmp qword [rdi + 0x18], 0
jne 0x140037799
mov rax, qword [r13 + 0x4168]
test rax, rax
je 0x140037782
cmp qword [rax + 0x3d8], rbx
je 0x140037799
mov rcx, rbx
call fcn.14003c500
mov eax, dword [r13 + 0x40a8]
mov dword [rdi + 0xb0], eax
jmp 0x1400377ab
mov eax, dword [r13 + 0x40a8]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x1400377d6
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400377b9
call fcn.140036880
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400377c7
call fcn.140036880
cmp qword [rdi + 0x18], 0
jne 0x1400377d6
mov rcx, rbx
call fcn.1400218f0
cmp byte [rbp - 0x59], 0
je 0x1400377e1
call fcn.140025ce0
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140068d90
add rsp, 0xc0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret