Function at 0x140178d40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x368]
sub rsp, 0x430
mov qword [rbp + 0x150], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r12d, r9d
mov dword [rsp + 0x7c], r9d
mov eax, r8d
mov dword [rbp + 0x90], eax
mov r15, rdx
mov qword [rbp + 0xf0], rdx
mov r13, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp + 0x160], rdx
xor ecx, ecx
mov dword [rbp + 0xd0], ecx
cmp qword [r13 + 0x30], rcx
je 0x14017b742
test eax, eax
je 0x14017b742
movzx r14d, byte [r13 + 0x74]
mov esi, dword [r13 + 0x70]
mov edi, dword [r13 + 0x6c]
mov ebx, dword [r13 + 0x68]
lea rdx, [r13 + 0x48]
lea rcx, [rbp + 0x280]
call fcn.14000b200
mov dword [rbp + 0x2a0], ebx
mov dword [rbp + 0x2a4], edi
mov dword [rbp + 0x2a8], esi
mov dword [rbp + 0x2ac], r12d
mov eax, dword [rbp + 0x390]
mov dword [rbp + 0x2b0], eax
mov eax, dword [rbp + 0x398]
mov dword [rbp + 0x2b4], eax
mov dword [rbp + 0x2b8], r14d
mov edi, dword [rbp + 0x90]
mov dword [rbp + 0x2bc], edi
lea rdx, [rbp + 0x280]
call fcn.140007f20
mov rcx, rax
shl rcx, 0x15
not rax
add rcx, rax
mov rax, rcx
shr rax, 0x18
xor rax, rcx
imul rcx, rax, 0x109
mov rax, rcx
shr rax, 0xe
xor rax, rcx
imul rcx, rax, 0x15
mov rdx, rcx
shr rdx, 0x1c
xor rdx, rcx
mov eax, 0x80000001
imul rdx, rax
lea r8, [rbp + 0x280]
call fcn.14000ded0
mov rbx, rax
lea rcx, [rbp + 0x280]
call fcn.14000b5d0
test rbx, rbx
je 0x140178ec2
lea rdx, [rbx + 0x50]
mov rcx, r15
call fcn.14017b7c0
jmp 0x14017b772
xor r12d, r12d
mov qword [rbp + 0x20], r12
mov dword [rbp - 0x58], r12d
mov dword [rbp - 0x68], r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x5c], r12d
mov dword [rbp + 0x70], r12d
mov dword [rbp - 0x7c], r12d
mov dword [rbp + 0x38], r12d
mov rcx, qword [r13 + 0x30]
mov rax, qword [rcx]
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x7c]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x5c]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x20]
mov edx, edi
call qword [rax + 0x20]
test al, al
je 0x140178f6d
lea rax, vtable.artemis::CFontRenderer::CCharSurface.0
mov qword [r15], rax
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
mov dword [r15 + 0x20], r12d
lea rax, vtable.artemis::TRect_float_.0
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x30], r12
mov qword [r15 + 0x38], r12
mov qword [r15 + 0x40], r12
jmp 0x14017b772
movzx r13d, byte [r13 + 0x74]
lea r9, vtable.artemis::CFontRenderer::CCharSurface.0
lea r10, vtable.artemis::TRect_float_.0
xorps xmm8, xmm8
cmp qword [rbp + 0x20], r12
je 0x140178fb2
mov r8d, dword [rsp + 0x60]
test r8d, r8d
jle 0x140178fb2
mov edx, dword [rsp + 0x5c]
test edx, edx
jle 0x140178fb2
movzx r14d, r13b
and r14b, 8
mov byte [rsp + 0x55], r14b
mov rsi, qword [rbp - 0x70]
jmp 0x1401790bf
mov qword [rbp + 0x100], r9
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x118], r12
mov dword [rbp + 0x120], r12d
mov qword [rbp + 0x128], r10
xorps xmm0, xmm0
movaps xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], r12
mov ecx, dword [rbp + 0x38]
test ecx, ecx
jg 0x140179028
mov qword [r15], r9
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
mov dword [r15 + 0x20], r12d
mov qword [r15 + 0x28], r10
mov qword [r15 + 0x30], r12
mov qword [r15 + 0x38], r12
mov qword [r15 + 0x40], r12
lea rcx, [rbp + 0x100]
call fcn.140007eb0
jmp 0x14017b772
mov rsi, qword [rbp - 0x70]
mov eax, dword [rsi + 0x70]
lea eax, [rcx + rax*2]
add eax, dword [rsi + 0x6c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss dword [rbp + 0x120], xmm0
movzx r14d, r13b
and r14b, 8
mov byte [rsp + 0x55], r14b
jne 0x140179090
test r13b, 0x10
jne 0x140179090
mov qword [r15], r9
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
movss dword [r15 + 0x20], xmm0
mov qword [r15 + 0x28], r10
mov qword [r15 + 0x30], r12
mov qword [r15 + 0x38], r12
mov qword [r15 + 0x40], r12
lea rcx, [rbp + 0x100]
call fcn.140007eb0
jmp 0x14017b772
mov dword [rbp - 0x58], r12d
mov dword [rbp - 0x68], r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x5c], r12d
mov dword [rbp + 0x70], r12d
mov dword [rbp - 0x7c], r12d
lea rcx, [rbp + 0x100]
call fcn.140007eb0
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x5c]
mov r9d, dword [rsi + 0x70]
mov dword [rbp - 0x78], r9d
mov eax, dword [rsi + 0x6c]
lea ecx, [rax + r9*2]
lea r10d, [rcx + r8]
mov dword [rsp + 0x58], r10d
lea eax, [rcx + rdx]
mov dword [rsp + 0x50], eax
mov ebx, r9d
mov dword [rsp + 0x74], ebx
test r14b, r14b
jne 0x1401790f0
test r13b, 0x10
je 0x140179123
mov ecx, dword [rbp + 0x38]
mov eax, ecx
mov edx, dword [rbp - 0x58]
sub eax, edx
cmp r8d, eax
jge 0x14017910c
sub ecx, r8d
sub ecx, edx
add r10d, ecx
mov dword [rsp + 0x58], r10d
test edx, edx
jle 0x140179123
add r10d, edx
mov dword [rsp + 0x58], r10d
add r9d, edx
mov dword [rbp - 0x78], r9d
mov dword [rbp - 0x58], r12d
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov edi, eax
mov dword [rsp + 0x68], eax
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x40]
mov r12d, eax
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rcx]
call qword [rdx + gethostname]
mov esi, eax
mov dword [rsp + 0x64], eax
mov rcx, qword [rbp - 0x70]
mov rcx, qword [rcx + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x30]
mov r15d, eax
mov dword [rbp - 0x74], eax
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rbp - 0x68]
test r14b, r14b
je 0x1401791b4
mov ecx, r12d
sub ecx, edx
add ecx, edi
cmp r8d, ecx
jge 0x14017918f
mov ecx, r12d
sub ecx, r8d
sub ecx, edx
add ecx, edi
add dword [rsp + 0x50], ecx
sub edi, edx
mov dword [rsp + 0x68], edi
mov ecx, dword [rsp + 0x50]
jns 0x1401791b8
sub ecx, edi
mov dword [rsp + 0x50], ecx
sub ebx, edi
mov dword [rsp + 0x74], ebx
add edx, edi
mov dword [rbp - 0x68], edx
xor edi, edi
mov dword [rsp + 0x68], edi
jmp 0x1401791b8
mov ecx, dword [rsp + 0x50]
and r13b, 0x10
mov byte [rsp + 0x54], r13b
je 0x140179201
sub eax, edx
add eax, esi
cmp r8d, eax
jge 0x1401791dc
mov eax, r15d
sub eax, r8d
sub eax, edx
add eax, esi
add ecx, eax
mov dword [rsp + 0x50], ecx
sub esi, edx
mov dword [rsp + 0x64], esi
jns 0x140179201
sub ecx, esi
mov dword [rsp + 0x50], ecx
sub ebx, esi
mov dword [rsp + 0x74], ebx
add edx, esi
mov dword [rbp - 0x68], edx
sub edi, esi
mov dword [rsp + 0x68], edi
xor esi, esi
mov dword [rsp + 0x64], esi
lea rax, vtable.artemis::CFontRenderer::CCharSurface.0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x20], 0
lea rax, vtable.artemis::TRect_float_.0
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov byte [rsp + 0x70], 1
movss xmm7, dword [0x140410478]
mov eax, dword [0x1404a318c]
test eax, eax
je 0x140179368
sub eax, dword [0x1404a3198]
cmp eax, 0x100000
jge 0x140179368
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
lea rdx, [rbp + 0x170]
call qword [rax + 0x68]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140014fc0
nop
mov rbx, qword [rbp + 0x178]
test rbx, rbx
je 0x1401792d0
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401792d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401792d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov edx, dword [rsp + 0x50]
movd xmm3, edx
cvtdq2ps xmm3, xmm3
mov ecx, dword [rsp + 0x58]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movaps xmm2, xmm1
addss xmm2, xmm8
subss xmm2, xmm7
movaps xmm0, xmm3
addss xmm0, xmm8
subss xmm0, xmm7
mov qword [rbp - 0x10], 0
movss dword [rbp - 8], xmm1
movss dword [rbp - 4], xmm3
movss dword [rbp], xmm2
movss dword [rbp + 4], xmm0
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, edx
mov edx, ecx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x80]
mov byte [rsp + 0x70], 0
xorps xmm6, xmm6
xorps xmm0, xmm0
jmp 0x14017954d
mov rbx, qword [rbp - 0x70]
mov edx, dword [rbx + 0x68]
shr edx, 3
mov dword [rbp + 0xcc], edx
lea r8, [rbp + 0xcc]
call fcn.14017bf70
test rax, rax
jne 0x1401794f4
mov dword [rbp + 0xc8], 0x200
mov dword [rbp + 0xb4], 0x200
lea rdx, [rbx + 0x20]
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0xb4]
lea rcx, [rbp + 0xe0]
call fcn.14017bbd0
nop
mov eax, dword [rbx + 0x68]
shr eax, 3
mov dword [rbp + 0xb0], eax
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x1a0]
call fcn.14017bdd0
mov rcx, qword [rax]
mov r8, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
test rdx, rdx
je 0x1401793ff
mov eax, 1
lock xadd dword [rdx + 8], eax
mov qword [rcx + 0x18], r8
mov rbx, qword [rcx + 0x20]
mov qword [rcx + 0x20], rdx
test rbx, rbx
je 0x140179441
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140179441
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140179441
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x58]
lea rdx, [rbp + 0x1b0]
mov rcx, qword [rbp + 0xe0]
call fcn.14017b9a0
mov rbx, rax
lea rdx, [rax + 8]
lea rcx, [rbp - 0x38]
call fcn.14000aaf0
movss xmm0, dword [rbx + 0x18]
movss dword [rbp - 0x28], xmm0
movss xmm1, dword [rbx + 0x1c]
movss dword [rbp - 0x24], xmm1
movss xmm0, dword [rbx + 0x20]
movss dword [rbp - 0x20], xmm0
movss xmm6, dword [rbx + 0x30]
movss dword [rbp - 0x10], xmm6
movups xmm0, xmmword [rbx + 0x34]
movups xmmword [rbp - 0xc], xmm0
movss xmm0, dword [rbx + 0x44]
movss dword [rbp + 4], xmm0
lea rcx, [rbp + 0x1b0]
call fcn.140007eb0
nop
mov rbx, qword [rbp + 0xe8]
test rbx, rbx
je 0x1401794f2
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401794f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401794f2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140179546
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x58]
lea rdx, [rbp + 0x1f8]
mov rcx, qword [rax + 0x18]
call fcn.14017b9a0
mov rbx, rax
lea rdx, [rax + 8]
lea rcx, [rbp - 0x38]
call fcn.14000aaf0
movss xmm6, dword [rbx + 0x30]
movss dword [rbp - 0x10], xmm6
movups xmm0, xmmword [rbx + 0x34]
movups xmmword [rbp - 0xc], xmm0
movss xmm0, dword [rbx + 0x44]
movss dword [rbp + 4], xmm0
lea rcx, [rbp + 0x1f8]
call fcn.140007eb0
mov rbx, qword [rbp - 0x38]
movaps xmm0, xmm6
movd xmm9, dword [rbp - 0x58]
cvtdq2ps xmm9, xmm9
movss dword [rbp - 0x28], xmm9
movd xmm10, dword [rbp - 0x68]
cvtdq2ps xmm10, xmm10
movss dword [rbp - 0x24], xmm10
mov r8, qword [rbp - 0x70]
mov ecx, dword [r8 + 0x70]
mov eax, dword [rbp + 0x38]
lea eax, [rax + rcx*2]
add eax, dword [r8 + 0x6c]
xorps xmm11, xmm11
cvtsi2ss xmm11, rax
movss dword [rbp - 0x20], xmm11
mov qword [rbp + 0x180], rbx
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0x188], rcx
test rcx, rcx
je 0x1401795da
mov eax, 1
lock xadd dword [rcx + 8], eax
movaps xmm6, xmm0
movss xmm11, dword [rbp - 0x20]
movss xmm10, dword [rbp - 0x24]
movss xmm9, dword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0xd8], rcx
mov rbx, qword [rbp - 0x38]
mulss xmm6, dword [0x140410618]
cvttss2si eax, xmm6
mov dword [rsp + 0x78], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x58]
mov r8, qword [rbp - 0x70]
test byte [r8 + 0x74], 4
jne 0x14017ac90
mov eax, dword [rsp + 0x7c]
shr eax, 8
mov dword [rbp - 0x64], eax
mov eax, dword [rsp + 0x7c]
shr eax, 0x10
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x390]
shr eax, 8
mov dword [rbp - 0x50], eax
mov eax, dword [rbp + 0x390]
shr eax, 0x10
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp + 0x398]
shr eax, 8
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x398]
shr eax, 0x10
mov dword [rbp - 0x74], eax
mov r9d, dword [r8 + 0x6c]
mov dword [rsp + 0x68], r9d
movsxd r8, dword [r8 + 0x70]
mov dword [rbp - 0x54], r8d
test r14b, r14b
lea ecx, [r12 + rdi]
jne 0x140179665
mov ecx, 0xffffffff
test r13b, r13b
lea eax, [r15 + rsi]
jne 0x140179673
mov eax, 0xffffffff
movsxd rdx, dword [rbp - 0x78]
mov qword [rbp + 0x28], rdx
movsxd rdx, dword [rsp + 0x58]
mov qword [rbp + 0x30], rdx
movsxd r14, ecx
mov qword [rbp + 0x58], r14
movsxd r13, eax
mov qword [rbp + 0x98], r13
movsxd rdi, edi
mov qword [rbp + 0x50], rdi
movsxd rsi, esi
mov qword [rbp + 0x68], rsi
movsxd rdx, dword [rsp + 0x74]
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0xa8], r8
movss xmm6, dword [0x1404106b8]
mov ecx, dword [rsp + 0x50]
cmp dword [rbp + 0x70], 1
jne 0x14017a170
test r8d, r8d
jne 0x1401797fb
xor edi, edi
test ecx, ecx
jle 0x140179bd2
movsxd r14, dword [rsp + 0x78]
mov qword [rbp + 0x88], r14
xor ebx, ebx
cvttss2si r15d, dword [rbp - 0xc]
add r15d, edx
mov dword [rbp - 0x80], r15d
mov r12, qword [rbp + 0x58]
nop
mov esi, edi
sub esi, edx
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea edx, [rsi + r15]
call qword [rax + 0x60]
lea rdx, [r14 + rax]
xor r9d, r9d
xor r8d, r8d
mov r11, qword [rbp + 0x30]
test r11, r11
jle 0x1401797e1
mov r15, qword [rbp + 0x28]
movsxd r10, dword [rsp + 0x74]
mov r14, qword [rbp + 0x50]
mov ecx, dword [rbp - 0x64]
nop dword [rax]
test r12, r12
jle 0x140179753
cmp rbx, r14
jl 0x140179753
cmp rbx, r12
jge 0x140179753
mov al, 0xff
jmp 0x1401797ac
test r13, r13
jle 0x140179767
cmp rbx, qword [rbp + 0x68]
jl 0x140179767
cmp rbx, r13
jge 0x140179767
mov al, 0xff
jmp 0x1401797ac
cmp r8, r15
jl 0x1401797a7
mov rax, r10
cmp rbx, r10
jl 0x1401797a7
mov eax, dword [rsp + 0x60]
mov ecx, dword [rbp - 0x78]
add ecx, eax
cmp r9d, ecx
jge 0x1401797a7
mov eax, dword [rsp + 0x5c]
lea ecx, [r10 + rax]
cmp edi, ecx
jge 0x1401797a7
mov eax, esi
imul eax, dword [rbp - 0x7c]
movsxd rcx, eax
sub rcx, r15
add rcx, r8
mov rax, qword [rbp + 0x20]
movzx eax, byte [rcx + rax]
jmp 0x1401797a9
xor al, al
mov ecx, dword [rbp - 0x64]
mov r11d, dword [rsp + 0x7c]
mov byte [rdx], r11b
mov byte [rdx + 1], cl
mov r11d, dword [rbp + 0x10]
mov byte [rdx + 2], r11b
mov byte [rdx + 3], al
inc r9d
inc r8
add rdx, 4
cmp r8, qword [rbp + 0x30]
jl 0x140179740
mov r14, qword [rbp + 0x88]
mov r15d, dword [rbp - 0x80]
inc edi
inc rbx
mov ecx, dword [rsp + 0x50]
cmp edi, ecx
mov edx, dword [rsp + 0x74]
jl 0x140179700
jmp 0x140179bcd
test ecx, ecx
jle 0x140179bd2
movsxd rbx, dword [rsp + 0x78]
mov qword [rbp + 0x40], rbx
xor r12d, r12d
mov qword [rbp - 0x48], r12
cvttss2si ecx, dword [rbp - 0xc]
mov esi, ecx
mov dword [rsp + 0x6c], ecx
mov eax, r8d
neg eax
cdqe
mov qword [rbp + 0x88], rax
lea eax, [r8 + rcx]
add eax, edx
mov dword [rbp + 0x64], eax
mov eax, r8d
sub eax, ecx
mov dword [rbp + 0x60], eax
mov r15d, ecx
neg r15d
mov dword [rbp - 0x60], r15d
mov r13, qword [rbp + 0x30]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov edx, esi
call qword [rax + 0x60]
lea r14, [rbx + rax]
mov qword [rbp + 0x78], r14
xor r10d, r10d
mov qword [rbp + 0x80], r10
test r13, r13
jle 0x140179bb0
mov eax, dword [rbp - 0x54]
mov r13d, eax
mov dword [rbp - 0x80], eax
mov ecx, eax
neg ecx
lea eax, [rcx + rcx]
mov dword [rsp + 0x64], eax
nop dword [rax + rax]
mov rax, qword [rbp + 0x58]
test rax, rax
jle 0x1401798a7
cmp r12, rdi
jl 0x1401798a7
cmp r12, rax
jl 0x140179953
mov rax, qword [rbp + 0x98]
test rax, rax
jle 0x1401798c2
cmp r12, qword [rbp + 0x68]
jl 0x1401798c2
cmp r12, rax
jl 0x140179953
mov r8, qword [rbp + 0x20]
mov edi, dword [rsp + 0x60]
mov ebx, dword [rsp + 0x5c]
movsxd rdx, dword [rbp - 0x7c]
mov r9, qword [rbp + 0x28]
cmp r10, r9
jl 0x140179a04
cmp r12, qword [rbp + 0xa0]
jl 0x140179a04
mov ecx, r13d
sub ecx, dword [rbp - 0x54]
mov eax, dword [rbp - 0x78]
add eax, edi
cmp ecx, eax
jge 0x140179a04
lea ecx, [r15 + rsi]
mov r11d, dword [rsp + 0x74]
lea eax, [r11 + rbx]
cmp ecx, eax
jge 0x140179a04
mov eax, esi
cvttss2si ecx, dword [rbp - 0xc]
add ecx, r11d
sub eax, ecx
imul eax, edx
movsxd rcx, eax
sub rcx, r9
add rcx, r10
movzx eax, byte [rcx + r8]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
divss xmm3, xmm6
ucomiss xmm3, xmm8
mov r12, qword [rbp - 0x48]
jp 0x14017994c
je 0x140179a04
ucomiss xmm3, xmm7
jp 0x140179972
jne 0x140179972
mov eax, dword [rsp + 0x7c]
mov byte [r14], al
mov eax, dword [rbp - 0x64]
mov byte [r14 + 1], al
mov eax, dword [rbp + 0x10]
mov byte [r14 + 2], al
mov byte [r14 + 3], 0xff
jmp 0x140179b81
movaps xmm2, xmm7
subss xmm2, xmm3
movzx eax, byte [rbp + 0x398]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm2
movzx eax, byte [rsp + 0x7c]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [r14], al
movzx eax, byte [rbp + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm2
movzx eax, byte [rbp - 0x64]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [r14 + 1], al
movzx eax, byte [rbp + 0x10]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
movzx eax, byte [rbp - 0x74]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [r14 + 2], al
mov byte [r14 + 3], 0xff
jmp 0x140179b81
movaps xmm1, xmm8
mov r9d, esi
mov eax, dword [rbp - 0x54]
cvttss2si r11d, dword [rbp - 0xc]
add eax, r11d
sub r9d, eax
mov r15d, dword [rbp + 0x60]
add r15d, esi
mov dword [rbp + 0x14], r15d
cmp r9d, r15d
jg 0x140179b5a
mov rsi, r10
sub rsi, qword [rbp + 0xa8]
mov qword [rbp + 0xb8], rsi
movsxd r11, r13d
mov rcx, qword [rbp + 0x88]
add rcx, r12
mov r12, rdx
mov qword [rbp + 0xc0], rdx
mov eax, dword [rsp + 0x6c]
sub eax, dword [rbp + 0x64]
imul eax, edx
movsxd r10, eax
sub r10, qword [rbp + 0x28]
add r10, r8
mov eax, dword [rsp + 0x64]
movsxd r14, dword [rsp + 0x74]
nop dword [rax]
nop word [rax + rax]
lea r8d, [rax + r13]
mov rdx, rsi
cmp rsi, r11
jg 0x140179b35
mov r15, qword [rbp + 0x58]
mov r12, qword [rbp + 0x98]
mov rsi, qword [rbp + 0x28]
mov r13, qword [rbp + 0x50]
test rcx, rcx
jne 0x140179aad
test rdx, rdx
je 0x140179b10
test r15, r15
jle 0x140179ac1
cmp rcx, r13
jl 0x140179ac1
cmp rcx, r15
jge 0x140179ac1
movaps xmm0, xmm7
jmp 0x140179b09
test r12, r12
jle 0x140179ad6
cmp rcx, qword [rbp + 0x68]
jl 0x140179ad6
cmp rcx, r12
jge 0x140179ad6
movaps xmm0, xmm7
jmp 0x140179b09
cmp rdx, rsi
jl 0x140179b05
cmp rcx, r14
jl 0x140179b05
mov eax, dword [rbp - 0x78]
add eax, edi
cmp r8d, eax
jge 0x140179b05
lea eax, [r14 + rbx]
cmp r9d, eax
jge 0x140179b05
movzx eax, byte [r10 + rdx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
jmp 0x140179b09
movaps xmm0, xmm8
maxss xmm0, xmm1
movaps xmm1, xmm0
inc r8d
inc rdx
cmp rdx, r11
jle 0x140179aa3
mov rsi, qword [rbp + 0xb8]
mov r15d, dword [rbp + 0x14]
mov r12, qword [rbp + 0xc0]
mov r13d, dword [rbp - 0x80]
mov eax, dword [rsp + 0x64]
inc r9d
inc rcx
add r10, r12
cmp r9d, r15d
jle 0x140179a80
mov r14, qword [rbp + 0x78]
mov r12, qword [rbp - 0x48]
mov r10, qword [rbp + 0x80]
mov esi, dword [rsp + 0x6c]
mov eax, dword [rbp + 0x398]
mov byte [r14], al
mov eax, dword [rbp + 0x18]
mov byte [r14 + 1], al
mov eax, dword [rbp - 0x74]
mov byte [r14 + 2], al
mulss xmm1, xmm6
cvttss2si eax, xmm1
mov byte [r14 + 3], al
mov r15d, dword [rbp - 0x60]
inc r13d
mov dword [rbp - 0x80], r13d
inc r10
mov qword [rbp + 0x80], r10
add r14, 4
mov qword [rbp + 0x78], r14
cmp r10, qword [rbp + 0x30]
mov rdi, qword [rbp + 0x50]
jl 0x140179890
mov rbx, qword [rbp + 0x40]
mov r13, qword [rbp + 0x30]
inc esi
mov dword [rsp + 0x6c], esi
inc r12
mov qword [rbp - 0x48], r12
lea eax, [r15 + rsi]
mov ecx, dword [rsp + 0x50]
cmp eax, ecx
jl 0x140179850
mov r9d, dword [rsp + 0x68]
mov r12, qword [rbp - 0x38]
test r9d, r9d
je 0x14017b411
sub ecx, r9d
sub ecx, 1
mov dword [rsp + 0x50], ecx
js 0x14017b411
movsxd rsi, dword [rsp + 0x78]
lea eax, [r9*4]
movsxd r14, eax
mov qword [rbp + 0x40], r14
lea edi, [rcx + r9]
cvttss2si eax, dword [rbp - 0xc]
add edi, eax
mov r15d, dword [rbp - 0x50]
mov r13d, dword [rbp - 0x5c]
nop word [rax + rax]
mov rax, qword [r12]
mov edx, edi
sub edx, r9d
mov rcx, r12
call qword [rax + 0x60]
lea rbx, [rsi + rax]
mov r8, qword [r12]
mov edx, edi
mov rcx, r12
call qword [r8 + 0x60]
lea rdx, [r14 + rax]
add rdx, rsi
xor r9d, r9d
mov r10d, dword [rsp + 0x58]
cmp r10d, 4
jl 0x14017a039
lea ecx, [r10 - 4]
shr ecx, 2
inc ecx
mov r8d, ecx
lea r9d, [rcx*4]
mov r12d, dword [rbp - 0x50]
mov r14d, dword [rbp - 0x5c]
mov esi, dword [rbp + 0x390]
nop dword [rax + rax]
movzx eax, byte [rbx + 3]
test al, al
je 0x140179d63
movzx ecx, byte [rdx + 3]
cmp cl, 0xff
je 0x140179d63
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm2
mulss xmm5, xmm3
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 1]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 1], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 2]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 2], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 3], al
movzx eax, byte [rbx + 7]
test al, al
je 0x140179e48
movzx ecx, byte [rdx + 7]
cmp cl, 0xff
je 0x140179e48
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm2
mulss xmm5, xmm3
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 4]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 4], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 5]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 5], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 6]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 6], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 7], al
movzx eax, byte [rbx + 0xb]
test al, al
je 0x140179f2d
movzx ecx, byte [rdx + 0xb]
cmp cl, 0xff
je 0x140179f2d
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm2
mulss xmm5, xmm3
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 8]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 8], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 9]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 9], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xa]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xa], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 0xb], al
movzx eax, byte [rbx + 0xf]
test al, al
je 0x14017a012
movzx ecx, byte [rdx + 0xf]
cmp cl, 0xff
je 0x14017a012
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm2
mulss xmm5, xmm3
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xc]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xc], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xd]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xd], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xe]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xe], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 0xf], al
add rdx, 0x10
add rbx, 0x10
sub r8, 1
jne 0x140179c80
movsxd rsi, dword [rsp + 0x78]
mov r14, qword [rbp + 0x40]
mov r12, qword [rbp - 0x38]
mov r15d, dword [rbp - 0x50]
mov r13d, dword [rbp - 0x5c]
cmp r9d, r10d
jge 0x14017a152
add rdx, 2
add rbx, 3
mov eax, r10d
sub eax, r9d
mov r8d, eax
mov r12d, dword [rbp + 0x390]
movzx eax, byte [rbx]
test al, al
je 0x14017a13c
movzx ecx, byte [rdx + 1]
cmp cl, 0xff
je 0x14017a13c
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm2
mulss xmm5, xmm3
addss xmm5, xmm4
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx - 2]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx - 2], al
movzx eax, r15b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx - 1]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx - 1], al
movzx eax, r13b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 1], al
add rbx, 4
add rdx, 4
sub r8, 1
jne 0x14017a05a
mov r12, qword [rbp - 0x38]
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
dec edi
test eax, eax
mov r9d, dword [rsp + 0x68]
jns 0x140179c20
jmp 0x14017b411
test r8d, r8d
jne 0x14017a2b4
xor r14d, r14d
test ecx, ecx
jle 0x14017a6f8
movsxd r12, dword [rsp + 0x78]
mov qword [rbp + 0x40], r12
xor ebx, ebx
cvttss2si r13d, dword [rbp - 0xc]
add r13d, edx
mov dword [rbp - 0x60], r13d
nop dword [rax]
mov r15d, r14d
sub r15d, edx
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea edx, [r15 + r13]
call qword [rax + 0x60]
lea rdx, [r12 + rax]
xor esi, esi
xor r9d, r9d
cmp qword [rbp + 0x30], rsi
jle 0x14017a298
mov rax, qword [rbp + 0x28]
mov r8, rax
neg r8
shl r8, 2
mov r13, qword [rbp + 0x58]
mov r12, qword [rbp + 0x98]
movzx r10d, byte [rsp + 0x7c]
movzx r11d, byte [rbp - 0x64]
movzx edi, byte [rbp + 0x10]
test r13, r13
jle 0x14017a203
cmp rbx, qword [rbp + 0x50]
jl 0x14017a203
cmp rbx, r13
jge 0x14017a203
mov al, 0xff
jmp 0x14017a267
test r12, r12
jle 0x14017a217
cmp rbx, qword [rbp + 0x68]
jl 0x14017a217
cmp rbx, r12
jge 0x14017a217
mov al, 0xff
jmp 0x14017a267
cmp r9, rax
jl 0x14017a265
cmp rbx, qword [rbp + 0xa0]
jl 0x14017a265
mov eax, dword [rsp + 0x60]
mov ecx, dword [rbp - 0x78]
add ecx, eax
cmp esi, ecx
jge 0x14017a265
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x74]
add ecx, eax
cmp r14d, ecx
jge 0x14017a265
mov eax, r15d
imul eax, dword [rbp - 0x7c]
movsxd rcx, eax
add rcx, r8
add rcx, qword [rbp + 0x20]
movzx r10d, byte [rcx]
movzx r11d, byte [rcx + 1]
movzx edi, byte [rcx + 2]
movzx eax, byte [rcx + 3]
jmp 0x14017a267
xor al, al
mov byte [rdx], r10b
mov byte [rdx + 1], r11b
mov byte [rdx + 2], dil
mov byte [rdx + 3], al
inc esi
inc r9
add r8, 4
add rdx, 4
cmp r9, qword [rbp + 0x30]
mov rax, qword [rbp + 0x28]
jl 0x14017a1e0
mov r12, qword [rbp + 0x40]
mov r13d, dword [rbp - 0x60]
inc r14d
inc rbx
mov ecx, dword [rsp + 0x50]
cmp r14d, ecx
mov edx, dword [rsp + 0x74]
jl 0x14017a1a0
jmp 0x14017a6f3
test ecx, ecx
jle 0x14017a6f8
movsxd rbx, dword [rsp + 0x78]
mov qword [rbp + 0x48], rbx
xor r15d, r15d
mov qword [rbp + 0x80], r15
cvttss2si r9d, dword [rbp - 0xc]
mov ecx, r9d
mov dword [rsp + 0x64], ecx
mov eax, r8d
neg eax
cdqe
mov qword [rbp + 0x40], rax
lea eax, [r8 + r9]
add eax, edx
mov dword [rbp + 0x14], eax
mov eax, r8d
sub eax, r9d
mov dword [rbp - 0x60], eax
mov eax, r9d
neg eax
mov dword [rbp - 0x80], eax
mov r8, qword [rbp - 0x38]
mov rax, qword [r8]
mov edx, ecx
mov rcx, r8
call qword [rax + 0x60]
lea r12, [rbx + rax]
mov qword [rbp + 0x88], r12
xor r11d, r11d
mov qword [rbp - 0x48], r11
cmp qword [rbp + 0x30], r11
jle 0x14017a6cc
mov edx, dword [rbp - 0x54]
mov ebx, edx
mov dword [rsp + 0x6c], edx
mov rcx, qword [rbp + 0x28]
mov r13, rcx
neg r13
shl r13, 2
mov qword [rbp + 0x78], r13
mov rax, qword [rbp + 0xa8]
neg rax
mov qword [rbp + 0xc0], rax
mov eax, edx
neg eax
add eax, eax
mov dword [rbp + 0x64], eax
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsp + 0x7c]
movzx r9d, byte [rbp - 0x64]
movzx r10d, byte [rbp + 0x10]
test r14, r14
jle 0x14017a393
cmp r15, rdi
jl 0x14017a393
cmp r15, r14
jl 0x14017a44c
mov rax, qword [rbp + 0x98]
test rax, rax
jle 0x14017a3ad
cmp r15, rsi
jl 0x14017a3ad
cmp r15, rax
jl 0x14017a44c
mov r14, qword [rbp + 0x20]
mov esi, dword [rsp + 0x60]
mov edi, dword [rsp + 0x5c]
movsxd rdx, dword [rbp - 0x7c]
cmp r11, rcx
jl 0x14017a4fa
cmp r15, qword [rbp + 0xa0]
jl 0x14017a4fa
mov ecx, ebx
sub ecx, dword [rbp - 0x54]
mov eax, dword [rbp - 0x78]
add eax, esi
cmp ecx, eax
jge 0x14017a4fa
mov r8d, dword [rsp + 0x64]
mov ecx, dword [rbp - 0x80]
add ecx, r8d
mov r9d, dword [rsp + 0x74]
lea eax, [r9 + rdi]
cmp ecx, eax
jge 0x14017a4fa
mov eax, r8d
cvttss2si r8d, dword [rbp - 0xc]
lea ecx, [r8 + r9]
sub eax, ecx
imul eax, edx
movsxd rcx, eax
add rcx, r13
add rcx, r14
movzx r8d, byte [rcx]
movzx r9d, byte [rcx + 1]
movzx r10d, byte [rcx + 2]
movzx eax, byte [rcx + 3]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
divss xmm3, xmm6
ucomiss xmm3, xmm8
jp 0x14017a445
je 0x14017a4fa
ucomiss xmm3, xmm7
jp 0x14017a465
jne 0x14017a465
mov byte [r12], r8b
mov byte [r12 + 1], r9b
mov byte [r12 + 2], r10b
mov byte [r12 + 3], 0xff
jmp 0x14017a68e
movaps xmm2, xmm7
subss xmm2, xmm3
movzx eax, byte [rbp + 0x398]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm2
movzx eax, r8b
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [r12], al
movzx eax, byte [rbp + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm2
movzx eax, r9b
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [r12 + 1], al
movzx eax, byte [rbp - 0x74]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm2
movzx eax, r10b
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm3
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [r12 + 2], al
mov byte [r12 + 3], 0xff
jmp 0x14017a68e
movaps xmm1, xmm8
mov r10d, dword [rsp + 0x64]
mov r8d, dword [rbp - 0x54]
cvttss2si r9d, dword [rbp - 0xc]
lea ecx, [r8 + r9]
sub r10d, ecx
mov r15d, dword [rbp - 0x60]
add r15d, dword [rsp + 0x64]
mov dword [rbp + 0x60], r15d
cmp r10d, r15d
jg 0x14017a660
movsxd r12, dword [rsp + 0x6c]
mov rbx, r12
mov rcx, qword [rbp + 0x40]
add rcx, qword [rbp + 0x80]
mov eax, dword [rsp + 0x64]
sub eax, dword [rbp + 0x14]
imul eax, edx
movsxd r11, eax
mov r13, rdx
mov qword [rbp + 0xb8], rdx
mov rax, qword [rbp - 0x48]
mov r9, qword [rbp + 0xa8]
nop
mov r8d, dword [rbp + 0x64]
add r8d, r12d
mov rdx, rax
sub rdx, r9
cmp rdx, rbx
jg 0x14017a63b
mov rax, qword [rbp + 0x78]
mov r9, qword [rbp + 0xc0]
lea r9, [rax + r9*4]
mov r12, qword [rbp + 0x58]
mov r15, qword [rbp + 0x98]
mov r13, qword [rbp + 0x28]
test rcx, rcx
jne 0x14017a59e
test rdx, rdx
je 0x14017a60d
test r12, r12
jle 0x14017a5b3
cmp rcx, qword [rbp + 0x50]
jl 0x14017a5b3
cmp rcx, r12
jge 0x14017a5b3
movaps xmm0, xmm7
jmp 0x14017a606
test r15, r15
jle 0x14017a5c8
cmp rcx, qword [rbp + 0x68]
jl 0x14017a5c8
cmp rcx, r15
jge 0x14017a5c8
movaps xmm0, xmm7
jmp 0x14017a606
cmp rdx, r13
jl 0x14017a602
cmp rcx, qword [rbp + 0xa0]
jl 0x14017a602
mov eax, dword [rbp - 0x78]
add eax, esi
cmp r8d, eax
jge 0x14017a602
mov eax, dword [rsp + 0x74]
add eax, edi
cmp r10d, eax
jge 0x14017a602
lea rax, [r11 + r9]
movzx eax, byte [rax + r14 + 3]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
jmp 0x14017a606
movaps xmm0, xmm8
maxss xmm0, xmm1
movaps xmm1, xmm0
inc r8d
inc rdx
add r9, 4
cmp rdx, rbx
jle 0x14017a594
mov r15d, dword [rbp + 0x60]
mov r13, qword [rbp + 0xb8]
mov rax, qword [rbp - 0x48]
mov r12d, dword [rsp + 0x6c]
mov r9, qword [rbp + 0xa8]
inc r10d
inc rcx
add r11, r13
cmp r10d, r15d
jle 0x14017a560
mov r12, qword [rbp + 0x88]
mov r11, qword [rbp - 0x48]
mov ebx, dword [rsp + 0x6c]
mov r13, qword [rbp + 0x78]
mov eax, dword [rbp + 0x398]
mov byte [r12], al
mov eax, dword [rbp + 0x18]
mov byte [r12 + 1], al
mov eax, dword [rbp - 0x74]
mov byte [r12 + 2], al
mulss xmm1, xmm6
cvttss2si eax, xmm1
mov byte [r12 + 3], al
mov r15, qword [rbp + 0x80]
inc ebx
mov dword [rsp + 0x6c], ebx
inc r11
mov qword [rbp - 0x48], r11
add r13, 4
mov qword [rbp + 0x78], r13
add r12, 4
mov qword [rbp + 0x88], r12
cmp r11, qword [rbp + 0x30]
mov r14, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x68]
jl 0x14017a370
mov rbx, qword [rbp + 0x48]
mov ecx, dword [rsp + 0x64]
inc ecx
mov dword [rsp + 0x64], ecx
inc r15
mov qword [rbp + 0x80], r15
mov eax, dword [rbp - 0x80]
add eax, ecx
cmp eax, dword [rsp + 0x50]
jl 0x14017a301
mov ecx, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x68]
mov r12, qword [rbp - 0x38]
test r9d, r9d
je 0x14017b411
sub ecx, r9d
sub ecx, 1
mov dword [rsp + 0x50], ecx
js 0x14017b411
movsxd rsi, dword [rsp + 0x78]
lea eax, [r9*4]
movsxd r14, eax
mov qword [rbp + 0x48], r14
lea edi, [rcx + r9]
cvttss2si eax, dword [rbp - 0xc]
add edi, eax
mov r15d, dword [rbp - 0x50]
mov r13d, dword [rbp - 0x5c]
nop dword [rax]
mov rax, qword [r12]
mov edx, edi
sub edx, r9d
mov rcx, r12
call qword [rax + 0x60]
lea rbx, [rsi + rax]
mov r8, qword [r12]
mov edx, edi
mov rcx, r12
call qword [r8 + 0x60]
lea rdx, [r14 + rax]
add rdx, rsi
xor r9d, r9d
mov r10d, dword [rsp + 0x58]
cmp r10d, 4
jl 0x14017ab59
lea ecx, [r10 - 4]
shr ecx, 2
inc ecx
mov r8d, ecx
lea r9d, [rcx*4]
mov r12d, dword [rbp - 0x50]
mov r14d, dword [rbp - 0x5c]
mov esi, dword [rbp + 0x390]
nop dword [rax + rax]
movzx eax, byte [rbx + 3]
test al, al
je 0x14017a883
movzx ecx, byte [rdx + 3]
cmp cl, 0xff
je 0x14017a883
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 1]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 1], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 2]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 2], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 3], al
movzx eax, byte [rbx + 7]
test al, al
je 0x14017a968
movzx ecx, byte [rdx + 7]
cmp cl, 0xff
je 0x14017a968
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 4]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 4], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 5]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 5], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 6]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 6], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 7], al
movzx eax, byte [rbx + 0xb]
test al, al
je 0x14017aa4d
movzx ecx, byte [rdx + 0xb]
cmp cl, 0xff
je 0x14017aa4d
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 8]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 8], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 9]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 9], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xa]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xa], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 0xb], al
movzx eax, byte [rbx + 0xf]
test al, al
je 0x14017ab32
movzx ecx, byte [rdx + 0xf]
cmp cl, 0xff
je 0x14017ab32
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm4
movzx eax, sil
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xc]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xc], al
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xd]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xd], al
movzx eax, r14b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx + 0xe]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx + 0xe], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 0xf], al
add rdx, 0x10
add rbx, 0x10
sub r8, 1
jne 0x14017a7a0
movsxd rsi, dword [rsp + 0x78]
mov r14, qword [rbp + 0x48]
mov r12, qword [rbp - 0x38]
mov r15d, dword [rbp - 0x50]
mov r13d, dword [rbp - 0x5c]
cmp r9d, r10d
jge 0x14017ac72
add rdx, 2
add rbx, 3
mov eax, r10d
sub eax, r9d
mov r8d, eax
mov r12d, dword [rbp + 0x390]
movzx eax, byte [rbx]
test al, al
je 0x14017ac5c
movzx ecx, byte [rdx + 1]
cmp cl, 0xff
je 0x14017ac5c
movzx eax, al
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm6
movzx eax, cl
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
divss xmm4, xmm6
movaps xmm2, xmm7
subss xmm2, xmm4
movaps xmm5, xmm3
mulss xmm5, xmm2
addss xmm5, xmm4
movzx eax, r12b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx - 2]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx - 2], al
movzx eax, r15b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx - 1]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx - 1], al
movzx eax, r13b
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
mulss xmm1, xmm3
mulss xmm1, xmm2
movzx eax, byte [rdx]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm4
addss xmm1, xmm0
divss xmm1, xmm5
cvttss2si eax, xmm1
mov byte [rdx], al
mulss xmm5, xmm6
cvttss2si eax, xmm5
mov byte [rdx + 1], al
add rbx, 4
add rdx, 4
sub r8, 1
jne 0x14017ab7a
mov r12, qword [rbp - 0x38]
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
dec edi
test eax, eax
mov r9d, dword [rsp + 0x68]
jns 0x14017a740
jmp 0x14017b411
movsxd r13, dword [rsp + 0x78]
mov qword [rbp - 0x48], r13
cmp dword [r8 + 0x6c], 0
je 0x14017aea6
mov ecx, dword [r8 + 0x70]
mov eax, 1
mov r9d, 3
test ecx, ecx
cmovne eax, r9d
lea edx, [rax*4]
mov ebx, dword [rbp + 0x390]
shr ebx, 8
mov edi, dword [rbp + 0x390]
shr edi, 0x10
xor r14d, r14d
cmp dword [rsp + 0x5c], r14d
jle 0x14017ad98
mov r12d, edx
mov qword [rbp + 0x48], r12
cvttss2si r15d, dword [rbp - 0xc]
add r15d, eax
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov edx, r15d
call qword [rax + 0x60]
lea r9, [rax + r13]
add r9, r12
mov ecx, r14d
imul ecx, dword [rbp - 0x7c]
movsxd rsi, ecx
add rsi, qword [rbp + 0x20]
xor r10d, r10d
xor r8d, r8d
mov r11d, dword [rsp + 0x60]
test r11d, r11d
jle 0x14017ad75
mov r13d, dword [rbp + 0x390]
lea r12, [0x14035e4d0]
movsxd rdx, r10d
mov rax, rdx
sar rax, 3
movzx ecx, byte [rax + rsi]
and edx, 7
test byte [rdx + r12], cl
je 0x14017ad60
mov byte [r8 + r9], r13b
mov byte [r8 + r9 + 1], bl
mov byte [r8 + r9 + 2], dil
mov byte [r8 + r9 + 3], 0xff
mov r11d, dword [rsp + 0x60]
inc r10d
add r8, 4
cmp r10d, r11d
jl 0x14017ad30
mov r12, qword [rbp + 0x48]
movsxd r13, dword [rsp + 0x78]
inc r14d
inc r15d
cmp r14d, dword [rsp + 0x5c]
jl 0x14017acf0
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax + 0x70]
mov r12d, dword [rsp + 0x6c]
mov r9d, 3
cmp byte [rsp + 0x55], 0
je 0x14017ae1a
mov eax, 1
test ecx, ecx
cmovne eax, r9d
mov ecx, dword [rsp + 0x68]
lea esi, [rax + rcx]
test r12d, r12d
jle 0x14017ae1a
xor r14d, r14d
cvttss2si r15d, dword [rbp - 0xc]
add r15d, eax
add r15d, ecx
test esi, esi
js 0x14017ae14
cmp esi, dword [rsp + 0x50]
jge 0x14017ae14
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea edx, [r15 + r14]
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017ae0a
add rax, r13
mov r8d, dword [rbp + 0x390]
mov byte [rax - 1], r8b
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017adf2
inc esi
inc r14d
cmp r14d, r12d
jl 0x14017adc5
mov r9d, 3
movzx r12d, byte [rsp + 0x54]
mov r8, qword [rbp - 0x70]
test r12b, r12b
je 0x14017aeac
xor r14d, r14d
mov esi, 1
cmp dword [r8 + 0x70], r14d
cmovne esi, r9d
add esi, dword [rsp + 0x64]
mov r15d, dword [rbp - 0x74]
test r15d, r15d
jle 0x14017aeac
mov r12, qword [rbp - 0x38]
nop
test esi, esi
js 0x14017aea2
cmp esi, dword [rsp + 0x50]
jge 0x14017aea2
mov rax, qword [r12]
cvttss2si edx, dword [rbp - 0xc]
add edx, esi
mov rcx, r12
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017ae98
add rax, r13
mov r8d, dword [rbp + 0x390]
mov byte [rax - 1], r8b
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017ae80
inc r14d
inc esi
cmp r14d, r15d
jl 0x14017ae50
mov r8, qword [rbp - 0x70]
movzx r12d, byte [rsp + 0x54]
cmp dword [r8 + 0x70], 0
je 0x14017b241
mov eax, dword [rbp - 0x58]
lea eax, [rax*4]
mov r12d, dword [rbp + 0x398]
mov ebx, r12d
shr ebx, 8
mov edi, r12d
shr edi, 0x10
cmp dword [rsp + 0x5c], 0
jle 0x14017b0a3
movsxd r12, eax
mov qword [rbp + 0x40], r12
cvttss2si eax, dword [rbp - 0xc]
lea r13d, [rax + 1]
mov dword [rbp - 0x80], r13d
mov ecx, eax
sub ecx, r13d
mov dword [rbp + 0x14], ecx
mov r15d, r13d
neg r15d
mov dword [rbp - 0x60], r15d
nop word [rax + rax]
mov r14, qword [rbp - 0x38]
mov rax, qword [r14]
lea edx, [rcx + r13]
mov rcx, r14
call qword [rax + 0x60]
mov rsi, rax
add rsi, qword [rbp - 0x48]
add rsi, r12
mov r8, qword [r14]
mov edx, r13d
mov rcx, r14
call qword [r8 + 0x60]
mov r14, rax
add r14, qword [rbp - 0x48]
add r14, r12
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
lea edx, [r13 + 1]
mov rcx, rax
call qword [r8 + 0x60]
mov r9, rax
add r9, qword [rbp - 0x48]
add r9, r12
lea eax, [r15 + r13]
imul eax, dword [rbp - 0x7c]
cdqe
add rax, qword [rbp + 0x20]
xor r10d, r10d
xor r8d, r8d
mov r11d, dword [rsp + 0x60]
test r11d, r11d
jle 0x14017b080
mov r15, rsi
sub r15, r14
mov r12, r9
sub r12, r14
mov r13, rax
nop
movsxd rdx, r10d
mov rax, rdx
sar rax, 3
movzx ecx, byte [rax + r13]
and edx, 7
lea rax, [0x14035e4d0]
test byte [rdx + rax], cl
je 0x14017b064
mov ecx, dword [rbp + 0x398]
mov byte [rsi + r8 + 8], cl
mov byte [rsi + r8 + 4], cl
lea rax, [r14 + r8]
mov byte [rax + r15], cl
mov byte [rsi + r8 + 9], bl
mov byte [rsi + r8 + 5], bl
mov byte [rsi + r8 + 1], bl
mov byte [rsi + r8 + 0xa], dil
mov byte [rsi + r8 + 6], dil
mov byte [rsi + r8 + 2], dil
mov byte [rsi + r8 + 0xb], 0xff
mov byte [rsi + r8 + 7], 0xff
mov byte [rsi + r8 + 3], 0xff
mov byte [r14 + r8 + 8], cl
mov byte [rax], cl
mov byte [r14 + r8 + 9], bl
mov byte [r14 + r8 + 1], bl
mov byte [r14 + r8 + 0xa], dil
mov byte [r14 + r8 + 2], dil
mov byte [r14 + r8 + 0xb], 0xff
mov byte [r14 + r8 + 3], 0xff
mov byte [r9 + r8 + 8], cl
mov byte [r9 + r8 + 4], cl
mov byte [r12 + rax], cl
mov byte [r9 + r8 + 9], bl
mov byte [r9 + r8 + 5], bl
mov byte [r9 + r8 + 1], bl
mov byte [r9 + r8 + 0xa], dil
mov byte [r9 + r8 + 6], dil
mov byte [r9 + r8 + 2], dil
mov byte [r9 + r8 + 0xb], 0xff
mov byte [r9 + r8 + 7], 0xff
mov byte [r9 + r8 + 3], 0xff
mov r11d, dword [rsp + 0x60]
inc r10d
add r8, 4
cmp r10d, r11d
jl 0x14017af90
mov r13d, dword [rbp - 0x80]
mov r15d, dword [rbp - 0x60]
mov r12, qword [rbp + 0x40]
inc r13d
mov dword [rbp - 0x80], r13d
lea eax, [r15 + r13]
cmp eax, dword [rsp + 0x5c]
mov ecx, dword [rbp + 0x14]
jl 0x14017af10
mov r13, qword [rbp - 0x48]
mov r12d, dword [rbp + 0x398]
cmp byte [rsp + 0x55], 0
je 0x14017b168
mov r14d, dword [rsp + 0x68]
mov esi, r14d
mov r15d, dword [rsp + 0x6c]
test r15d, r15d
jle 0x14017b168
test esi, esi
js 0x14017b168
cmp esi, dword [rsp + 0x50]
jge 0x14017b168
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
cvttss2si edx, dword [rbp - 0xc]
add edx, esi
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017b118
add rax, r13
nop word [rax + rax]
mov byte [rax - 1], r12b
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017b100
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
cvttss2si edx, dword [rbp - 0xc]
add edx, 2
add edx, esi
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017b158
add rax, r13
nop word [rax + rax]
mov byte [rax - 1], r12b
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017b140
inc esi
mov eax, esi
sub eax, r14d
cmp eax, r15d
jl 0x14017b0c4
movzx r12d, byte [rsp + 0x54]
test r12b, r12b
je 0x14017b23d
mov r14d, dword [rsp + 0x64]
mov esi, r14d
mov r15d, dword [rbp - 0x74]
test r15d, r15d
jle 0x14017b23d
mov r12, qword [rbp - 0x38]
test esi, esi
js 0x14017b237
cmp esi, dword [rsp + 0x50]
jge 0x14017b237
mov rax, qword [r12]
cvttss2si edx, dword [rbp - 0xc]
add edx, esi
mov rcx, r12
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017b1e7
add rax, r13
mov edx, dword [rbp + 0x398]
nop word [rax + rax]
mov byte [rax - 1], dl
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017b1d0
mov rax, qword [r12]
cvttss2si edx, dword [rbp - 0xc]
add edx, 2
add edx, esi
mov rcx, r12
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017b227
add rax, r13
mov edx, dword [rbp + 0x398]
nop
mov byte [rax - 1], dl
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017b210
inc esi
mov eax, esi
sub eax, r14d
cmp eax, r15d
jl 0x14017b190
movzx r12d, byte [rsp + 0x54]
mov r8, qword [rbp - 0x70]
xor eax, eax
cmp dword [r8 + 0x70], eax
setne al
lea ecx, [rax*4]
mov ebx, dword [rsp + 0x7c]
shr ebx, 8
mov edi, dword [rsp + 0x7c]
shr edi, 0x10
xor r14d, r14d
cmp dword [rsp + 0x5c], r14d
jle 0x14017b320
mov r12d, ecx
mov qword [rbp + 0x48], r12
cvttss2si r15d, dword [rbp - 0xc]
add r15d, eax
nop dword [rax]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
mov edx, r15d
call qword [rax + 0x60]
lea r9, [rax + r13]
add r9, r12
mov ecx, r14d
imul ecx, dword [rbp - 0x7c]
movsxd rsi, ecx
add rsi, qword [rbp + 0x20]
xor r10d, r10d
xor r8d, r8d
mov r11d, dword [rsp + 0x60]
test r11d, r11d
jle 0x14017b305
mov r13d, dword [rsp + 0x7c]
lea r12, [0x14035e4d0]
nop
movsxd rdx, r10d
mov rax, rdx
sar rax, 3
movzx ecx, byte [rax + rsi]
and edx, 7
test byte [rdx + r12], cl
je 0x14017b2f0
mov byte [r9 + r8], r13b
mov byte [r9 + r8 + 1], bl
mov byte [r9 + r8 + 2], dil
mov byte [r9 + r8 + 3], 0xff
mov r11d, dword [rsp + 0x60]
inc r10d
add r8, 4
cmp r10d, r11d
jl 0x14017b2c0
mov r12, qword [rbp + 0x48]
movsxd r13, dword [rsp + 0x78]
inc r14d
inc r15d
cmp r14d, dword [rsp + 0x5c]
jl 0x14017b280
movzx r12d, byte [rsp + 0x54]
mov r8, qword [rbp - 0x70]
cmp byte [rsp + 0x55], 0
je 0x14017b39e
xor r14d, r14d
xor esi, esi
cmp dword [r8 + 0x70], esi
setne sil
add esi, dword [rsp + 0x68]
mov r15d, dword [rsp + 0x6c]
test r15d, r15d
jle 0x14017b39e
mov r12, qword [rbp - 0x38]
test esi, esi
js 0x14017b394
cmp esi, dword [rsp + 0x50]
jge 0x14017b394
mov rax, qword [r12]
cvttss2si edx, dword [rbp - 0xc]
add edx, esi
mov rcx, r12
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017b38a
add rax, r13
mov edx, dword [rsp + 0x7c]
mov byte [rax - 1], dl
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017b373
inc r14d
inc esi
cmp r14d, r15d
jl 0x14017b346
movzx r12d, byte [rsp + 0x54]
mov r8, qword [rbp - 0x70]
test r12b, r12b
mov r12, qword [rbp - 0x38]
je 0x14017b411
xor r14d, r14d
xor esi, esi
cmp dword [r8 + 0x70], esi
setne sil
add esi, dword [rsp + 0x64]
mov r15d, dword [rbp - 0x74]
test r15d, r15d
jle 0x14017b411
test esi, esi
js 0x14017b411
cmp esi, dword [rsp + 0x50]
jge 0x14017b411
mov rax, qword [r12]
cvttss2si edx, dword [rbp - 0xc]
add edx, esi
mov rcx, r12
call qword [rax + 0x60]
inc rax
mov ecx, dword [rsp + 0x58]
test ecx, ecx
jle 0x14017b407
add rax, r13
mov edx, dword [rsp + 0x7c]
nop
mov byte [rax - 1], dl
mov byte [rax], bl
mov byte [rax + 1], dil
mov byte [rax + 2], 0xff
lea rax, [rax + 4]
sub rcx, 1
jne 0x14017b3f0
inc r14d
inc esi
cmp r14d, r15d
jl 0x14017b3c1
cmp byte [rsp + 0x70], 0
je 0x14017b640
mov rax, qword [rbp - 0x70]
movzx r14d, byte [rax + 0x74]
mov esi, dword [rax + 0x70]
mov edi, dword [rax + 0x6c]
mov ebx, dword [rax + 0x68]
lea rdx, [rax + 0x48]
lea rcx, [rbp + 0x240]
call fcn.14000b200
mov dword [rbp + 0x260], ebx
mov dword [rbp + 0x264], edi
mov dword [rbp + 0x268], esi
mov eax, dword [rsp + 0x7c]
mov dword [rbp + 0x26c], eax
mov eax, dword [rbp + 0x390]
mov dword [rbp + 0x270], eax
mov eax, dword [rbp + 0x398]
mov dword [rbp + 0x274], eax
mov dword [rbp + 0x278], r14d
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0x27c], eax
lea rdx, [rbp + 0x240]
call fcn.140007f20
mov rcx, rax
shl rcx, 0x15
not rax
add rcx, rax
mov rax, rcx
shr rax, 0x18
xor rax, rcx
imul rcx, rax, 0x109
mov rax, rcx
shr rax, 0xe
xor rax, rcx
imul rsi, rax, 0x15
mov rax, rsi
shr rax, 0x1c
xor rsi, rax
mov eax, 0x80000001
imul rsi, rax
lea r8, [rbp + 0x240]
mov rdx, rsi
call fcn.14000ded0
mov rbx, rax
test rax, rax
jne 0x14017b5f0
lea rax, [0x140488e44]
mov qword [rbp + 0x190], rax
xor r14d, r14d
mov qword [rbp + 0x198], r14
mov ecx, 0x98
call fcn.14023ed4c
mov rdi, rax
mov qword [rax], r14
mov qword [rax + 8], r14
xor edx, edx
mov r8d, 0x88
lea rcx, [rax + 0x10]
call fcn.14025e440
mov qword [rdi + 0x20], r14
mov qword [rdi + 0x28], r14
movaps xmm0, xmmword [rbp + 0x240]
movups xmmword [rdi + 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x250]
movups xmmword [rdi + 0x20], xmm1
mov qword [rbp + 0x250], r14
mov qword [rbp + 0x258], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x240], r14b
mov eax, dword [rbp + 0x260]
mov dword [rdi + 0x30], eax
mov eax, dword [rbp + 0x264]
mov dword [rdi + 0x34], eax
mov eax, dword [rbp + 0x268]
mov dword [rdi + 0x38], eax
mov eax, dword [rbp + 0x26c]
mov dword [rdi + 0x3c], eax
mov eax, dword [rbp + 0x270]
mov dword [rdi + 0x40], eax
mov eax, dword [rbp + 0x274]
mov dword [rdi + 0x44], eax
mov eax, dword [rbp + 0x278]
mov dword [rdi + 0x48], eax
mov eax, dword [rbp + 0x27c]
mov dword [rdi + 0x4c], eax
lea rax, vtable.artemis::CFontRenderer::CCharSurface.0
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x58], r14
mov qword [rdi + 0x60], r14
mov qword [rdi + 0x68], r14
mov dword [rdi + 0x70], r14d
lea rax, vtable.artemis::TRect_float_.0
mov qword [rdi + 0x78], rax
mov qword [rdi + 0x80], r14
mov qword [rdi + 0x88], r14
mov qword [rdi + 0x90], r14
mov r8, rsi
mov rdx, rdi
call fcn.14000d880
mov rbx, rax
lea rcx, [rbx + 0x58]
lea rdx, [rbp - 0x38]
call fcn.14000aaf0
movss dword [rbx + 0x68], xmm9
movss dword [rbx + 0x6c], xmm10
movss dword [rbx + 0x70], xmm11
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rbx + 0x80], xmm0
movss xmm0, dword [rbp]
movss dword [rbx + 0x90], xmm0
movss xmm1, dword [rbp + 4]
movss dword [rbx + 0x94], xmm1
lea rcx, [rbp + 0x240]
call fcn.14000b5d0
mov rdi, qword [rbp + 0xf0]
lea rax, vtable.artemis::CFontRenderer::CCharSurface.0
mov qword [rdi], rax
mov qword [rdi + 8], r12
mov rbx, qword [rbp + 0xd8]
mov qword [rdi + 0x10], rbx
test rbx, rbx
je 0x14017b685
mov eax, 1
lock xadd dword [rbx + 8], eax
movss xmm11, dword [rbp - 0x20]
movss xmm10, dword [rbp - 0x24]
movss xmm9, dword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
movss dword [rdi + 0x18], xmm9
movss dword [rdi + 0x1c], xmm10
movss dword [rdi + 0x20], xmm11
lea rax, vtable.artemis::TRect_float_.0
mov qword [rdi + 0x28], rax
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rdi + 0x30], xmm0
movss xmm0, dword [rbp]
movss dword [rdi + 0x40], xmm0
movss xmm1, dword [rbp + 4]
movss dword [rdi + 0x44], xmm1
mov dword [rbp + 0xd0], 1
mov esi, 0xffffffff
test rbx, rbx
je 0x14017b70a
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14017b706
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14017b706
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x14017b70a
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14017b73d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14017b73d
mov rbx, qword [rbp - 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14017b73d
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, rdi
jmp 0x14017b775
lea rax, vtable.artemis::CFontRenderer::CCharSurface.0
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rcx
mov dword [rdx + 0x20], ecx
lea rax, vtable.artemis::TRect_float_.0
mov qword [rdx + 0x28], rax
mov qword [rdx + 0x30], rcx
mov qword [rdx + 0x38], rcx
mov qword [rdx + 0x40], rcx
mov rax, r15
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14023ed20
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret