Function at 0x140027e70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, qword [0x1400b8e80]
or r12d, 0xffffffff
movaps xmmword [rax - 0x38], xmm6
xor ebx, ebx
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov esi, dword [rdi + 0x5a70]
lea r15d, [r12 + 2]
sub esi, r15d
js 0x140027f17
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
mov rax, qword [rdi + 0x5a78]
cmp dword [rax + rbp + 4], 7
jne 0x140027f0a
movsxd r8, dword [rdi + 0x5a70]
mov rcx, rax
mov rdx, r14
sub rdx, rax
add rdx, rax
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call fcn.140098410
add dword [rdi + 0x5a70], r12d
sub r14, 0x20
sub rbp, 0x20
sub esi, r15d
jns 0x140027ec0
xor edx, edx
mov rcx, rdi
call fcn.140026bd8
mov rax, qword [0x1400b8e80]
cmp byte [rax + 0x65], bl
je 0x140027f36
test byte [rax + 0xc], 2
jne 0x140027f36
mov byte [rax + 0x65], bl
cmp byte [rax + 0x5a69], bl
jne 0x140027f45
mov byte [rax + 0x5a69], r15b
add dword [rdi + 0x38b8], r15d
lea rsi, [rdi + 0x5a38]
mov byte [rdi + 0x38c4], r15b
mov word [rdi + 0x5a32], bx
mov dword [rdi + 0x3918], ebx
cmp dword [rsi + 4], ebx
jge 0x140027f86
mov eax, dword [rsi + 4]
mov rcx, rsi
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
add eax, dword [rsi + 4]
test eax, eax
cmovg edx, eax
call fcn.140012aec
movss xmm6, dword [0x1400a9f8c]
xorps xmm7, xmm7
movss xmm8, dword [0x1400a9ecc]
mov dword [rsi], ebx
movsxd rax, dword [rdi + 0x5bb0]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5ac0]
addss xmm0, dword [rdi + 0x5bb8]
movss dword [rdi + 0x5bb8], xmm0
movss dword [rdi + rax*4 + 0x5ac0], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5bb0]
movss xmm2, dword [rdi + 0x5bb8]
add ecx, r15d
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub ecx, eax
mov eax, dword [rdi + 0x5bb4]
add eax, r15d
mov dword [rdi + 0x5bb0], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm7
mov dword [rdi + 0x5bb4], ecx
jbe 0x14002802f
movd xmm0, ecx
movaps xmm1, xmm8
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140028032
movaps xmm1, xmm6
lea rsi, [rdi + 0x3258]
movss dword [rdi + 0xb0], xmm1
cmp dword [rsi + 4], ebx
jge 0x140028060
mov eax, dword [rsi + 4]
mov rcx, rsi
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
add eax, dword [rsi + 4]
test eax, eax
cmovg edx, eax
call fcn.140034c48
mov dword [rsi], ebx
mov cl, byte [rdi + 0x61]
call fcn.14002fa4c
mov rsi, qword [0x1400b8e80]
mov r8d, ebx
mov rax, qword [rsi + 0x3f70]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], ebx
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rsi + 0x3f68], ebx
jle 0x140028141
mov rdx, rbx
mov rax, qword [rsi + 0x3f70]
add r8d, r15d
mov rcx, qword [rdx + rax]
add rdx, 8
movups xmm0, xmmword [rcx + 0xa8]
mov qword [rcx + 0xb0], rbx
mov qword [rcx + 0xa8], rbx
movups xmmword [rcx + 0x98], xmm0
movss xmm2, dword [rcx + 0x98]
movss xmm0, dword [rcx + 0x9c]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 4]
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
subss xmm1, xmm2
movss dword [rcx + 0x18], xmm0
movss xmm0, dword [rcx + 0x10]
movaps xmm2, xmm7
subss xmm0, dword [rcx + 0x9c]
addss xmm1, dword [rcx + 0xa0]
addss xmm0, dword [rcx + 0xa4]
maxss xmm2, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm0
movss dword [rcx + 0x1c], xmm2
movss dword [rcx + 0x20], xmm1
cmp r8d, dword [rsi + 0x3f68]
jl 0x1400280a1
mov rax, qword [rdi + 0x40]
mov byte [rax + 0x18], r15b
mov rcx, qword [rsi + 0x50]
test rcx, rcx
jne 0x14002815d
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.14002e6d8
mov eax, dword [rdi + 0x3f68]
movaps xmm4, xmm6
movss xmm2, dword [0x1400a9fac]
movaps xmm3, xmm2
test eax, eax
jle 0x1400281c9
mov rcx, qword [rdi + 0x3f70]
mov edx, eax
mov rax, qword [rcx]
comiss xmm6, dword [rax + 4]
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax + 8]
addss xmm0, dword [rax + 0xc]
addss xmm1, dword [rax + 0x10]
jbe 0x1400281a5
movss xmm6, dword [rax + 4]
comiss xmm4, dword [rax + 8]
jbe 0x1400281b0
movss xmm4, dword [rax + 8]
comiss xmm0, xmm2
jbe 0x1400281b8
movaps xmm2, xmm0
comiss xmm1, xmm3
jbe 0x1400281c0
movaps xmm3, xmm1
add rcx, 8
sub rdx, r15
jne 0x140028183
mov eax, dword [rdi + 0x333c]
mov r13d, 4
movss xmm1, dword [rdi + 0x3340]
movss dword [rsp + 0x20], xmm6
movss dword [rsp + 0x24], xmm4
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm3
movups xmm0, xmmword [rsp + 0x20]
mov dword [rdi + 0x36bc], eax
movdqu xmmword [rdi + 0x36c4], xmm0
movss xmm0, dword [rdi + 0x36c0]
ucomiss xmm0, xmm1
jp 0x14002821b
je 0x14002830f
movss dword [rdi + 0x36c0], xmm1
lea r8, [rdi + 0x386c]
mov ecx, ebx
mov r9d, 0x200
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
test ecx, ecx
je 0x1400282cf
movss xmm0, dword [rdi + 0x36c0]
movaps xmm2, xmm8
minss xmm0, xmm1
divss xmm0, xmm1
movss xmm1, dword [0x1400a9e6c]
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1400a9e60]
subss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm2
subss xmm1, dword [0x1400a9e78]
mulss xmm1, xmm2
movss xmm2, dword [0x1400a9f10]
addss xmm1, dword [0x1400a9ee0]
divss xmm2, xmm1
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
ucomiss xmm2, xmm0
jp 0x1400282a6
je 0x1400282af
inc eax
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm2
add eax, r15d
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, r9d
mov edx, eax
cmovg edx, r9d
cmp eax, r13d
cmovl edx, r13d
jmp 0x1400282d4
mov edx, 0x30
mov byte [r8], dl
add ecx, r15d
add r8, r15
cmp ecx, 0x40
jl 0x140028232
movss xmm0, dword [0x1400a9ee4]
call fcn.140035694
movss xmm1, dword [rdi + 0x36c0]
movaps xmm2, xmm8
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3868], xmm1
mov r8d, ebx
mov dword [rdi + 0x36d4], ebx
cmp byte [rdi + 0x3338], bl
je 0x14002832a
mov dword [rdi + 0x36d4], r15d
mov r8d, r15d
mov edx, r8d
cmp byte [rdi + 0x3339], bl
je 0x14002834e
mov rax, qword [rdi + 0x3698]
mov rcx, qword [rax + 0x40]
test byte [rcx], r13b
jne 0x14002834e
or edx, 2
mov dword [rdi + 0x36d4], edx
cmp byte [rdi + 0x333a], bl
je 0x14002835f
or edx, r13d
mov dword [rdi + 0x36d4], edx
test byte [rdi + 0xc], 8
je 0x14002836e
or edx, 8
mov dword [rdi + 0x36d4], edx
mov r8d, ebx
cmp dword [rdi + 0x3f68], ebx
jle 0x1400283a6
mov rdx, rbx
mov rax, qword [rdi + 0x3f70]
xorps xmm0, xmm0
add r8d, r15d
mov rcx, qword [rdx + rax]
lea rdx, [rdx + 8]
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
cmp r8d, dword [rdi + 0x3f68]
jl 0x14002837c
cmp byte [rdi + 0x411c], bl
je 0x1400283d9
mov eax, dword [rdi + 0x413c]
cmp eax, dword [rdi + 0x3984]
jne 0x1400283d9
cmp dword [rsi + 0x3984], eax
jne 0x1400283ca
mov dword [rsi + 0x3988], eax
cmp dword [rsi + 0x39b0], eax
jne 0x1400283d9
mov byte [rsi + 0x39b4], r15b
lea rax, [rdi + 0x3970]
cmp dword [rdi + 0x3974], ebx
jne 0x1400283f0
mov dword [rdi + 0x397c], ebx
jmp 0x140028401
mov edx, dword [rax]
mov rcx, rax
test edx, edx
je 0x14002840a
cmp dword [rdi + 0x3984], edx
jne 0x14002840a
mov dword [rdi + 0x3980], ebx
mov rcx, rax
mov eax, dword [rcx]
test eax, eax
je 0x140028440
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x397c]
movss dword [rdi + 0x397c], xmm0
cmp dword [rdi + 0x3984], eax
je 0x140028440
addss xmm1, dword [rdi + 0x3980]
movss dword [rdi + 0x3980], xmm1
mov dword [rdi + 0x3974], eax
mov eax, dword [rdi + 0x3984]
mov dword [rcx], ebx
mov word [rdi + 0x3978], bx
test eax, eax
je 0x140028479
cmp dword [rdi + 0x3988], eax
je 0x140028479
cmp dword [rdi + 0x39b0], eax
jne 0x140028479
xor edx, edx
xor ecx, ecx
call fcn.140027394
mov rsi, qword [0x1400b8e80]
mov ecx, dword [rdi + 0x3984]
test ecx, ecx
je 0x140028498
movss xmm0, dword [rdi + 0x398c]
addss xmm0, dword [rdi + 0x18]
movss dword [rdi + 0x398c], xmm0
mov rax, qword [rdi + 0x39a0]
movss xmm0, dword [rdi + 0x39c4]
addss xmm0, dword [rdi + 0x18]
mov qword [rdi + 0x39b8], rax
mov al, byte [rdi + 0x3994]
mov byte [rdi + 0x39b5], al
mov eax, dword [rdi + 0x59b8]
movss dword [rdi + 0x39c4], xmm0
mov dword [rdi + 0x39b0], ecx
mov dword [rdi + 0x3988], ebx
mov byte [rdi + 0x3995], bl
mov byte [rdi + 0x39b4], bl
mov byte [rdi + 0x3990], bl
test eax, eax
je 0x1400284f9
cmp ecx, eax
je 0x1400284f9
mov dword [rdi + 0x59b8], ebx
test ecx, ecx
jne 0x140028511
mov dword [rdi + 0x3e08], ebx
mov byte [rdi + 0x3e0c], bl
mov dword [rdi + 0x3e10], ebx
jmp 0x14002852f
mov eax, dword [rdi + 0x3e10]
test eax, eax
je 0x14002852f
test al, 2
je 0x14002852f
mov edx, dword [rdi + 0x3984]
mov ecx, 0x20c
call fcn.140030008
mov eax, dword [rdi + 0x4290]
movss xmm0, dword [rdi + 0x4298]
mov dword [rdi + 0x4294], eax
test eax, eax
je 0x140028562
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x429c], ebx
mov dword [rdi + 0x4290], ebx
movss dword [rdi + 0x4298], xmm0
jmp 0x14002859b
comiss xmm0, xmm7
jbe 0x14002859b
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1400a9e74]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x429c]
addss xmm2, xmm2
movss dword [rdi + 0x429c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x14002859b
mov qword [rdi + 0x4298], rbx
mov eax, dword [rdi + 0x418c]
mov r9, rbx
mov dword [rdi + 0x4190], eax
mov r10d, 0x240
mov qword [rdi + 0x4188], 0x7f7fffff
mov word [rdi + 0x411d], bx
mov dword [rdi + 0x4198], ebx
mov r11b, byte [r9 + rsi + 0xc98]
test r11b, r11b
je 0x1400285db
movaps xmm0, xmm8
jmp 0x1400285de
movaps xmm0, xmm7
mov edx, r10d
mov rcx, rsi
call fcn.14002ea24
add r10d, r15d
add r9, r15
movss dword [rax + 0xc], xmm0
mov byte [rax], r11b
cmp r9, 5
jl 0x1400285c8
movss xmm0, dword [rsi + 0xca4]
ucomiss xmm0, xmm7
jp 0x14002860e
mov al, bl
je 0x140028611
mov al, r15b
movss dword [rsi + 0x310c], xmm0
mov byte [rsi + 0x3100], al
movss xmm1, dword [rsi + 0xca0]
ucomiss xmm1, xmm7
jp 0x140028630
mov al, bl
je 0x140028633
mov al, r15b
movss dword [rsi + 0x311c], xmm1
mov byte [rsi + 0x3110], al
call fcn.14002f1e8
mov ecx, eax
mov dword [rsi + 0xcac], eax
shr ecx, 0xc
and cl, r15b
mov byte [rsi + 0xca8], cl
mov ecx, eax
shr ecx, 0xd
and cl, r15b
mov byte [rsi + 0xca9], cl
mov ecx, eax
shr ecx, 0xe
and cl, r15b
shr eax, 0xf
and al, r15b
mov byte [rsi + 0xcaa], cl
mov byte [rsi + 0xcab], al
mov ecx, 0x24b
lea rax, [rsi + 0xcb4]
movss xmm0, dword [rax]
movss dword [rax + 4], xmm0
cmp byte [rax - 4], bl
je 0x1400286ad
comiss xmm7, xmm0
jbe 0x1400286a6
movaps xmm0, xmm7
jmp 0x1400286b5
addss xmm0, dword [rsi + 0x18]
jmp 0x1400286b5
movss xmm0, dword [0x1400a9fa4]
movss dword [rax], xmm0
add rax, 0x10
sub rcx, r15
jne 0x14002868e
lea rdx, [rsi + 0x2cb0]
mov r8d, 0x4b
lea rcx, [rsi + 0x39d1]
mov eax, dword [rcx - 5]
mov dword [rcx - 9], eax
mov al, byte [rdx]
test al, al
jne 0x1400286e8
or dword [rcx - 5], 0xffffffff
mov al, byte [rdx]
cmp byte [rcx], bl
je 0x1400286f3
test al, al
mov al, r15b
jne 0x1400286f5
mov al, bl
mov byte [rcx], al
add rdx, 0x10
mov byte [rcx - 1], al
add rcx, 0xc
sub r8, r15
jne 0x1400286d6
lea rcx, [rsi + 0x3d50]
call fcn.14002eb94
call fcn.1400326ac
call fcn.14002f250
call fcn.140027bf8
mov r11, qword [0x1400b8e80]
mov r9, qword [r11 + 0x3940]
test r9, r9
je 0x1400287cb
mov eax, dword [r11 + 0x3984]
mov dword [r11 + 0x3988], eax
cmp dword [r11 + 0x39b0], eax
jne 0x140028757
mov byte [r11 + 0x39b4], r15b
cmp byte [r11 + 0xc98], bl
je 0x1400287c2
lea rcx, [r11 + 0xc90]
call fcn.14002f1b0
test al, al
je 0x1400287c2
movss xmm0, dword [rcx]
lea rdx, [rsp + 0x90]
movss xmm1, dword [rcx + 4]
mov r8d, r15d
subss xmm0, dword [r11 + 0x3998]
subss xmm1, dword [r11 + 0x399c]
mov rcx, qword [r9 + 0x378]
movss dword [rsp + 0x90], xmm0
movss dword [rsp + 0x94], xmm1
call fcn.14002e778
mov rcx, qword [r11 + 0x3940]
call fcn.14002e434
jmp 0x14002880c
mov qword [r11 + 0x3940], rbx
jmp 0x140028803
mov rcx, qword [r11 + 0x39a0]
test rcx, rcx
je 0x14002880c
mov eax, dword [r11 + 0x3984]
cmp dword [rcx + 0x7c], eax
jne 0x14002880c
mov dword [r11 + 0x3988], eax
cmp dword [r11 + 0x39b0], eax
jne 0x1400287fa
mov byte [r11 + 0x39b4], r15b
cmp byte [r11 + 0xc98], bl
jne 0x14002880c
xor edx, edx
xor ecx, ecx
call fcn.140027394
call fcn.140030e6c
test rax, rax
jne 0x14002884b
cmp qword [rdi + 0x40e0], rbx
je 0x14002882c
movss xmm0, dword [rdi + 0x40fc]
comiss xmm0, xmm7
ja 0x14002884b
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1400a9f38]
movss xmm1, dword [rdi + 0x4114]
subss xmm1, xmm0
maxss xmm1, xmm7
jmp 0x140028865
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1400a9f2c]
addss xmm1, dword [rdi + 0x4114]
minss xmm1, xmm8
movss dword [rdi + 0x4114], xmm1
movups xmm0, xmmword [rdi + 0x5a48]
mov dword [rdi + 0x4118], ebx
mov dword [rdi + 0x5bc4], r12d
movdqu xmmword [rdi + 0x5a58], xmm0
mov dword [rdi + 0x5bc0], r12d
mov dword [rdi + 0x5bbc], r12d
mov byte [rdi + 0x5a48], bl
call fcn.14002f6a8
mov ebp, ebx
cmp dword [rdi + 0x38c8], ebx
je 0x140028a13
mov r14, rbx
mov rax, qword [rdi + 0x38d0]
mov rsi, qword [r14 + rax]
mov cl, byte [rsi + 0xb6]
movzx eax, word [rsi + 0xc2]
mov byte [rsi + 0xb7], cl
mov byte [rsi + 0xb6], bl
mov byte [rsi + 0xb8], bl
mov word [rsi + 0xc4], ax
mov word [rsi + 0xc2], bx
test cl, cl
jne 0x140028a00
cmp byte [rsi + 0x3d4], bl
jne 0x140028a00
comiss xmm7, dword [rsi + 0x264]
jbe 0x140028a00
mov rcx, qword [rsi + 0x298]
mov byte [rsi + 0x3d4], r15b
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3cc], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3d0], eax
mov rcx, qword [rsi + 0xf8]
test rcx, rcx
je 0x14002895e
mov rax, qword [0x1400b8e80]
mov qword [rsi + 0xf0], rbx
test rax, rax
je 0x140028952
add dword [rax + 0xc4], r12d
call fcn.14007a790
mov qword [rsi + 0xf8], rbx
mov rcx, qword [rsi + 0x298]
call fcn.140040f4c
mov rcx, qword [rsi + 0x198]
test rcx, rcx
je 0x14002899c
mov rax, qword [0x1400b8e80]
mov qword [rsi + 0x190], rbx
test rax, rax
je 0x140028990
add dword [rax + 0xc4], r12d
call fcn.14007a790
mov qword [rsi + 0x198], rbx
mov rcx, qword [rsi + 0x1d0]
test rcx, rcx
je 0x1400289ce
mov rax, qword [0x1400b8e80]
mov qword [rsi + 0x1c8], rbx
test rax, rax
je 0x1400289c2
add dword [rax + 0xc4], r12d
call fcn.14007a790
mov qword [rsi + 0x1d0], rbx
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x140028a00
mov rax, qword [0x1400b8e80]
mov qword [rsi + 0x1d8], rbx
test rax, rax
je 0x1400289f4
add dword [rax + 0xc4], r12d
call fcn.14007a790
mov qword [rsi + 0x1e0], rbx
add ebp, r15d
add r14, 8
cmp ebp, dword [rdi + 0x38c8]
jne 0x1400288b3
mov ebp, ebx
cmp dword [rdi + 0x41e8], ebx
jle 0x140028a5c
mov rsi, rbx
mov r14, qword [rdi + 0x41f0]
movss xmm0, dword [r14 + rsi + 4]
comiss xmm0, xmm7
jb 0x140028a4d
comiss xmm7, xmm0
jbe 0x140028a4d
lea rcx, [r14 + 0x10]
add rcx, rsi
call fcn.140043e08
mov dword [r14 + rsi + 4], 0xbf800000
add ebp, r15d
add rsi, 0x70
cmp ebp, dword [rdi + 0x41e8]
jl 0x140028a20
cmp byte [rdi + 0x38c7], bl
je 0x140028ac8
mov rsi, qword [0x1400b8e80]
mov rcx, qword [rsi + 0x3f28]
test rcx, rcx
je 0x140028a96
mov qword [rsi + 0x3f20], rbx
test rsi, rsi
je 0x140028a8a
add dword [rsi + 0xc4], r12d
call fcn.14007a790
mov qword [rsi + 0x3f28], rbx
mov rcx, qword [rsi + 0x3f38]
test rcx, rcx
je 0x140028ac8
mov rax, qword [0x1400b8e80]
mov qword [rsi + 0x3f30], rbx
test rax, rax
je 0x140028abc
add dword [rax + 0xc4], r12d
call fcn.14007a790
mov qword [rsi + 0x3f38], rbx
mov rax, qword [rdi + 0x3f78]
mov byte [rdi + 0x38c7], bl
test rax, rax
je 0x140028ae9
cmp byte [rax + 0xb7], bl
jne 0x140028ae9
xor ecx, ecx
call fcn.14002e640
mov ecx, dword [rdi + 0x38fc]
test ecx, ecx
jns 0x140028b7d
mov eax, ecx
mov esi, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x140028b7d
mov rax, qword [0x1400b8e80]
test rax, rax
je 0x140028b1e
add dword [rax + 0xc4], r15d
movsxd rax, esi
imul rcx, rax, 0x58
call fcn.14007b2e4
mov rdx, qword [rdi + 0x3900]
mov rbp, rax
test rdx, rdx
je 0x140028b70
movsxd rcx, dword [rdi + 0x38f8]
imul r8, rcx, 0x58
mov rcx, rax
call fcn.140098410
mov rcx, qword [rdi + 0x3900]
test rcx, rcx
je 0x140028b6b
mov rax, qword [0x1400b8e80]
test rax, rax
je 0x140028b6b
add dword [rax + 0xc4], r12d
call fcn.14007a790
mov qword [rdi + 0x3900], rbp
mov dword [rdi + 0x38fc], esi
lea rcx, [rdi + 0x3f50]
mov dword [rdi + 0x38f8], ebx
xor edx, edx
call fcn.14003470c
lea rsi, [rdi + 0x3f20]
cmp dword [rsi + 4], ebx
jge 0x140028bb7
mov eax, dword [rsi + 4]
mov rcx, rsi
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
add eax, dword [rsi + 4]
test eax, eax
cmovg edx, eax
call fcn.140012aec
mov dword [rsi], ebx
cmp dword [rsi + 4], ebx
jne 0x140028bcb
mov edx, 8
mov rcx, rsi
call fcn.140012aec
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], ebx
lea rcx, [rdi + 0x3f30]
add dword [rsi], r15d
call fcn.1400347c4
mov rax, qword [0x1400b8e80]
mov ecx, 0x43c80000
movsd xmm0, qword [str.Gags_Nnjlcd]
mov r8d, reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x38c5], r15b
movsd qword [rsp + 0x20], xmm0
or dword [rax + 0x3e70], 2
mov dword [rax + 0x3e90], ecx
mov dword [rax + 0x3e94], ecx
lea rcx, [rsp + 0x20]
mov dword [rax + 0x3e78], r13d
mov eax, dword [0x1400a9c48]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1400a9c4c]
mov word [rsp + 0x2c], ax
mov al, byte [0x1400a9c4e]
mov byte [rsp + 0x2e], al
mov rax, rbx
movabs r9, 0x50850631d17d
cqo
add rbx, r15
idiv r9
add dl, 3
xor byte [rcx], dl
add rcx, r15
sub r8, r15
jne 0x140028c4c
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14002c274
mov edx, r15d
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0x50]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm7, xmmword [rsp + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.140026bd8