Function at 0x14005e770
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xd8
mov rax, qword [0x14015e080]
xor rax, rsp
mov qword [rbp - 9], rax
mov r8, qword [0x14015f738]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x51], r8
mov rsi, r8
mov eax, dword [r8 + 0x3f48]
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 0x14005e937
call fcn.14005e370
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x29], rax
movups xmmword [rbp - 0x39], xmm0
cmp dword [rdi + 0x30], eax
jle 0x14005e7fa
mov rdx, rdi
inc r8d
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], r8d
jmp 0x14005e7fe
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rcx, rdi
mov qword [rbp - 0x39], rcx
cmp r8d, 1
jle 0x14005e81d
test rcx, rcx
jne 0x14005e85f
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x14005e83e
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.14005e2f0
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
mov r8d, dword [rbp - 0x29]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14005e85f
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.14005e2f0
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
mov r8d, dword [rbp - 0x29]
cmp r8d, 1
mov qword [rdi + 0x98], rcx
mov rax, r14
mov dword [rdi + 0xa8], r8d
cmove rax, rdx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r14d
jne 0x14005e899
test rdx, rdx
je 0x14005e919
mov eax, dword [rdx]
mov dword [rdi + 0xb8], eax
test rdx, rdx
je 0x14005e919
mov rax, qword [rdx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [rdx + 0x30]
cmp eax, r9d
jle 0x14005e919
mov r11, qword [rdx + 0x38]
mov r10, rax
mov r8d, r9d
lea rdx, [r11 + 8]
nop word [rax + rax]
mov rax, qword [rdx]
cmp byte [rax + 0x2d], r14b
je 0x14005e8fa
inc r9d
inc r8
add rdx, 8
cmp r8, r10
jl 0x14005e8e0
jmp 0x14005e919
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x7c], eax
test rcx, rcx
je 0x14005e930
nop
or byte [rcx + 0xc8], 0x20
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14005e920
mov r8, qword [0x14015f738]
cmp qword [rdi + 0x40], r14
je 0x14005e956
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x14005e956
mov rcx, rdi
call fcn.140060660
mov r8, qword [0x14015f738]
mov r10, qword [rdi + 0x18]
xor r9b, r9b
mov qword [rsp + 0x108], rbx
test r10, r10
jne 0x14005eafb
test dword [rdi + 0x10], 0x400
jne 0x14005eafb
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x14005e9a3
cmp qword [rdi + 0x20], r14
jne 0x14005e9a3
cmp byte [rsi + 0x7a], r9b
jne 0x14005e9a3
test edx, edx
je 0x14005e9a0
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r9b
jne 0x14005e9a3
mov r9b, 1
cmp dword [rdi + 0xa8], r14d
je 0x14005e9b5
test r9b, r9b
je 0x14005eafb
cmp edx, 1
jne 0x14005ea56
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 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 0x14005ea17
cmp qword [rsi + 0x4240], rax
jne 0x14005ea17
mov rcx, rbx
call fcn.1400513a0
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14005ea56
mov rdx, qword [rax + 0x30]
mov qword [rbx + 0x30], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xca], r14b
je 0x14005ea56
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xca], 1
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14005ea79
cmp qword [rax + 0x428], rdi
jne 0x14005ea72
mov qword [rax + 0x428], r14
mov qword [rdi + 0x88], r14
cmp dword [rdi + 0x30], 1
jne 0x14005ea97
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], r14
je 0x14005eaa5
mov rcx, rdi
call fcn.140060660
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 [rsi + 0x3f48]
mov dword [rdi + 0xb0], eax
je 0x14005f485
cmp dword [rdi + 0x30], 1
jne 0x14005f485
mov rdx, qword [rdi + 0x38]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.14005e700
jmp 0x14005f485
test byte [rdi + 0xc8], 1
je 0x14005eb8c
cmp qword [rdi + 0x88], r14
jne 0x14005eb8c
test r10, r10
jne 0x14005eb8c
test dword [rdi + 0x10], 0x400
jne 0x14005eb8c
cmp qword [rdi + 0x20], r14
jne 0x14005eb8c
mov r10d, dword [rdi + 0xbc]
test r10d, r10d
je 0x14005eb67
mov r9d, dword [rdi + 0x30]
mov ecx, r14d
test r9d, r9d
jle 0x14005eb67
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 8], r10d
je 0x14005eb57
inc ecx
add rdx, 8
cmp ecx, r9d
jl 0x14005eb41
jmp 0x14005eb67
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x14005eb6e
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0xe8], r14b
jg 0x14005eb80
cmp byte [rdx + 0xe9], r14b
jle 0x14005eb8c
mov dword [rdi + 0x14], 2
jmp 0x14005f485
mov r9d, dword [rdi + 0x30]
mov qword [rsp + 0x118], r13
mov r13d, dword [rdi + 0x10]
movaps xmmword [rsp + 0xa0], xmm9
test r9d, r9d
jle 0x14005ebc9
bt r13d, 0xe
jb 0x14005ebc9
movzx eax, byte [rdi + 0xc8]
mov r10d, r14d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xc8], al
jmp 0x14005ebe5
movzx eax, byte [rdi + 0xc8]
mov r10d, r14d
and al, 0xef
mov ecx, r13d
and al, 0xf7
mov byte [rdi + 0xc8], al
test r9d, r9d
jle 0x14005ec44
mov r11, r14
nop dword [rax + rax]
mov rax, qword [rdi + 0x38]
lea r11, [r11 + 8]
mov rdx, qword [r11 + rax - 8]
movzx eax, byte [rdi + 0xc8]
movzx ecx, byte [rdx + 0xd5]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rdi + 0xc8], cl
cmp r9d, 1
movzx eax, byte [rdx + 0x401]
setg cl
and al, 0xfe
or cl, al
inc r10d
mov byte [rdx + 0x401], cl
mov r9d, dword [rdi + 0x30]
cmp r10d, r9d
jl 0x14005ebf0
mov ecx, dword [rdi + 0x10]
bt r13d, 0xf
jae 0x14005ec52
and byte [rdi + 0xc8], 0xf7
shr ecx, 0xa
mov rbx, r14
mov byte [rbp - 0x69], bl
test cl, 1
je 0x14005ec6c
mov rbx, qword [rdi + 0x88]
jmp 0x14005ef10
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14005eed4
test byte [rdi + 0xc8], 1
je 0x14005eeec
test r9d, r9d
jle 0x14005ec94
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x14005ec97
mov rcx, r14
mov eax, dword [rdi + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14005ecbc
test rcx, rcx
je 0x14005ecf0
or dword [r8 + 0x40c8], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x14005eccd
cmp eax, 1
jne 0x14005ecf0
or dword [r8 + 0x40c8], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [r8 + 0x4104], 1
mov dword [r8 + 0x40cc], 1
mov qword [r8 + 0x40e4], r14
movsd qword [r8 + 0x40dc], xmm0
mov eax, dword [rdi + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14005ed14
test rcx, rcx
je 0x14005ed3a
or dword [r8 + 0x40c8], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x14005ed26
cmp eax, 1
jne 0x14005ed3a
or dword [r8 + 0x40c8], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [r8 + 0x40d0], 1
movsd qword [r8 + 0x40ec], xmm0
mov eax, dword [rdi + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x14005ed6c
test rcx, rcx
je 0x14005ed6c
movzx eax, byte [rcx + 0xce]
or dword [r8 + 0x40c8], 8
mov byte [r8 + 0x4105], al
mov dword [r8 + 0x40d4], 1
mov eax, dword [rdi + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x14005ed98
test rcx, rcx
je 0x14005ed98
mov eax, dword [rcx + 0x38]
or dword [r8 + 0x40c8], 0x100
mov dword [r8 + 0x412c], eax
or dword [r8 + 0x40c8], 0x400
lea rcx, [rbp - 0x21]
movups xmm0, xmmword [rdi + 0x64]
mov edx, reloc.WS2_32.dll_sendto
movups xmmword [r8 + 0x4134], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [r8 + 0x4144], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [r8 + 0x414c], eax
lea r8, str.DockNode__02X
mov r9d, dword [rdi]
call fcn.140040e20
mov rbx, qword [0x14015f738]
lea rdx, [rbp - 0x65]
mov dword [rbp - 0x65], 2
or dword [rbx + 0x40c8], 0x40
lea rcx, [rbx + 0x4168]
mov dword [rbx + 0x4128], r14d
movss xmm1, dword [rbx + 0x38f8]
movss xmm0, dword [rbx + 0x38fc]
movss dword [rbp - 0x61], xmm1
movss dword [rbp - 0x5d], xmm0
call fcn.140065990
lea r9, [0x140103a58]
mov qword [rbx + 0x38f8], r14
xor edx, edx
lea rcx, [rbp - 0x21]
mov r8d, 0x20081139
call fcn.14004e060
mov ecx, 1
call fcn.140041fb0
mov rax, qword [rdi + 0x88]
mov rbx, qword [rsi + 0x3fc8]
mov byte [rbp - 0x69], 1
test rax, rax
je 0x14005ee7a
cmp rax, rbx
je 0x14005ee7a
cmp qword [rax + 0x428], rdi
jne 0x14005ee7a
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 0x14005eecb
call fcn.1400512f0
mov r8, qword [0x14015f738]
jmp 0x14005eee2
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc4], 0xfffffe00
test byte [rdi + 0xc9], 1
je 0x14005ef10
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x14005ef10
mov rcx, rdi
call fcn.14005e700
mov r8, qword [0x14015f738]
mov rcx, qword [rdi + 0x18]
xorps xmm9, xmm9
mov qword [rsp + 0x110], r12
mov qword [rsp + 0xd0], r15
test rcx, rcx
jne 0x14005ef66
mov rax, qword [rsi + 0x4240]
test rax, rax
je 0x14005ef66
mov rdx, qword [rax + 0x3a0]
mov rax, qword [rdx + 0x420]
test rax, rax
je 0x14005ef66
cmp qword [rdx + 0x390], rbx
jne 0x14005ef66
mov eax, dword [rax]
mov rsi, qword [rdi + 0x98]
mov dword [rdi + 0xb8], eax
jmp 0x14005ef76
mov rsi, qword [rdi + 0x98]
test rcx, rcx
jne 0x14005f13f
test rbx, rbx
je 0x14005f13f
test r13b, 8
je 0x14005f13f
test rsi, rsi
je 0x14005f13f
cmp qword [rsi + 0x20], r14
jne 0x14005f13f
cmp dword [rsi + 0x30], r14d
jne 0x14005f13f
cmp byte [r8 + 0x43e4], 0
lea r14, [r8 + 0x43f8]
mov eax, 0
mov r12b, 1
cmove r14, rax
test r14, r14
je 0x14005effc
cmp dword [r14 + 0x14], 0xffffffff
je 0x14005effc
lea rdx, [r14 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14005effc
mov rdx, qword [r14]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400607c0
test al, al
je 0x14005effc
mov rax, qword [rdi + 0x18]
jmp 0x14005f14f
mov rax, qword [rsi + 0x18]
mov rcx, rsi
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
test rax, rax
je 0x14005f02c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14005f020
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [rsi + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm2, dword [rsi + 0x4c]
movaps xmm3, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm2
addss xmm6, dword [rcx + 0x50]
addss xmm3, dword [rsi + 0x50]
addss xmm1, dword [rsi + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x140149508]
jbe 0x14005f06e
addss xmm4, xmm5
comiss xmm6, xmm3
movaps xmm6, xmmword [rsp + 0xc0]
jbe 0x14005f07f
subss xmm3, xmm5
comiss xmm2, dword [rcx + 0x4c]
jbe 0x14005f089
addss xmm2, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xb0]
jbe 0x14005f09a
subss xmm1, xmm5
comiss xmm4, xmm3
ja 0x14005eff3
comiss xmm2, xmm1
ja 0x14005eff3
mov rcx, qword [rbx + 0x390]
subss xmm1, xmm2
subss xmm3, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm2
mov word [rbp - 0x63], r8w
cvttss2si edx, xmm3
mov word [rbp - 0x65], dx
mov eax, dword [rbp - 0x65]
mov dword [rbx + 0x278], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x65], ax
cvttss2si eax, xmm1
mov word [rbp - 0x63], ax
mov eax, dword [rbp - 0x65]
mov dword [rbx + 0x27c], eax
test rcx, rcx
je 0x14005f142
mov word [rbp - 0x65], dx
mov word [rbp - 0x63], r8w
mov eax, dword [rbp - 0x65]
mov dword [rcx + 0x278], eax
subss xmm4, dword [rcx + 0x48]
subss xmm2, dword [rcx + 0x4c]
cvttss2si eax, xmm4
mov word [rbp - 0x65], ax
cvttss2si eax, xmm2
mov word [rbp - 0x63], ax
mov eax, dword [rbp - 0x65]
mov dword [rcx + 0x27c], eax
mov rax, qword [rdi + 0x18]
jmp 0x14005f14f
xor r12b, r12b
mov rax, qword [rdi + 0x18]
test rbx, rbx
je 0x14005f238
test rax, rax
jne 0x14005f16f
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.1400625b0
mov rcx, rdi
call fcn.1400629d0
cmp qword [rdi + 0x20], 0
jne 0x14005f238
cmp dword [rdi + 0x30], 0
jne 0x14005f238
test byte [rdi + 0xc8], 1
je 0x14005f238
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140072190
test r13b, 8
je 0x14005f1b7
xor eax, eax
mov dword [rdi + 0x80], eax
jmp 0x14005f231
mov rax, qword [0x14015f738]
lea rcx, [rbp - 0x49]
movups xmm0, xmmword [rax + 0x3c28]
movups xmmword [rbp - 0x49], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x3d], xmm0
call fcn.1400414f0
mov dword [rdi + 0x80], eax
test eax, eax
je 0x14005f231
movss xmm0, dword [rdi + 0x48]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
lea r8, [rbp - 0x65]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rbx + 0x2c0]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x65], xmm0
movss dword [rbp - 0x61], xmm1
call fcn.140071490
or byte [rdi + 0xc8], 4
mov r15, qword [rsp + 0xd0]
test rbx, rbx
je 0x14005f395
cmp qword [rdi + 0x18], 0
jne 0x14005f369
test r13b, 8
je 0x14005f369
test byte [rdi + 0xc8], 1
je 0x14005f369
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140072190
mov rax, qword [0x14015f738]
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rax + 0x39d8]
movups xmmword [rbp - 0x39], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x2d], xmm0
test r12b, r12b
je 0x14005f322
movss xmm0, dword [rsi + 0x48]
movss xmm1, dword [rsi + 0x4c]
movss dword [rbp - 0x65], xmm0
addss xmm0, dword [rsi + 0x50]
movss dword [rbp - 0x61], xmm1
addss xmm1, dword [rsi + 0x54]
movss dword [rbp - 0x5d], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x59], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x49], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x45], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm1
call fcn.1400414f0
mov rcx, qword [rbx + 0x2c0]
lea rdx, [rbp - 0x49]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x65]
call fcn.1400768a0
jmp 0x14005f369
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x65], xmm0
movss dword [rbp - 0x61], xmm1
call fcn.1400414f0
mov rcx, qword [rbx + 0x2c0]
lea r8, [rbp - 0x65]
mov r9d, eax
lea rdx, [rdi + 0x48]
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm9
call fcn.140071490
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140072190
cmp dword [rdi + 0x30], 0
jle 0x14005f395
mov rdx, rbx
mov rcx, rdi
call fcn.14005f6d0
jmp 0x14005f3b0
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 + 0xa0]
mov r13, qword [rsp + 0x118]
mov r12, qword [rsp + 0x110]
test rax, rax
je 0x14005f3e1
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x14005f3e1
mov dword [rdi + 0xbc], ecx
jmp 0x14005f3fa
cmp dword [rdi + 0x30], 0
jle 0x14005f3fa
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x90]
mov dword [rdi + 0xbc], eax
mov rsi, qword [rbp - 0x51]
test rbx, rbx
je 0x14005f43e
test byte [rdi + 0xc8], 1
je 0x14005f43e
cmp qword [rdi + 0x18], 0
jne 0x14005f43e
mov rax, qword [rsi + 0x3fe0]
test rax, rax
je 0x14005f428
cmp qword [rax + 0x3b0], rbx
je 0x14005f43e
mov rcx, rbx
call fcn.140063b10
mov eax, dword [rsi + 0x3f48]
mov dword [rdi + 0xb0], eax
jmp 0x14005f44f
mov eax, dword [rsi + 0x3f48]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x14005f47a
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14005f45d
call fcn.14005e770
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14005f46b
call fcn.14005e770
cmp qword [rdi + 0x18], 0
jne 0x14005f47a
mov rcx, rbx
call fcn.14004cbc0
cmp byte [rbp - 0x69], 0
je 0x14005f485
call fcn.140050f60
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400effa0
add rsp, 0xd8
pop r14
pop rdi
pop rsi
pop rbp
ret