Function at 0x140028034
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 [0x1400b8de0]
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 0x1400280db
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
mov rax, qword [rdi + 0x5a78]
cmp dword [rax + rbp + 4], 7
jne 0x1400280ce
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.140098530
add dword [rdi + 0x5a70], r12d
sub r14, 0x20
sub rbp, 0x20
sub esi, r15d
jns 0x140028084
xor edx, edx
mov rcx, rdi
call fcn.140026d9c
mov rax, qword [0x1400b8de0]
cmp byte [rax + 0x65], bl
je 0x1400280fa
test byte [rax + 0xc], 2
jne 0x1400280fa
mov byte [rax + 0x65], bl
cmp byte [rax + 0x5a69], bl
jne 0x140028109
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 0x14002814a
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.140012b90
movss xmm6, dword [0x1400a9fec]
xorps xmm7, xmm7
movss xmm8, dword [0x1400a9f2c]
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 0x1400281f3
movd xmm0, ecx
movaps xmm1, xmm8
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x1400281f6
movaps xmm1, xmm6
lea rsi, [rdi + 0x3258]
movss dword [rdi + 0xb0], xmm1
cmp dword [rsi + 4], ebx
jge 0x140028224
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.140034e0c
mov dword [rsi], ebx
mov cl, byte [rdi + 0x61]
call fcn.14002fc10
mov rsi, qword [0x1400b8de0]
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 0x140028305
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 0x140028265
mov rax, qword [rdi + 0x40]
mov byte [rax + 0x18], r15b
mov rcx, qword [rsi + 0x50]
test rcx, rcx
jne 0x140028321
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.14002e89c
mov eax, dword [rdi + 0x3f68]
movaps xmm4, xmm6
movss xmm2, dword [0x1400aa00c]
movaps xmm3, xmm2
test eax, eax
jle 0x14002838d
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 0x140028369
movss xmm6, dword [rax + 4]
comiss xmm4, dword [rax + 8]
jbe 0x140028374
movss xmm4, dword [rax + 8]
comiss xmm0, xmm2
jbe 0x14002837c
movaps xmm2, xmm0
comiss xmm1, xmm3
jbe 0x140028384
movaps xmm3, xmm1
add rcx, 8
sub rdx, r15
jne 0x140028347
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 0x1400283df
je 0x1400284d3
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 0x140028493
movss xmm0, dword [rdi + 0x36c0]
movaps xmm2, xmm8
minss xmm0, xmm1
divss xmm0, xmm1
movss xmm1, dword [0x1400a9ecc]
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1400a9ec0]
subss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm2
subss xmm1, dword [0x1400a9ed8]
mulss xmm1, xmm2
movss xmm2, dword [0x1400a9f70]
addss xmm1, dword [0x1400a9f40]
divss xmm2, xmm1
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
ucomiss xmm2, xmm0
jp 0x14002846a
je 0x140028473
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 0x140028498
mov edx, 0x30
mov byte [r8], dl
add ecx, r15d
add r8, r15
cmp ecx, 0x40
jl 0x1400283f6
movss xmm0, dword [0x1400a9f44]
call fcn.140035858
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 0x1400284ee
mov dword [rdi + 0x36d4], r15d
mov r8d, r15d
mov edx, r8d
cmp byte [rdi + 0x3339], bl
je 0x140028512
mov rax, qword [rdi + 0x3698]
mov rcx, qword [rax + 0x40]
test byte [rcx], r13b
jne 0x140028512
or edx, 2
mov dword [rdi + 0x36d4], edx
cmp byte [rdi + 0x333a], bl
je 0x140028523
or edx, r13d
mov dword [rdi + 0x36d4], edx
test byte [rdi + 0xc], 8
je 0x140028532
or edx, 8
mov dword [rdi + 0x36d4], edx
mov r8d, ebx
cmp dword [rdi + 0x3f68], ebx
jle 0x14002856a
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 0x140028540
cmp byte [rdi + 0x411c], bl
je 0x14002859d
mov eax, dword [rdi + 0x413c]
cmp eax, dword [rdi + 0x3984]
jne 0x14002859d
cmp dword [rsi + 0x3984], eax
jne 0x14002858e
mov dword [rsi + 0x3988], eax
cmp dword [rsi + 0x39b0], eax
jne 0x14002859d
mov byte [rsi + 0x39b4], r15b
lea rax, [rdi + 0x3970]
cmp dword [rdi + 0x3974], ebx
jne 0x1400285b4
mov dword [rdi + 0x397c], ebx
jmp 0x1400285c5
mov edx, dword [rax]
mov rcx, rax
test edx, edx
je 0x1400285ce
cmp dword [rdi + 0x3984], edx
jne 0x1400285ce
mov dword [rdi + 0x3980], ebx
mov rcx, rax
mov eax, dword [rcx]
test eax, eax
je 0x140028604
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x397c]
movss dword [rdi + 0x397c], xmm0
cmp dword [rdi + 0x3984], eax
je 0x140028604
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 0x14002863d
cmp dword [rdi + 0x3988], eax
je 0x14002863d
cmp dword [rdi + 0x39b0], eax
jne 0x14002863d
xor edx, edx
xor ecx, ecx
call fcn.140027558
mov rsi, qword [0x1400b8de0]
mov ecx, dword [rdi + 0x3984]
test ecx, ecx
je 0x14002865c
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 0x1400286bd
cmp ecx, eax
je 0x1400286bd
mov dword [rdi + 0x59b8], ebx
test ecx, ecx
jne 0x1400286d5
mov dword [rdi + 0x3e08], ebx
mov byte [rdi + 0x3e0c], bl
mov dword [rdi + 0x3e10], ebx
jmp 0x1400286f3
mov eax, dword [rdi + 0x3e10]
test eax, eax
je 0x1400286f3
test al, 2
je 0x1400286f3
mov edx, dword [rdi + 0x3984]
mov ecx, 0x20c
call fcn.1400301cc
mov eax, dword [rdi + 0x4290]
movss xmm0, dword [rdi + 0x4298]
mov dword [rdi + 0x4294], eax
test eax, eax
je 0x140028726
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x429c], ebx
mov dword [rdi + 0x4290], ebx
movss dword [rdi + 0x4298], xmm0
jmp 0x14002875f
comiss xmm0, xmm7
jbe 0x14002875f
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1400a9ed4]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x429c]
addss xmm2, xmm2
movss dword [rdi + 0x429c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x14002875f
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 0x14002879f
movaps xmm0, xmm8
jmp 0x1400287a2
movaps xmm0, xmm7
mov edx, r10d
mov rcx, rsi
call fcn.14002ebe8
add r10d, r15d
add r9, r15
movss dword [rax + 0xc], xmm0
mov byte [rax], r11b
cmp r9, 5
jl 0x14002878c
movss xmm0, dword [rsi + 0xca4]
ucomiss xmm0, xmm7
jp 0x1400287d2
mov al, bl
je 0x1400287d5
mov al, r15b
movss dword [rsi + 0x310c], xmm0
mov byte [rsi + 0x3100], al
movss xmm1, dword [rsi + 0xca0]
ucomiss xmm1, xmm7
jp 0x1400287f4
mov al, bl
je 0x1400287f7
mov al, r15b
movss dword [rsi + 0x311c], xmm1
mov byte [rsi + 0x3110], al
call fcn.14002f3ac
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 0x140028871
comiss xmm7, xmm0
jbe 0x14002886a
movaps xmm0, xmm7
jmp 0x140028879
addss xmm0, dword [rsi + 0x18]
jmp 0x140028879
movss xmm0, dword [0x1400aa004]
movss dword [rax], xmm0
add rax, 0x10
sub rcx, r15
jne 0x140028852
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 0x1400288ac
or dword [rcx - 5], 0xffffffff
mov al, byte [rdx]
cmp byte [rcx], bl
je 0x1400288b7
test al, al
mov al, r15b
jne 0x1400288b9
mov al, bl
mov byte [rcx], al
add rdx, 0x10
mov byte [rcx - 1], al
add rcx, 0xc
sub r8, r15
jne 0x14002889a
lea rcx, [rsi + 0x3d50]
call fcn.14002ed58
call fcn.140032870
call fcn.14002f414
call fcn.140027dbc
mov r11, qword [0x1400b8de0]
mov r9, qword [r11 + 0x3940]
test r9, r9
je 0x14002898f
mov eax, dword [r11 + 0x3984]
mov dword [r11 + 0x3988], eax
cmp dword [r11 + 0x39b0], eax
jne 0x14002891b
mov byte [r11 + 0x39b4], r15b
cmp byte [r11 + 0xc98], bl
je 0x140028986
lea rcx, [r11 + 0xc90]
call fcn.14002f374
test al, al
je 0x140028986
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.14002e93c
mov rcx, qword [r11 + 0x3940]
call fcn.14002e5f8
jmp 0x1400289d0
mov qword [r11 + 0x3940], rbx
jmp 0x1400289c7
mov rcx, qword [r11 + 0x39a0]
test rcx, rcx
je 0x1400289d0
mov eax, dword [r11 + 0x3984]
cmp dword [rcx + 0x7c], eax
jne 0x1400289d0
mov dword [r11 + 0x3988], eax
cmp dword [r11 + 0x39b0], eax
jne 0x1400289be
mov byte [r11 + 0x39b4], r15b
cmp byte [r11 + 0xc98], bl
jne 0x1400289d0
xor edx, edx
xor ecx, ecx
call fcn.140027558
call fcn.140031030
test rax, rax
jne 0x140028a0f
cmp qword [rdi + 0x40e0], rbx
je 0x1400289f0
movss xmm0, dword [rdi + 0x40fc]
comiss xmm0, xmm7
ja 0x140028a0f
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1400a9f98]
movss xmm1, dword [rdi + 0x4114]
subss xmm1, xmm0
maxss xmm1, xmm7
jmp 0x140028a29
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1400a9f8c]
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.14002f86c
mov ebp, ebx
cmp dword [rdi + 0x38c8], ebx
je 0x140028bd7
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 0x140028bc4
cmp byte [rsi + 0x3d4], bl
jne 0x140028bc4
comiss xmm7, dword [rsi + 0x264]
jbe 0x140028bc4
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 0x140028b22
mov rax, qword [0x1400b8de0]
mov qword [rsi + 0xf0], rbx
test rax, rax
je 0x140028b16
add dword [rax + 0xc4], r12d
call fcn.14007a8b0
mov qword [rsi + 0xf8], rbx
mov rcx, qword [rsi + 0x298]
call fcn.140041110
mov rcx, qword [rsi + 0x198]
test rcx, rcx
je 0x140028b60
mov rax, qword [0x1400b8de0]
mov qword [rsi + 0x190], rbx
test rax, rax
je 0x140028b54
add dword [rax + 0xc4], r12d
call fcn.14007a8b0
mov qword [rsi + 0x198], rbx
mov rcx, qword [rsi + 0x1d0]
test rcx, rcx
je 0x140028b92
mov rax, qword [0x1400b8de0]
mov qword [rsi + 0x1c8], rbx
test rax, rax
je 0x140028b86
add dword [rax + 0xc4], r12d
call fcn.14007a8b0
mov qword [rsi + 0x1d0], rbx
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x140028bc4
mov rax, qword [0x1400b8de0]
mov qword [rsi + 0x1d8], rbx
test rax, rax
je 0x140028bb8
add dword [rax + 0xc4], r12d
call fcn.14007a8b0
mov qword [rsi + 0x1e0], rbx
add ebp, r15d
add r14, 8
cmp ebp, dword [rdi + 0x38c8]
jne 0x140028a77
mov ebp, ebx
cmp dword [rdi + 0x41e8], ebx
jle 0x140028c20
mov rsi, rbx
mov r14, qword [rdi + 0x41f0]
movss xmm0, dword [r14 + rsi + 4]
comiss xmm0, xmm7
jb 0x140028c11
comiss xmm7, xmm0
jbe 0x140028c11
lea rcx, [r14 + 0x10]
add rcx, rsi
call fcn.140043fcc
mov dword [r14 + rsi + 4], 0xbf800000
add ebp, r15d
add rsi, 0x70
cmp ebp, dword [rdi + 0x41e8]
jl 0x140028be4
cmp byte [rdi + 0x38c7], bl
je 0x140028c8c
mov rsi, qword [0x1400b8de0]
mov rcx, qword [rsi + 0x3f28]
test rcx, rcx
je 0x140028c5a
mov qword [rsi + 0x3f20], rbx
test rsi, rsi
je 0x140028c4e
add dword [rsi + 0xc4], r12d
call fcn.14007a8b0
mov qword [rsi + 0x3f28], rbx
mov rcx, qword [rsi + 0x3f38]
test rcx, rcx
je 0x140028c8c
mov rax, qword [0x1400b8de0]
mov qword [rsi + 0x3f30], rbx
test rax, rax
je 0x140028c80
add dword [rax + 0xc4], r12d
call fcn.14007a8b0
mov qword [rsi + 0x3f38], rbx
mov rax, qword [rdi + 0x3f78]
mov byte [rdi + 0x38c7], bl
test rax, rax
je 0x140028cad
cmp byte [rax + 0xb7], bl
jne 0x140028cad
xor ecx, ecx
call fcn.14002e804
mov ecx, dword [rdi + 0x38fc]
test ecx, ecx
jns 0x140028d41
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 0x140028d41
mov rax, qword [0x1400b8de0]
test rax, rax
je 0x140028ce2
add dword [rax + 0xc4], r15d
movsxd rax, esi
imul rcx, rax, 0x58
call fcn.14007b404
mov rdx, qword [rdi + 0x3900]
mov rbp, rax
test rdx, rdx
je 0x140028d34
movsxd rcx, dword [rdi + 0x38f8]
imul r8, rcx, 0x58
mov rcx, rax
call fcn.140098530
mov rcx, qword [rdi + 0x3900]
test rcx, rcx
je 0x140028d2f
mov rax, qword [0x1400b8de0]
test rax, rax
je 0x140028d2f
add dword [rax + 0xc4], r12d
call fcn.14007a8b0
mov qword [rdi + 0x3900], rbp
mov dword [rdi + 0x38fc], esi
lea rcx, [rdi + 0x3f50]
mov dword [rdi + 0x38f8], ebx
xor edx, edx
call fcn.1400348d0
lea rsi, [rdi + 0x3f20]
cmp dword [rsi + 4], ebx
jge 0x140028d7b
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.140012b90
mov dword [rsi], ebx
cmp dword [rsi + 4], ebx
jne 0x140028d8f
mov edx, 8
mov rcx, rsi
call fcn.140012b90
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.140034988
mov rax, qword [0x1400b8de0]
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 [0x1400a9ca8]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1400a9cac]
mov word [rsp + 0x2c], ax
mov al, byte [0x1400a9cae]
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 0x140028e10
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14002c438
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.140026d9c