Function at 0x140022880
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1402ca080]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x1409d7e20]
xor r15d, r15d
mov rdi, rcx
mov qword [rbp - 0x49], rsi
mov r14, rsi
mov eax, dword [rsi + 0x3f78]
and byte [rcx + 0xc8], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r15
mov qword [rcx + 0x98], r15
cmp qword [rcx + 0x18], r15
jne 0x140022a47
call fcn.1400224f0
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rdi + 0x30], eax
jle 0x14002290b
mov rcx, rdi
inc r8d
mov qword [rbp - 0x29], rcx
mov dword [rbp - 0x21], r8d
jmp 0x14002290f
mov rcx, 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 r8d, 1
jle 0x14002292e
test rdx, rdx
jne 0x140022970
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14002294f
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140022470
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140022970
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140022470
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rdi + 0x98], rdx
mov rax, r15
mov dword [rdi + 0xa8], r8d
cmove rax, rcx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r15d
jne 0x1400229aa
test rcx, rcx
je 0x140022a29
mov eax, dword [rcx]
mov dword [rdi + 0xb8], eax
test rcx, rcx
je 0x140022a29
mov rax, qword [rcx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [rcx + 0x30]
cmp eax, r9d
jle 0x140022a29
mov r11, qword [rcx + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp byte [rax + 0x35], r15b
je 0x140022a0a
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x1400229f0
jmp 0x140022a29
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rdi + 0x7c], eax
test rdx, rdx
je 0x140022a40
nop
or byte [rdx + 0xc8], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x140022a30
mov rsi, qword [0x1409d7e20]
cmp qword [rdi + 0x40], r15
je 0x140022a66
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x140022a66
mov rcx, rdi
call fcn.140024a50
mov rsi, qword [0x1409d7e20]
mov r9, qword [rdi + 0x18]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
test r9, r9
jne 0x140022c52
test dword [rdi + 0x10], 0x400
jne 0x140022c52
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x140022ab3
cmp qword [rdi + 0x20], r15
jne 0x140022ab3
cmp byte [r14 + 0x7a], r8b
jne 0x140022ab3
test edx, edx
je 0x140022ab0
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x34], r8b
jne 0x140022ab3
mov r8b, 1
cmp dword [rdi + 0xa8], r15d
je 0x140022ac5
test r8b, r8b
je 0x140022c52
cmp edx, 1
jne 0x140022b6d
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x50], xmm1
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140022b2e
cmp qword [r14 + 0x4a50], rax
jne 0x140022b2e
mov rcx, rbx
call fcn.1400129a0
mov rsi, qword [0x1409d7e20]
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140022b6d
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xea], r15b
je 0x140022b6d
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xea], 1
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140022b90
cmp qword [rax + 0x468], rdi
jne 0x140022b89
mov qword [rax + 0x468], r15
mov qword [rdi + 0x88], r15
cmp dword [rdi + 0x30], 1
jne 0x140022bae
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 0x140022bc3
mov rcx, rdi
call fcn.140024a50
mov rsi, qword [0x1409d7e20]
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r15d
test byte [rdi + 0xc9], 1
mov byte [rdi + 0xc8], al
mov eax, dword [r14 + 0x3f78]
mov dword [rdi + 0xb0], eax
je 0x140023637
cmp dword [rdi + 0x30], 1
jne 0x140023637
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.140008860
movss xmm1, dword [rsi + 0x3700]
movss xmm0, dword [rsi + 0x3704]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4010], rbx
movss dword [rsi + 0x4078], xmm1
movss dword [rsi + 0x407c], xmm0
and byte [rdi + 0xc9], 0xfe
jmp 0x140023637
test byte [rdi + 0xc8], 1
je 0x140022ceb
cmp qword [rdi + 0x88], r15
jne 0x140022ceb
test r9, r9
jne 0x140022ceb
test dword [rdi + 0x10], 0x400
jne 0x140022ceb
cmp qword [rdi + 0x20], r15
jne 0x140022ceb
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x140022cc6
mov r8d, dword [rdi + 0x30]
mov ecx, r15d
test r8d, r8d
jle 0x140022cc6
mov rdx, qword [rdi + 0x38]
nop dword [rax]
mov rax, qword [rdx]
cmp dword [rax + 0x10], r9d
je 0x140022cb6
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x140022ca0
jmp 0x140022cc6
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x140022ccd
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0x108], r15b
jg 0x140022cdf
cmp byte [rdx + 0x109], r15b
jle 0x140022ceb
mov dword [rdi + 0x14], 2
jmp 0x140023637
mov r8d, dword [rdi + 0x30]
mov qword [rsp + 0x100], r12
mov r12d, dword [rdi + 0x10]
mov qword [rsp + 0x108], r13
movaps xmmword [rsp + 0x90], xmm9
test r8d, r8d
jle 0x140022d30
bt r12d, 0xe
jb 0x140022d30
movzx eax, byte [rdi + 0xc8]
mov r9d, r15d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xc8], al
jmp 0x140022d4c
movzx eax, byte [rdi + 0xc8]
mov r9d, r15d
and al, 0xef
mov ecx, r12d
and al, 0xf7
mov byte [rdi + 0xc8], al
test r8d, r8d
jle 0x140022da4
mov r10, r15
nop
mov rax, qword [rdi + 0x38]
lea r10, [r10 + 8]
mov rdx, qword [r10 + rax - 8]
movzx eax, byte [rdi + 0xc8]
movzx ecx, byte [rdx + 0xf5]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rdi + 0xc8], cl
cmp r8d, 1
movzx eax, byte [rdx + 0x445]
setg cl
and al, 0xfe
or cl, al
inc r9d
mov byte [rdx + 0x445], cl
mov r8d, dword [rdi + 0x30]
cmp r9d, r8d
jl 0x140022d50
mov ecx, dword [rdi + 0x10]
bt r12d, 0xf
jae 0x140022db2
and byte [rdi + 0xc8], 0xf7
xor r13b, r13b
shr ecx, 0xa
mov rbx, r15
test cl, 1
je 0x140022dcc
mov rbx, qword [rdi + 0x88]
jmp 0x140023092
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14002301a
test byte [rdi + 0xc8], 1
je 0x140023032
test r8d, r8d
jle 0x140022df4
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x140022df7
mov rcx, r15
mov eax, dword [rdi + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140022e1b
test rcx, rcx
je 0x140022e4b
or dword [rsi + 0x48d8], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x140022e2b
cmp eax, 1
jne 0x140022e4b
or dword [rsi + 0x48d8], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x4914], 1
mov dword [rsi + 0x48dc], 1
mov qword [rsi + 0x48f4], r15
movsd qword [rsi + 0x48ec], xmm0
mov eax, dword [rdi + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140022e6e
test rcx, rcx
je 0x140022e91
or dword [rsi + 0x48d8], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x140022e7f
cmp eax, 1
jne 0x140022e91
or dword [rsi + 0x48d8], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x48e0], 1
movsd qword [rsi + 0x48fc], xmm0
mov eax, dword [rdi + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x140022ec0
test rcx, rcx
je 0x140022ec0
movzx eax, byte [rcx + 0xee]
or dword [rsi + 0x48d8], 8
mov byte [rsi + 0x4915], al
mov dword [rsi + 0x48e4], 1
mov eax, dword [rdi + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x140022eea
test rcx, rcx
je 0x140022eea
mov eax, dword [rcx + 0x40]
or dword [rsi + 0x48d8], 0x100
mov dword [rsi + 0x493c], eax
or dword [rsi + 0x48d8], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x4944], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rsi + 0x4954], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rsi + 0x495c], eax
mov r9d, dword [rdi]
call fcn.140003a10
mov rbx, qword [0x1409d7e20]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 2
or dword [rbx + 0x48d8], 0x40
lea rcx, [rbx + 0x4978]
mov dword [rbx + 0x4938], r15d
movss xmm1, dword [rbx + 0x3900]
movss xmm0, dword [rbx + 0x3904]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x51], xmm0
call fcn.14002a3f0
xor edx, edx
mov qword [rbx + 0x3900], r15
mov r8d, 0x20081139
lea rcx, [rbp - 0x19]
call fcn.14000f590
mov ecx, 1
call fcn.140004700
mov rax, qword [rdi + 0x88]
mov r13b, 1
mov rbx, qword [r14 + 0x3ff8]
test rax, rax
je 0x140022fc0
cmp rax, rbx
je 0x140022fc0
cmp qword [rax + 0x468], rdi
jne 0x140022fc0
mov qword [rax + 0x468], r15
mov qword [rbx + 0x468], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x50]
movss xmm1, dword [rbx + 0x54]
movss dword [rbx + 0x138], xmm0
movss dword [rbx + 0x13c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x58]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xf1], r15b
je 0x140023011
call fcn.1400128f0
mov rsi, qword [0x1409d7e20]
jmp 0x140023028
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc4], 0xfffffe00
test byte [rdi + 0xc9], 1
je 0x140023092
mov r14, qword [rdi + 0x88]
test r14, r14
je 0x14002308e
mov rcx, r14
call fcn.140008860
movss xmm1, dword [rsi + 0x3700]
movss xmm0, dword [rsi + 0x3704]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4010], r14
movss dword [rsi + 0x4078], xmm1
movss dword [rsi + 0x407c], xmm0
and byte [rdi + 0xc9], 0xfe
mov rsi, qword [0x1409d7e20]
mov r14, qword [rbp - 0x49]
cmp qword [rdi + 0x18], r15
jne 0x14002310a
mov rdx, qword [r14 + 0x4a50]
test rdx, rdx
je 0x14002310a
mov rdx, qword [rdx + 0x3e0]
test rdx, rdx
je 0x14002310a
mov rcx, qword [rdx + 0x460]
test rcx, rcx
je 0x14002310a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400230dc
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400230d0
cmp rcx, rdi
je 0x1400230fb
mov rdx, qword [rcx + 0x88]
test rdx, rdx
je 0x14002310a
mov rdx, qword [rdx + 0x3e0]
test rdx, rdx
jne 0x1400230b0
jmp 0x14002310a
mov rax, qword [rdx + 0x460]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
cmp qword [rdi + 0x18], 0
xorps xmm9, xmm9
mov r15, qword [rdi + 0x98]
jne 0x1400232e4
test rbx, rbx
je 0x1400232e4
test r12b, 8
je 0x1400232e4
test r15, r15
je 0x1400232e4
cmp qword [r15 + 0x20], 0
jne 0x1400232e4
cmp dword [r15 + 0x30], 0
jne 0x1400232e4
cmp byte [rsi + 0x4bfc], 0
mov r14b, 1
je 0x1400231a5
cmp dword [rsi + 0x4c24], 0xffffffff
je 0x1400231a5
add rsi, 0x4c10
je 0x1400231a5
cmp dword [rsi + 0x14], 0xffffffff
je 0x1400231a5
lea rdx, [rsi + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400231a5
mov rdx, qword [rsi]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140024bb0
test al, al
je 0x1400231a5
movzx esi, r14b
jmp 0x1400232fd
mov rax, qword [r15 + 0x18]
mov rcx, r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x1400231cd
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400231c1
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r15 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r15 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r15 + 0x50]
addss xmm1, dword [r15 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x1402baacc]
jbe 0x140023213
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x140023224
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x14002322e
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x14002323f
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x14002319c
comiss xmm3, xmm1
ja 0x14002319c
mov rcx, qword [rbx + 0x3d0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x57], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x59], dx
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x2b8], eax
subss xmm0, dword [rbx + 0x50]
subss xmm1, dword [rbx + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x59], ax
cvttss2si eax, xmm1
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x2bc], eax
test rcx, rcx
je 0x1400232e7
mov word [rbp - 0x59], dx
mov word [rbp - 0x57], r8w
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2b8], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x59], ax
cvttss2si eax, xmm3
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2bc], eax
mov rax, qword [rdi + 0x18]
jmp 0x1400232f4
xor r14b, r14b
mov rax, qword [rdi + 0x18]
test rbx, rbx
je 0x140023548
movzx esi, r14b
test rax, rax
jne 0x140023318
mov r8, qword [rbx + 0x58]
xor r9d, r9d
mov rdx, qword [rbx + 0x50]
mov rcx, rdi
call fcn.1400268b0
mov rcx, rdi
call fcn.140026d50
cmp qword [rdi + 0x20], 0
jne 0x1400233e9
cmp dword [rdi + 0x30], 0
jne 0x1400233e9
test byte [rdi + 0xc8], 1
movzx r14d, sil
je 0x1400233e9
mov rdx, qword [rbx + 0x300]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140036d80
test r12b, 8
je 0x140023369
mov dword [rdi + 0x80], 0
jmp 0x1400233e2
mov rax, qword [0x1409d7e20]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c44]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f8]
movss dword [rbp - 0x35], xmm0
call fcn.140004140
mov dword [rdi + 0x80], eax
test eax, eax
je 0x1400233e2
movss xmm1, dword [rdi + 0x4c]
lea rdx, [rdi + 0x48]
movss xmm0, dword [rdi + 0x50]
lea r8, [rbp - 0x59]
addss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdx]
mov rcx, qword [rbx + 0x300]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x59], xmm0
call fcn.140036410
or byte [rdi + 0xc8], 4
test rbx, rbx
je 0x140023548
cmp qword [rdi + 0x18], 0
jne 0x14002351c
test r12b, 8
je 0x14002351c
test byte [rdi + 0xc8], 1
je 0x14002351c
mov rdx, qword [rbx + 0x300]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140036d80
mov rax, qword [0x1409d7e20]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39f4]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f8]
movss dword [rbp - 0x25], xmm0
test r14b, r14b
je 0x1400234d3
movss xmm0, dword [r15 + 0x48]
movss xmm1, dword [r15 + 0x4c]
movss dword [rbp - 0x59], xmm0
addss xmm0, dword [r15 + 0x50]
movss dword [rbp - 0x55], xmm1
addss xmm1, dword [r15 + 0x54]
movss dword [rbp - 0x51], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x4d], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.140004140
mov rcx, qword [rbx + 0x300]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x59]
call fcn.14003b2d0
jmp 0x14002351c
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x59], xmm0
movss dword [rbp - 0x55], xmm1
call fcn.140004140
mov rcx, qword [rbx + 0x300]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x59]
movss dword [rsp + 0x20], xmm9
call fcn.140036410
mov rdx, qword [rbx + 0x300]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140036d80
cmp dword [rdi + 0x30], 0
jle 0x140023548
mov rdx, rbx
mov rcx, rdi
call fcn.1400237e0
jmp 0x140023563
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0xc0], 0
and al, 0xfd
mov byte [rdi + 0xc8], al
mov rax, qword [rdi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x14002358c
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x14002358c
mov dword [rdi + 0xbc], ecx
jmp 0x1400235a5
cmp dword [rdi + 0x30], 0
jle 0x1400235a5
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb0]
mov dword [rdi + 0xbc], eax
mov rsi, qword [rbp - 0x49]
test rbx, rbx
je 0x1400235e9
test byte [rdi + 0xc8], 1
je 0x1400235e9
cmp qword [rdi + 0x18], 0
jne 0x1400235e9
mov rax, qword [rsi + 0x4010]
test rax, rax
je 0x1400235d3
cmp qword [rax + 0x3f0], rbx
je 0x1400235e9
mov rcx, rbx
call fcn.1400282d0
mov eax, dword [rsi + 0x3f78]
mov dword [rdi + 0xb0], eax
jmp 0x1400235fa
mov eax, dword [rsi + 0x3f78]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x140023625
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140023608
call fcn.140022880
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140023616
call fcn.140022880
cmp qword [rdi + 0x18], 0
jne 0x140023625
mov rcx, rbx
call fcn.14000e0c0
test r13b, r13b
mov r13, qword [rsp + 0x108]
je 0x140023637
call fcn.140012600
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400b2d10
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret