Function at 0x140035970
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140154060]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, qword [0x140157888]
xor r12d, r12d
mov rdi, rcx
mov qword [rbp - 0x59], rsi
mov r14, rsi
mov eax, dword [rsi + 0x1c90]
and byte [rcx + 0xbd], 0xfd
mov dword [rcx + 0xa0], eax
mov qword [rcx + 0x98], r12
mov qword [rcx + 0x90], r12
cmp qword [rcx + 0x10], r12
jne 0x140035af8
call fcn.140035730
mov edx, r12d
mov ecx, r12d
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], ecx
cmp dword [rdi + 0x28], r12d
jle 0x1400359f8
mov rdx, rdi
mov ecx, 1
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], ecx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r12
cmovne rax, rdi
mov qword [rbp - 0x39], rax
cmp ecx, 1
jle 0x140035a15
test rax, rax
jne 0x140035a55
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140035a35
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.1400356c0
mov ecx, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x140035a55
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.1400356c0
mov ecx, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov qword [rdi + 0x90], rax
cmp ecx, 1
mov rax, r12
cmove rax, rdx
mov qword [rdi + 0x98], rax
cmp dword [rdi + 0xac], r12d
jne 0x140035a83
test rdx, rdx
je 0x140035af1
mov eax, dword [rdx]
mov dword [rdi + 0xac], eax
test rdx, rdx
je 0x140035af1
mov rax, qword [rdx + 0x30]
mov r8d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movups xmm1, xmmword [rcx + 0x24]
movups xmmword [rdi + 0x6c], xmm1
movsxd rax, dword [rdx + 0x28]
cmp eax, r8d
jle 0x140035af1
mov r10, qword [rdx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
nop dword [rax]
mov rax, qword [rcx]
cmp byte [rax + 0x31], r12b
je 0x140035ada
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140035ac0
jmp 0x140035af1
movsxd rax, r8d
mov rcx, qword [r10 + rax*8]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movups xmm1, xmmword [rcx + 0x24]
movups xmmword [rdi + 0x6c], xmm1
mov rsi, qword [0x140157888]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140035b1b
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x140035b1b
call fcn.14003cc40
mov rsi, qword [0x140157888]
mov qword [rdi + 0x38], r12
mov r9d, dword [rdi + 0x28]
mov qword [rsp + 0x118], rbx
cmp r9d, 1
jg 0x140035d08
cmp qword [rdi + 0x10], r12
jne 0x140035d08
test dword [rdi + 8], 0x400
jne 0x140035d08
cmp qword [rdi + 0x18], r12
jne 0x140035d08
cmp byte [r14 + 0xc9], r12b
jne 0x140035d08
test r9d, r9d
je 0x140035c21
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x30], r12b
jne 0x140035d08
cmp r9d, 1
jne 0x140035c21
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb8]
mov rcx, qword [rdi + 0x80]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x48], xmm1
mov dword [rdi + 0xb8], eax
mov rax, rcx
test rcx, rcx
je 0x140035be9
cmp qword [r14 + 0x1f50], rcx
jne 0x140035bee
mov rcx, rbx
call fcn.14002a5d0
mov rax, qword [rdi + 0x80]
mov rsi, qword [0x140157888]
test rax, rax
je 0x140035c21
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x80]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x80]
cmp byte [rax + 0xce], r12b
je 0x140035c21
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xce], 1
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x140035c44
cmp qword [rax + 0x450], rdi
jne 0x140035c3d
mov qword [rax + 0x450], r12
mov qword [rdi + 0x80], r12
cmp dword [rdi + 0x28], 1
jne 0x140035c62
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x88], rax
mov rax, qword [rcx]
and byte [rax + 0x429], 0xfe
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140035c7b
call fcn.14003cc40
mov rsi, qword [0x140157888]
mov qword [rdi + 0x38], r12
movzx ecx, byte [rdi + 0xbc]
and cl, 0xef
mov dword [rdi + 0xc], 1
and cl, 0xf3
mov dword [rdi + 0xb4], r12d
mov byte [rdi + 0xbc], cl
mov eax, dword [r14 + 0x1c90]
mov dword [rdi + 0xa4], eax
test cl, 0x40
je 0x14003668e
cmp dword [rdi + 0x28], 1
jne 0x14003668e
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14001f490
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1d38], rbx
movss dword [rsi + 0x1d90], xmm1
movss dword [rsi + 0x1d94], xmm0
and byte [rdi + 0xbc], 0xbf
jmp 0x14003668e
movzx r8d, byte [rdi + 0xbc]
test r8b, 1
je 0x140035d9a
cmp qword [rdi + 0x80], r12
jne 0x140035d9a
cmp qword [rdi + 0x10], r12
jne 0x140035d9a
test dword [rdi + 8], 0x400
jne 0x140035d9a
cmp qword [rdi + 0x18], r12
jne 0x140035d9a
mov r10d, dword [rdi + 0xb0]
test r10d, r10d
je 0x140035d75
mov ecx, r12d
test r9d, r9d
jle 0x140035d75
mov r11, qword [rdi + 0x30]
mov rdx, r11
mov rax, qword [rdx]
cmp dword [rax + 8], r10d
je 0x140035d69
inc ecx
add rdx, 8
cmp ecx, r9d
jl 0x140035d53
jmp 0x140035d75
movsxd rax, ecx
mov rcx, qword [r11 + rax*8]
test rcx, rcx
jne 0x140035d7c
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xe8], r12b
jg 0x140035d8e
cmp byte [rcx + 0xe9], r12b
jle 0x140035d9a
mov dword [rdi + 0xc], 2
jmp 0x14003668e
mov eax, dword [rdi + 8]
mov qword [rsp + 0x128], r15
mov r15d, eax
or r15d, dword [rdi + 4]
movaps xmmword [rsp + 0xb0], xmm9
test r9d, r9d
jle 0x140035dd2
bt r15d, 0xe
jb 0x140035dd2
and r8b, 0xfb
or r8b, 8
mov byte [rdi + 0xbc], r8b
jmp 0x140035de2
and r8b, 0xf3
mov byte [rdi + 0xbc], r8b
test r9d, r9d
jle 0x140035e41
mov r8, r12
mov r9d, r12d
nop dword [rax + rax]
mov rax, qword [rdi + 0x30]
lea r8, [r8 + 8]
mov rdx, qword [r8 + rax - 8]
movzx eax, byte [rdi + 0xbc]
movzx ecx, byte [rdx + 0xd8]
shl cl, 2
or cl, al
xor cl, al
and cl, 4
xor cl, al
cmp dword [rdi + 0x28], 1
mov byte [rdi + 0xbc], cl
movzx eax, byte [rdx + 0x429]
setg cl
and al, 0xfe
inc r9d
or cl, al
mov byte [rdx + 0x429], cl
cmp r9d, dword [rdi + 0x28]
jl 0x140035df0
mov eax, dword [rdi + 8]
bt r15d, 0xf
jae 0x140035e4f
and byte [rdi + 0xbc], 0xfb
shr eax, 0xa
mov rbx, r12
mov byte [rbp - 0x78], bl
test al, 1
je 0x140035e68
mov rbx, qword [rdi + 0x80]
jmp 0x140036146
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1400360ce
test byte [rdi + 0xbc], 1
je 0x1400360e6
cmp dword [rdi + 0x28], ebx
jle 0x140035e90
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x140035e93
mov rcx, r12
mov eax, dword [rdi + 0xb8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140035eb7
test rcx, rcx
je 0x140035ee7
or dword [rsi + 0x1dc0], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x140035ec7
cmp eax, 1
jne 0x140035ee7
or dword [rsi + 0x1dc0], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1dfc], 1
mov dword [rsi + 0x1dc4], 1
mov qword [rsi + 0x1ddc], r12
movsd qword [rsi + 0x1dd4], xmm0
mov eax, dword [rdi + 0xb8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140035f0a
test rcx, rcx
je 0x140035f2d
or dword [rsi + 0x1dc0], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x140035f1b
cmp eax, 1
jne 0x140035f2d
or dword [rsi + 0x1dc0], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rsi + 0x1dc8], 1
movsd qword [rsi + 0x1de4], xmm0
mov edx, dword [rdi + 0xb8]
mov eax, edx
and al, 0x38
cmp al, 0x10
jne 0x140035f64
test rcx, rcx
je 0x140035f64
movzx eax, byte [rcx + 0xd2]
or dword [rsi + 0x1dc0], 8
mov byte [rsi + 0x1dfd], al
mov dword [rsi + 0x1dcc], 1
mov edx, dword [rdi + 0xb8]
and edx, 0x1c0
cmp edx, 0x80
jne 0x140035f8a
test rcx, rcx
je 0x140035f8a
mov eax, dword [rcx + 0x40]
or dword [rsi + 0x1dc0], 0x100
mov dword [rsi + 0x1e24], eax
or dword [rsi + 0x1dc0], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x5c]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp - 0x21]
movups xmmword [rsi + 0x1e2c], xmm0
movups xmm1, xmmword [rdi + 0x6c]
movups xmmword [rsi + 0x1e3c], xmm1
mov r9d, dword [rdi]
call fcn.14001c9f0
mov rbx, qword [0x140157888]
lea rdx, [rbp - 0x69]
mov dword [rbp - 0x69], 1
movss xmm1, dword [rbx + 0x163c]
lea rcx, [rbx + 0x1e80]
movss xmm0, dword [rbx + 0x1640]
movss dword [rbp - 0x65], xmm1
movss dword [rbp - 0x61], xmm0
call fcn.14003c300
xor edx, edx
mov qword [rbx + 0x163c], r12
mov r8d, 0x20081139
lea rcx, [rbp - 0x21]
call fcn.140027530
mov rsi, qword [0x140157888]
movsxd rax, dword [rsi + 0x1e80]
mov rdx, qword [rsi + 0x1e88]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r9, [rax + rax*2]
lea rax, [0x1400dce90]
cmp dword [rax + r9*4], 8
mov r8d, dword [rax + r9*4 + 8]
jne 0x14003607c
mov eax, dword [rax + r9*4 + 4]
cmp eax, 1
jne 0x14003605f
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1638], eax
jmp 0x14003607c
cmp eax, 2
jne 0x14003607c
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1638], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rsi + 0x163c], eax
dec dword [rsi + 0x1e80]
mov rbx, qword [r14 + 0x1d18]
mov qword [rdi + 0x80], rbx
mov byte [rbp - 0x78], 1
movsd xmm0, qword [rbx + 0x50]
movsd qword [rbx + 0x118], xmm0
mov qword [rbx + 0x450], rdi
mov rcx, qword [rdi + 0x80]
movsd qword [rdi + 0x40], xmm0
movsd xmm0, qword [rbx + 0x58]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xd5], r12b
je 0x1400360dc
call fcn.14002a520
jmp 0x1400360dc
mov rbx, qword [rax + 0x80]
mov qword [rdi + 0x80], rbx
and dword [rdi + 0xb8], 0xfffffe00
test byte [rdi + 0xbc], 0x40
je 0x140036146
mov r14, qword [rdi + 0x80]
test r14, r14
je 0x140036142
mov rcx, r14
call fcn.14001f490
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1d38], r14
movss dword [rsi + 0x1d90], xmm1
movss dword [rsi + 0x1d94], xmm0
and byte [rdi + 0xbc], 0xbf
mov rsi, qword [0x140157888]
mov r14, qword [rbp - 0x59]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x1400361ca
mov rax, qword [r14 + 0x1f50]
test rax, rax
je 0x14003617f
mov rdx, qword [rax + 0x3d0]
mov rax, qword [rdx + 0x448]
test rax, rax
je 0x14003617f
cmp qword [rdx + 0x3c8], rbx
jne 0x14003617f
mov eax, dword [rax]
mov dword [rdi + 0xac], eax
test rbx, rbx
je 0x1400361ca
mov r12d, r15d
and r12d, 8
je 0x1400361ca
mov rcx, qword [rbx + 0x2f8]
add rcx, 0xa8
mov byte [rbp - 0x79], 1
call fcn.140047b50
mov rdx, qword [rbx + 0x2f8]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140048010
mov rcx, qword [rdi + 0x10]
mov rsi, qword [0x140157888]
jmp 0x1400361d5
mov r12d, r15d
mov byte [rbp - 0x79], 0
and r12d, 8
mov r14, qword [rdi + 0x90]
xorps xmm9, xmm9
mov qword [rsp + 0x120], r13
test rcx, rcx
jne 0x1400363ae
test rbx, rbx
je 0x1400363ae
test r12d, r12d
je 0x1400363ae
test r14, r14
je 0x1400363ae
cmp qword [r14 + 0x18], rcx
jne 0x1400363ae
cmp dword [r14 + 0x28], ecx
jne 0x1400363ae
cmp byte [rsi + 0x20d4], cl
lea r15, [rsi + 0x20e8]
mov r13b, 1
mov rax, rcx
cmove r15, rcx
test r15, r15
je 0x14003626d
cmp dword [r15 + 0x14], 0xffffffff
je 0x14003626d
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14003626d
mov rdx, qword [r15]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140037910
test al, al
jne 0x1400363b1
mov rax, qword [r14 + 0x10]
mov rcx, r14
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
test rax, rax
je 0x14003629c
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140036290
movss xmm0, dword [rcx + 0x40]
movss xmm4, dword [r14 + 0x40]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x44]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x44]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x48]
addss xmm2, dword [r14 + 0x48]
addss xmm1, dword [r14 + 0x4c]
addss xmm7, dword [rcx + 0x4c]
movss xmm5, dword [0x14013f5cc]
jbe 0x1400362e2
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xd0]
jbe 0x1400362f3
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x44]
jbe 0x1400362fd
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xc0]
jbe 0x14003630e
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x1400363a8
comiss xmm3, xmm1
ja 0x1400363a8
mov rcx, qword [rbx + 0x3c8]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si edx, xmm1
cvttss2si r8d, xmm2
mov word [rbp - 0x67], dx
movaps xmm1, xmm3
mov word [rbp - 0x69], r8w
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x2b0], eax
subss xmm0, dword [rbx + 0x50]
subss xmm1, dword [rbx + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x69], ax
cvttss2si eax, xmm1
mov word [rbp - 0x67], ax
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x2b4], eax
mov word [rbp - 0x69], r8w
mov word [rbp - 0x67], dx
mov eax, dword [rbp - 0x69]
mov dword [rcx + 0x2b0], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x69], ax
cvttss2si eax, xmm3
mov word [rbp - 0x67], ax
mov eax, dword [rbp - 0x69]
mov dword [rcx + 0x2b4], eax
mov rax, qword [rdi + 0x10]
jmp 0x1400363be
xor r13b, r13b
mov rax, qword [rdi + 0x10]
test rbx, rbx
je 0x140036469
test rax, rax
jne 0x1400363e5
mov r8, qword [rbx + 0x58]
xor r9d, r9d
mov rdx, qword [rbx + 0x50]
mov rcx, rdi
call fcn.140039290
mov rcx, rdi
call fcn.140039650
mov rsi, qword [0x140157888]
cmp qword [rdi + 0x18], 0
jne 0x140036469
cmp dword [rdi + 0x28], 0
jne 0x140036469
test byte [rdi + 0xbc], 1
je 0x140036469
test r12d, r12d
jne 0x140036469
movups xmm0, xmmword [rsi + 0x196c]
lea rcx, [rbp - 0x49]
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
movups xmmword [rbp - 0x49], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1638]
movss dword [rbp - 0x65], xmm1
movss dword [rbp - 0x3d], xmm0
movss xmm0, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x69], xmm0
call fcn.14001d0b0
mov rcx, qword [rbx + 0x2f8]
lea r8, [rbp - 0x69]
xor esi, esi
lea rdx, [rdi + 0x40]
mov dword [rsp + 0x28], esi
mov r9d, eax
movss dword [rsp + 0x20], xmm9
call fcn.140047560
jmp 0x14003646b
xor esi, esi
cmp byte [rbp - 0x79], 0
mov r15, qword [rsp + 0x128]
je 0x14003659d
test byte [rdi + 0xbc], 1
je 0x14003659d
mov rdx, qword [rbx + 0x2f8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140048010
mov rax, qword [0x140157888]
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 0x39], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x2d], xmm0
test r13b, r13b
je 0x140036545
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm0, dword [rdi + 0x40]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x69], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x65], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x49], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x45], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x61], xmm1
movss dword [rbp - 0x5d], xmm2
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm3
call fcn.14001d0b0
mov rcx, qword [rbx + 0x2f8]
lea rdx, [rbp - 0x49]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x69]
call fcn.14004c250
jmp 0x14003658a
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x40]
addss xmm1, dword [rdi + 0x44]
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
call fcn.14001d0b0
mov rcx, qword [rbx + 0x2f8]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], esi
lea r8, [rbp - 0x69]
movss dword [rsp + 0x20], xmm9
call fcn.140047560
mov rdx, qword [rbx + 0x2f8]
lea rcx, [rdx + 0xa8]
call fcn.140047c60
movaps xmm9, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x120]
test rbx, rbx
je 0x1400365c6
cmp dword [rdi + 0x28], 0
jle 0x1400365c6
mov rdx, rbx
mov rcx, rdi
call fcn.1400368e0
jmp 0x1400365dd
movzx eax, byte [rdi + 0xbc]
and al, 0xef
mov dword [rdi + 0xb4], esi
and al, 0xfd
mov byte [rdi + 0xbc], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x1400365ed
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x1400365fd
cmp dword [rdi + 0x28], 0
jle 0x140036603
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xb0], eax
mov rsi, qword [rbp - 0x59]
test rbx, rbx
je 0x140036647
test byte [rdi + 0xbc], 1
je 0x140036647
cmp qword [rdi + 0x10], 0
jne 0x140036647
mov rax, qword [rsi + 0x1d38]
test rax, rax
je 0x140036631
cmp qword [rax + 0x3d8], rbx
je 0x140036647
mov rcx, rbx
call fcn.14003a710
mov eax, dword [rsi + 0x1c90]
mov dword [rdi + 0xa4], eax
jmp 0x140036658
mov eax, dword [rsi + 0x1c90]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x140036683
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140036666
call fcn.140035970
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140036674
call fcn.140035970
cmp qword [rdi + 0x10], 0
jne 0x140036683
mov rcx, rbx
call fcn.1400260c0
cmp byte [rbp - 0x78], 0
je 0x14003668e
call fcn.14002a3b0
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400c4450
add rsp, 0xe0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret