Function at 0x140040c50
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 [0x1400b6028]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, qword [0x1400b7800]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x31], rsi
mov r15, rsi
mov eax, dword [rsi + 0x3f60]
and byte [rcx + 0xc8], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r14
mov qword [rcx + 0x98], r14
cmp qword [rcx + 0x18], r14
jne 0x140040e17
call fcn.140040930
xor eax, eax
xorps xmm0, xmm0
mov ecx, eax
mov qword [rbp - 0x19], rax
movups xmmword [rbp - 0x29], xmm0
cmp dword [rdi + 0x30], eax
jle 0x140040cd8
inc ecx
mov qword [rbp - 0x21], rdi
mov dword [rbp - 0x19], ecx
mov r8, rdi
jmp 0x140040cdc
mov r8, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x29]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rdi
mov qword [rbp - 0x29], rdx
cmp ecx, 1
jle 0x140040cfa
test rdx, rdx
jne 0x140040d3a
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140040d1a
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.1400408c0
mov ecx, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140040d3a
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.1400408c0
mov ecx, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x21]
cmp ecx, 1
mov qword [rdi + 0x98], rdx
mov rax, r14
mov dword [rdi + 0xa8], ecx
cmove rax, r8
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r14d
jne 0x140040d73
test r8, r8
je 0x140040ded
mov eax, dword [r8]
mov dword [rdi + 0xb8], eax
test r8, r8
je 0x140040ded
mov rax, qword [r8 + 0x38]
mov r9d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rcx + 0x24]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [r8 + 0x30]
cmp eax, r9d
jle 0x140040ded
mov r11, qword [r8 + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
mov rax, qword [rcx]
cmp byte [rax + 0x2d], r14b
je 0x140040dce
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x140040db4
jmp 0x140040ded
movsxd rax, r9d
mov rcx, qword [r11 + rax*8]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rcx + 0x24]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x7c], eax
test rdx, rdx
je 0x140040e10
nop dword [rax]
nop word [rax + rax]
or byte [rdx + 0xc8], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x140040e00
mov rsi, qword [0x1400b7800]
cmp qword [rdi + 0x40], r14
je 0x140040e36
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x140040e36
mov rcx, rdi
call fcn.140042ea0
mov rsi, qword [0x1400b7800]
mov r9, qword [rdi + 0x18]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
test r9, r9
jne 0x14004102c
test dword [rdi + 0x10], 0x400
jne 0x14004102c
mov edx, dword [rdi + 0x30]
lea rbx, [rdi + 0x30]
cmp edx, 1
jg 0x140040e87
cmp qword [rdi + 0x20], r14
jne 0x140040e87
cmp byte [r15 + 0x72], r8b
jne 0x140040e87
test edx, edx
je 0x140040e84
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r8b
jne 0x140040e87
mov r8b, 1
cmp dword [rdi + 0xa8], r14d
je 0x140040e99
test r8b, r8b
je 0x140041030
cmp edx, 1
jne 0x140040f48
mov rax, qword [rdi + 0x38]
mov r14, qword [rax]
mov eax, dword [rdi + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [r14 + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [r14 + 0x58]
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 0x140040f04
cmp qword [r15 + 0x4268], rax
jne 0x140040f04
mov rcx, r14
call fcn.140033530
mov rsi, qword [0x1400b7800]
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140040f45
mov rdx, qword [rax + 0x30]
mov qword [r14 + 0x30], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x38]
mov dword [r14 + 0x38], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xca], 0
je 0x140040f45
mov qword [rdx + 0x88], r14
mov byte [r14 + 0xca], 1
xor r14d, r14d
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140040f6b
cmp qword [rax + 0x428], rdi
jne 0x140040f64
mov qword [rax + 0x428], r14
mov qword [rdi + 0x88], r14
cmp dword [rbx], 1
jne 0x140040f88
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x401], 0xfe
cmp qword [rdi + 0x40], 0
je 0x140040f9e
mov rcx, rdi
call fcn.140042ea0
mov rsi, qword [0x1400b7800]
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r14d
test byte [rdi + 0xc9], 1
mov byte [rdi + 0xc8], al
mov eax, dword [r15 + 0x3f60]
mov dword [rdi + 0xb0], eax
je 0x140041a7e
cmp dword [rbx], 1
jne 0x140041a7e
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.140027ea0
movss xmm1, dword [rsi + 0x366c]
movss xmm0, dword [rsi + 0x3670]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4000], rbx
movss dword [rsi + 0x4064], xmm1
movss dword [rsi + 0x4068], xmm0
and byte [rdi + 0xc9], 0xfe
jmp 0x140041a7e
lea rbx, [rdi + 0x30]
movzx r8d, byte [rdi + 0xc8]
mov qword [rsp + 0x100], r12
mov r12, rbx
test r8b, 1
je 0x1400410e0
cmp qword [rdi + 0x88], r14
jne 0x1400410e0
test r9, r9
jne 0x1400410e0
test dword [rdi + 0x10], 0x400
jne 0x1400410e0
cmp qword [rdi + 0x20], r14
jne 0x1400410e0
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x1400410b7
mov r10d, dword [rdi + 0x30]
lea r12, [rdi + 0x30]
mov ecx, r14d
test r10d, r10d
jle 0x1400410b7
mov r11, qword [rdi + 0x38]
mov rdx, r11
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x1400410ab
inc ecx
add rdx, 8
cmp ecx, r10d
jl 0x140041095
jmp 0x1400410b7
movsxd rax, ecx
mov rcx, qword [r11 + rax*8]
test rcx, rcx
jne 0x1400410c2
mov rax, qword [rdi + 0x38]
lea r12, [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xe4], r14b
jg 0x1400410d4
cmp byte [rcx + 0xe5], r14b
jle 0x1400410e0
mov dword [rdi + 0x14], 2
jmp 0x140041a76
mov ecx, dword [r12]
mov qword [rsp + 0x108], r13
mov r13d, dword [rdi + 0x10]
mov dword [rbp - 0x41], r13d
movaps xmmword [rsp + 0xb0], xmm6
test ecx, ecx
jle 0x14004111b
bt r13d, 0xe
jb 0x14004111b
and r8b, 0xf7
or r8b, 0x10
mov byte [rdi + 0xc8], r8b
mov r8d, r14d
jmp 0x140041130
and r8b, 0xe7
mov eax, r13d
mov byte [rdi + 0xc8], r8b
mov r8d, r14d
test ecx, ecx
jle 0x140041185
mov r9, r14
mov rax, qword [rdi + 0x38]
lea r9, [r9 + 8]
mov rdx, qword [r9 + rax - 8]
movzx eax, byte [rdi + 0xc8]
movzx ecx, byte [rdx + 0xd5]
shl cl, 3
or cl, al
xor cl, al
and cl, 8
xor cl, al
cmp dword [r12], 1
mov byte [rdi + 0xc8], cl
movzx eax, byte [rdx + 0x401]
setg cl
and al, 0xfe
inc r8d
or cl, al
mov byte [rdx + 0x401], cl
cmp r8d, dword [r12]
jl 0x140041133
mov eax, dword [rdi + 0x10]
bt r13d, 0xf
jae 0x140041193
and byte [rdi + 0xc8], 0xf7
shr eax, 0xa
mov rbx, r14
mov byte [rbp - 0x58], bl
test al, 1
je 0x1400411ac
mov rbx, qword [rdi + 0x88]
jmp 0x1400414cf
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14004145b
test byte [rdi + 0xc8], 1
je 0x140041473
cmp dword [r12], ebx
jle 0x1400411d5
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x1400411d8
mov rcx, r14
mov eax, dword [rdi + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1400411fc
test rcx, rcx
je 0x14004122c
or dword [rsi + 0x40f0], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x14004120c
cmp eax, 1
jne 0x14004122c
or dword [rsi + 0x40f0], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x412c], 1
mov dword [rsi + 0x40f4], 1
mov qword [rsi + 0x410c], r14
movsd qword [rsi + 0x4104], xmm0
mov eax, dword [rdi + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14004124f
test rcx, rcx
je 0x140041272
or dword [rsi + 0x40f0], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x140041260
cmp eax, 1
jne 0x140041272
or dword [rsi + 0x40f0], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x40f8], 1
movsd qword [rsi + 0x4114], xmm0
mov eax, dword [rdi + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x1400412a1
test rcx, rcx
je 0x1400412a1
movzx eax, byte [rcx + 0xce]
or dword [rsi + 0x40f0], 8
mov byte [rsi + 0x412d], al
mov dword [rsi + 0x40fc], 1
mov eax, dword [rdi + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x1400412cb
test rcx, rcx
je 0x1400412cb
mov eax, dword [rcx + 0x38]
or dword [rsi + 0x40f0], 0x100
mov dword [rsi + 0x4154], eax
or dword [rsi + 0x40f0], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x11]
movups xmmword [rsi + 0x415c], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rsi + 0x416c], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rsi + 0x4174], eax
mov r9d, dword [rdi]
call fcn.140024540
mov rbx, qword [0x1400b7800]
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 2
or dword [rbx + 0x40f0], 0x40
lea rcx, [rbx + 0x4190]
mov dword [rbx + 0x4150], r14d
movss xmm1, dword [rbx + 0x3910]
movss xmm0, dword [rbx + 0x3914]
movss dword [rbp - 0x4d], xmm1
movss dword [rbp - 0x49], xmm0
call fcn.140048120
xor edx, edx
mov qword [rbx + 0x3910], r14
mov r8d, 0x20081139
lea rcx, [rbp - 0x11]
call fcn.140030450
mov rsi, qword [0x1400b7800]
movsxd rax, dword [rsi + 0x4190]
mov rdx, qword [rsi + 0x4198]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r9, [rax + rax*2]
lea rax, [0x14009d1b0]
cmp dword [rax + r9*4], 8
mov r8d, dword [rax + r9*4 + 8]
jne 0x1400413d6
mov eax, dword [rax + r9*4 + 4]
cmp eax, 1
jne 0x1400413b9
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x3908], eax
jmp 0x1400413d6
cmp eax, 2
jne 0x1400413d6
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x3908], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rsi + 0x390c], eax
dec dword [rsi + 0x4190]
mov rax, qword [rdi + 0x88]
mov rbx, qword [r15 + 0x3fe0]
mov byte [rbp - 0x58], 1
test rax, rax
je 0x140041408
cmp rax, rbx
je 0x140041408
cmp qword [rax + 0x428], rdi
jne 0x140041408
mov qword [rax + 0x428], r14
mov qword [rbx + 0x428], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x48]
movss xmm1, dword [rbx + 0x4c]
movss dword [rbx + 0x118], xmm0
movss dword [rbx + 0x11c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x50]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xd1], r14b
je 0x140041469
call fcn.140033480
jmp 0x140041469
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc4], 0xfffffe00
test byte [rdi + 0xc9], 1
je 0x1400414cf
mov r14, qword [rdi + 0x88]
test r14, r14
je 0x1400414cf
mov rcx, r14
call fcn.140027ea0
movss xmm1, dword [rsi + 0x366c]
movss xmm0, dword [rsi + 0x3670]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4000], r14
movss dword [rsi + 0x4064], xmm1
movss dword [rsi + 0x4068], xmm0
and byte [rdi + 0xc9], 0xfe
mov rsi, qword [0x1400b7800]
mov rdx, qword [rdi + 0x18]
test rdx, rdx
jne 0x140041511
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x140041511
mov rcx, qword [rax + 0x3a0]
mov rax, qword [rcx + 0x420]
test rax, rax
je 0x140041511
cmp qword [rcx + 0x390], rbx
jne 0x140041511
mov eax, dword [rax]
mov r14, qword [rdi + 0x98]
mov dword [rdi + 0xb8], eax
jmp 0x140041521
mov r14, qword [rdi + 0x98]
test rdx, rdx
jne 0x1400416d7
test rbx, rbx
je 0x1400416d7
mov r15d, r13d
and r15d, 8
je 0x1400416d7
test r14, r14
je 0x1400416d7
cmp qword [r14 + 0x20], 0
jne 0x1400416d7
cmp dword [r14 + 0x30], 0
jne 0x1400416d7
cmp byte [rsi + 0x43fc], 0
lea r13, [rsi + 0x4410]
mov eax, 0
mov byte [rbp - 0x59], 1
cmove r13, rax
mov rsi, r14
test r13, r13
je 0x1400415ab
cmp dword [r13 + 0x14], 0xffffffff
je 0x1400415ab
lea rdx, [r13 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400415ab
mov rdx, qword [r13]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140043000
test al, al
jne 0x1400416e2
mov rax, qword [r14 + 0x18]
mov rcx, r14
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x1400415cc
nop
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400415c0
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r14 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r14 + 0x50]
addss xmm1, dword [r14 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x1400a3554]
jbe 0x140041612
addss xmm4, xmm5
comiss xmm6, xmm2
jbe 0x14004161b
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x140041625
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x140041636
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x1400416e2
comiss xmm3, xmm1
ja 0x1400416e2
mov rcx, qword [rbx + 0x390]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x4f], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x51], dx
mov eax, dword [rbp - 0x51]
mov dword [rbx + 0x278], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x51], ax
cvttss2si eax, xmm1
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rbx + 0x27c], eax
test rcx, rcx
je 0x1400416e2
mov word [rbp - 0x51], dx
mov word [rbp - 0x4f], r8w
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x278], eax
subss xmm4, dword [rcx + 0x48]
subss xmm3, dword [rcx + 0x4c]
cvttss2si eax, xmm4
mov word [rbp - 0x51], ax
cvttss2si eax, xmm3
mov word [rbp - 0x4f], ax
mov eax, dword [rbp - 0x51]
mov dword [rcx + 0x27c], eax
jmp 0x1400416e2
mov r15d, r13d
mov byte [rbp - 0x59], 0
and r15d, 8
cmp qword [rdi + 0x18], 0
xorps xmm6, xmm6
mov esi, r15d
jne 0x14004172e
test rbx, rbx
je 0x140041813
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140054880
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.140044b30
mov rcx, rdi
call fcn.140044ff0
jmp 0x140041737
test rbx, rbx
je 0x140041813
cmp qword [rdi + 0x20], 0
jne 0x140041810
cmp dword [r12], 0
jne 0x140041810
test byte [rdi + 0xc8], 1
mov esi, r15d
je 0x140041813
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140054880
mov esi, dword [rbp - 0x41]
and esi, 8
je 0x14004178f
xor eax, eax
or byte [rdi + 0xc8], 4
mov dword [rdi + 0x80], eax
jmp 0x140041813
mov rax, qword [0x1400b7800]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c40]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rbp - 0x35], xmm0
call fcn.140024b50
mov dword [rdi + 0x80], eax
test eax, eax
je 0x140041807
movss xmm0, dword [rdi + 0x50]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
lea r8, [rbp - 0x41]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rbx + 0x2c0]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm6
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm1
call fcn.140053ec0
or byte [rdi + 0xc8], 4
jmp 0x140041813
mov esi, r15d
mov r13, qword [rsp + 0x108]
test rbx, rbx
je 0x140041972
cmp qword [rdi + 0x18], 0
jne 0x140041945
test esi, esi
je 0x140041945
test byte [rdi + 0xc8], 1
je 0x140041945
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140054880
cmp byte [rbp - 0x59], 0
lea rcx, [rbp - 0x29]
mov rax, qword [0x1400b7800]
movups xmm0, xmmword [rax + 0x39f0]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rbp - 0x1d], xmm0
je 0x1400418ff
movss xmm0, dword [r14 + 0x48]
movss xmm1, dword [r14 + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [r14 + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [r14 + 0x54]
movss dword [rbp - 0x39], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x35], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x51], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x4d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x49], xmm0
movss dword [rbp - 0x45], xmm1
call fcn.140024b50
mov rcx, qword [rbx + 0x2c0]
lea rdx, [rbp - 0x51]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x41]
call fcn.140059530
jmp 0x140041945
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm1
call fcn.140024b50
mov rcx, qword [rbx + 0x2c0]
lea r8, [rbp - 0x41]
mov r9d, eax
lea rdx, [rdi + 0x48]
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm6
call fcn.140053ec0
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140054880
cmp dword [r12], 0
jle 0x140041972
mov rdx, rbx
mov rcx, rdi
call fcn.140041d50
jmp 0x14004198d
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 xmm6, xmmword [rsp + 0xb0]
test rax, rax
je 0x1400419a5
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x1400419b6
cmp dword [r12], 0
jle 0x1400419bc
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xbc], eax
mov rsi, qword [rbp - 0x31]
test rbx, rbx
je 0x140041a00
test byte [rdi + 0xc8], 1
je 0x140041a00
cmp qword [rdi + 0x18], 0
jne 0x140041a00
mov rax, qword [rsi + 0x4000]
test rax, rax
je 0x1400419ea
cmp qword [rax + 0x3b0], rbx
je 0x140041a00
mov rcx, rbx
call fcn.140046420
mov eax, dword [rsi + 0x3f60]
mov dword [rdi + 0xb0], eax
jmp 0x140041a11
mov eax, dword [rsi + 0x3f60]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x140041a6b
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140041a1f
call fcn.140040c50
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140041a2d
call fcn.140040c50
cmp qword [rdi + 0x18], 0
jne 0x140041a55
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140054880
mov rcx, rbx
call fcn.14002ef40
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140054880
cmp byte [rbp - 0x58], 0
je 0x140041a76
call fcn.140033210
mov r12, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140095220
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret