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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x298
mov rbx, qword [0x180141b18]
mov r13, rcx
vmovaps xmmword [rax - 0x58], xmm6
vmovaps xmmword [rax - 0x68], xmm7
vmovaps xmmword [rax - 0x78], xmm8
vmovaps xmmword [rax - 0x88], xmm9
vmovaps xmmword [rax - 0x98], xmm10
vmovaps xmmword [rax - 0xa8], xmm11
vmovaps xmmword [rax - 0xb8], xmm12
vmovaps xmmword [rax - 0xc8], xmm13
vmovaps xmmword [rax - 0xd8], xmm14
mov rax, qword [rbx + 0x3f48]
mov r14, rbx
mov qword [rbp + 0x68], rbx
mov byte [rax + 0xb8], 1
mov r15, qword [rbx + 0x3f48]
mov qword [rbp - 0x50], r15
cmp byte [r15 + 0xbb], 0
jne 0x18003ba45
mov esi, dword [rbp + 0x208]
mov eax, esi
shr eax, 0xe
mov edi, esi
and al, 1
shr edi, 0x1a
mov dword [rsp + 0x64], eax
and dil, 1
mov eax, esi
mov dword [rsp + 0x6c], edi
shr eax, 0xf
and al, 1
mov dword [rbp - 0x2c], eax
mov eax, esi
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x58], eax
mov eax, esi
shr eax, 0x12
and al, 1
mov dword [rsp + 0x7c], eax
test dil, dil
je 0x18003b674
call fcn.1800168d0
mov rbx, qword [0x180141b18]
movsxd rax, dword [r15 + 0xf0]
xor edx, edx
mov r8, qword [r15 + 0xf8]
mov rcx, r13
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180006870
mov dword [rsp + 0x74], eax
mov r12d, eax
mov rdx, r13
cmp r13, 0xffffffffffffffff
jae 0x18003b6c2
movzx r8d, byte [rdx]
test r8b, r8b
je 0x18003b6c2
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x18003b6b9
cmp byte [rcx], r8b
je 0x18003b6c2
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x18003b6a1
vmovss xmm0, dword [0x180130738]
vmovss xmm6, dword [rbx + 0x3c70]
vmovss xmm3, dword [0x180130714]
xor eax, eax
vxorps xmm11, xmm11, xmm11
vmovss dword [rbp + 0x50], xmm0
vmovss dword [rsp + 0x78], xmm11
cmp r13, rdx
jne 0x18003b6f8
vxorps xmm13, xmm13, xmm13
jmp 0x18003b749
mov rcx, qword [rbx + 0x3c68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rdx, [rbp + 0x210]
mov qword [rsp + 0x28], r13
vmovaps xmm2, xmm6
vmovss dword [rsp + 0x20], xmm0
call fcn.180028aa0
vmovss xmm0, dword [rbp + 0x210]
vaddss xmm1, xmm0, dword [0x1801305b4]
vmovss xmm6, dword [rbp + 0x214]
vcvttss2si eax, xmm1
vxorps xmm13, xmm13, xmm13
vcvtsi2ss xmm13, xmm13, eax
vmovss xmm0, dword [rbx + 0x3808]
vaddss xmm1, xmm0, xmm0
vaddss xmm9, xmm1, dword [rbx + 0x3c70]
vmovss dword [rbp + 0xc], xmm13
test dil, dil
je 0x18003b77a
vmovss xmm0, dword [r14 + 0x3c70]
vmulss xmm1, xmm0, dword [0x180130658]
jmp 0x18003b77e
vmovaps xmm1, xmm6
vcomiss xmm13, xmm11
vmovss xmm8, dword [r14 + 0x3808]
vaddss xmm0, xmm8, xmm8
vaddss xmm10, xmm0, xmm1
jbe 0x18003b7a2
vaddss xmm7, xmm9, dword [r14 + 0x381c]
jmp 0x18003b7a6
vxorps xmm7, xmm7, xmm7
call fcn.180016740
mov rdx, qword [rbp + 0x200]
lea rcx, [rbp + 0x210]
vsubss xmm2, xmm0, xmm7
vmovaps xmm3, xmm10
mov rdx, qword [rdx]
call fcn.1800167c0
vcomiss xmm13, xmm11
vcmpltss xmm0, xmm11, xmm13
vblendvps xmm2, xmm11, xmm6, xmm0
jbe 0x18003b7e8
vaddss xmm1, xmm9, dword [r14 + 0x381c]
jmp 0x18003b7ec
vxorps xmm1, xmm1, xmm1
vmovss xmm14, dword [rbp + 0x210]
vmovss xmm12, dword [rbp + 0x214]
vmovss xmm6, dword [r15 + 0x100]
vmovss xmm7, dword [r15 + 0x104]
vaddss xmm0, xmm6, xmm14
vaddss xmm3, xmm0, xmm1
vaddss xmm1, xmm7, xmm12
vaddss xmm4, xmm1, xmm2
vmovss dword [rbp - 8], xmm14
vmovss dword [rbp + 8], xmm12
jbe 0x18003b837
vaddss xmm0, xmm9, dword [r14 + 0x381c]
jmp 0x18003b83b
vxorps xmm0, xmm0, xmm0
lea rcx, [rbp + 0x210]
mov rbx, r15
mov qword [rbp - 0x40], rbx
vaddss xmm13, xmm6, xmm0
vaddss xmm9, xmm7, xmm2
vpxor xmm0, xmm0, xmm0
vaddss xmm1, xmm13, xmm14
vmovups ymmword [rbp + 0xb0], ymm0
vsubss xmm0, xmm1, xmm6
vaddss xmm2, xmm9, xmm12
vmovss dword [rbp + 0x210], xmm0
vmovss dword [rbp - 0x30], xmm13
vmovss dword [rbp - 0x28], xmm9
vmovss dword [rbp - 0x78], xmm13
vmovss dword [rbp - 0x74], xmm9
vmovss dword [rbp - 0x70], xmm3
vmovss dword [rbp - 0x6c], xmm4
vmovss dword [rbp + 0x58], xmm6
vmovss dword [rbp + 0x5c], xmm7
vmovss dword [rbp + 0x60], xmm1
vmovss dword [rbp + 0x64], xmm2
test dil, dil
je 0x18003bafe
vsubss xmm2, xmm2, xmm7
vmovaps xmm1, xmm8
vmovss dword [rbp + 0x214], xmm2
vzeroupper
call fcn.1800162a0
lea r8, [rbp - 0x78]
mov edx, r12d
lea rcx, [rbp + 0x58]
mov r9d, 0x400
call fcn.180016430
test al, al
je 0x18003ba40
vmovups ymm0, ymmword [r14 + 0x47e8]
mov rbx, qword [0x180141b18]
lea rdx, [rbp - 0x20]
mov r13d, dword [r14 + 0x47f0]
vmovss dword [r15 + 0x100], xmm6
vmovss dword [r15 + 0x104], xmm7
vmovups ymmword [rbp + 0xb0], ymm0
vmovups xmm0, xmmword [rbx + 0x38e0]
vmovups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0x20], 3
lea rcx, [rbx + 0x4898]
vzeroupper
call fcn.18001e320
vmovups xmm0, xmmword [r14 + 0x3920]
vmovups xmmword [rbx + 0x38e0], xmm0
vmovss xmm1, dword [r14 + 0x380c]
mov ecx, 7
call fcn.1800074c0
vmovss xmm1, dword [r14 + 0x3810]
mov ecx, 8
call fcn.1800074c0
lea rdx, [rbp + 0x210]
mov ecx, 2
vmovss dword [rbp + 0x210], xmm11
vmovss dword [rbp + 0x214], xmm11
call fcn.180007540
vmovss xmm0, dword [rbp - 0x70]
vmovss xmm13, dword [rbp - 0x78]
vmovss xmm9, dword [rbp - 0x74]
mov rcx, qword [rbp + 0x1e0]
lea r8, [rbp + 0x210]
vsubss xmm1, xmm0, xmm13
vmovss xmm0, dword [rbp - 0x6c]
vmovss dword [rbp + 0x210], xmm1
vsubss xmm1, xmm0, xmm9
mov edx, r12d
mov dword [rsp + 0x20], 4
vmovss dword [rbp + 0x214], xmm1
vmovss dword [rbp - 0x30], xmm13
vmovss dword [rbp - 0x28], xmm9
call fcn.18000e050
mov ecx, 3
movzx ebx, al
call fcn.1800075d0
mov r8, qword [0x180141b18]
movsxd rcx, dword [r8 + 0x4898]
cmp ecx, 1
jl 0x18003ba37
lea rdx, [rcx + rcx*4]
mov rcx, qword [r8 + 0x48a0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
vmovups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x38b
add rax, rax
vmovups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4898]
test bl, bl
jne 0x18003ba9b
call fcn.18000e2b0
call fcn.180016a00
xor al, al
lea r11, [rsp + 0x298]
vmovaps xmm6, xmmword [r11 - 0x18]
vmovaps xmm7, xmmword [r11 - 0x28]
vmovaps xmm8, xmmword [r11 - 0x38]
vmovaps xmm9, xmmword [r11 - 0x48]
vmovaps xmm10, xmmword [r11 - 0x58]
vmovaps xmm11, xmmword [r11 - 0x68]
vmovaps xmm12, xmmword [r11 - 0x78]
vmovaps xmm13, xmmword [r11 - 0x88]
vmovaps xmm14, xmmword [r11 - 0x98]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [r14 + 0x3f48]
mov qword [rbp - 0x40], rbx
vmovss xmm0, dword [rbx + 0x100]
movsx ecx, word [rbx + 0x15e]
mov eax, dword [rbx + 0x158]
bts ecx, eax
vsubss xmm14, xmm14, dword [rbx + 0xac]
mov word [rbx + 0x15e], cx
vaddss xmm1, xmm0, dword [r14 + 0x3804]
vmovss dword [rbx + 0x100], xmm1
vmovss xmm0, dword [r14 + 0x3808]
vaddss xmm1, xmm0, dword [rbx + 0x104]
vmovss dword [rbx + 0x104], xmm1
vmovss dword [rbp - 8], xmm14
jmp 0x18003bb56
vsubss xmm1, xmm2, xmm7
vmovss dword [rbp + 0x214], xmm1
vmovaps xmm1, xmm8
vzeroupper
call fcn.1800162a0
bt esi, 0x1c
jb 0x18003bb4f
mov r9d, 0x400
lea r8, [rbp - 0x78]
mov edx, r12d
lea rcx, [rbp + 0x58]
call fcn.180016430
test al, al
je 0x18003ba45
vmovss xmm9, dword [rbp - 0x74]
vmovss xmm13, dword [rbp - 0x78]
vmovss dword [rbp - 0x28], xmm9
vmovss dword [rbp - 0x30], xmm13
mov r13d, dword [r14 + 0x47f0]
mov r8d, dword [r14 + 0x47ec]
lea rcx, [rbp - 0x78]
mov edx, r12d
call fcn.18000b070
mov byte [rsp + 0x70], al
test al, al
je 0x18003bb7c
mov dword [r14 + 0x4c88], 1
mov rsi, qword [0x180141b18]
test r12d, r12d
je 0x18003bb9a
cmp dword [rsi + 0x4ca0], r12d
jne 0x18003bb9a
add rsi, 0x4c98
jmp 0x18003bb9c
xor esi, esi
mov edi, dword [r14 + 0x3fa8]
shr r13d, 8
and r13b, 1
mov qword [rbp], rsi
mov dword [rbp - 0x48], r13d
cmp edi, r12d
je 0x18003bbdc
cmp dword [r14 + 0x4950], r12d
jne 0x18003bbdc
test byte [r14 + 0x495c], 1
jne 0x18003bbd5
cmp dword [r14 + 0x4974], 2
jne 0x18003bbdc
mov byte [rsp + 0x50], 1
jmp 0x18003bbe1
mov byte [rsp + 0x50], 0
test al, al
je 0x18003bbf6
cmp byte [r14 + 0x3740], 0
mov byte [rbp + 0x210], 1
jne 0x18003bbfd
mov byte [rbp + 0x210], 0
mov edx, dword [rsp + 0x6c]
test dl, dl
je 0x18003bc40
test rsi, rsi
je 0x18003bc40
test edi, edi
jne 0x18003bc40
movsxd rax, dword [rbx + 0xf0]
lea rcx, str.SCROLLY
mov r8, qword [rbx + 0xf8]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180006870
cmp dword [r14 + 0x3fd8], eax
jne 0x18003bc3c
mov bl, 1
jmp 0x18003bc4b
mov edx, dword [rsp + 0x6c]
xor bl, bl
test dl, dl
je 0x18003bc96
test rsi, rsi
je 0x18003bc96
mov r12, qword [rbp - 0x40]
lea rcx, str.SCROLLY
xor edx, edx
movsxd rax, dword [r12 + 0xf0]
mov r8, qword [r12 + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180006870
mov edx, dword [rsp + 0x6c]
cmp edi, eax
jne 0x18003bc9a
vmovss xmm10, dword [r12 + 0x88]
mov cl, 1
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x51], cl
mov byte [rsp + 0x54], 0
jmp 0x18003bcc6
mov r12, qword [rbp - 0x40]
xor cl, cl
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x51], cl
test dl, dl
je 0x18003bcba
vmovss xmm10, dword [r12 + 0x88]
jmp 0x18003bcc6
vmovss xmm10, dword [0x180130714]
mov byte [rsp + 0x51], cl
test rsi, rsi
je 0x18003bcda
movzx eax, dl
xor al, 1
cmp byte [rsi + 0x6b], al
je 0x18003bcda
mov r12b, 1
jmp 0x18003bcdd
xor r12b, r12b
cmp byte [rbp + 0x210], 0
jne 0x18003bd06
test bl, bl
jne 0x18003bd06
cmp byte [rsp + 0x50], bl
jne 0x18003bd06
test r13b, r13b
jne 0x18003bd06
mov byte [rbp + 0x218], r13b
test cl, cl
jne 0x18003bd0d
mov byte [rsp + 0x60], cl
jmp 0x18003bd18
mov byte [rbp + 0x218], 1
mov byte [rsp + 0x60], 1
cmp edi, dword [rsp + 0x74]
jne 0x18003bd21
test r12b, r12b
je 0x18003bf7c
lea rsi, [r14 + 0x4c98]
mov dword [rsi + 0xe80], 0xbe99999a
mov ecx, dword [rsi + 8]
mov qword [rbp], rsi
call fcn.18003b4a0
mov rax, qword [rbp + 0x1f0]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18003bd50
mov ecx, dword [rsi + 0x3c]
lea edi, [rbx + 1]
cmp edi, ecx
jle 0x18003bd87
test ecx, ecx
je 0x18003bd72
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003bd77
mov eax, 8
cmp eax, edi
lea rcx, [rsi + 0x38]
mov edx, edi
cmovg edx, eax
call fcn.18001e980
mov r15, qword [rbp + 0x1f0]
mov dword [rsi + 0x38], edi
mov rdx, r15
mov rcx, qword [rsi + 0x40]
movsxd r8, edi
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [rsp + 0x74]
cmp dword [rsi + 8], edi
jne 0x18003bdd0
test r12b, r12b
jne 0x18003bdd0
mov r13b, 1
cmp dword [rsi + 0x10], ebx
jne 0x18003bdd0
cmp byte [rsi + 0x48], r12b
je 0x18003bdd3
mov rcx, qword [rsi + 0x30]
mov rdx, r15
movsxd r8, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18003bdd3
xor r13b, r13b
mov ebx, dword [rbp + 0x1f8]
inc ebx
mov dword [rsi + 8], edi
mov ecx, dword [rsi + 0x1c]
cmp ebx, ecx
jle 0x18003be09
test ecx, ecx
je 0x18003bdf4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003bdf9
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18001ea20
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x18003be2c
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x28]
test eax, eax
cmovg edx, eax
call fcn.18001e980
xor ecx, ecx
mov rdi, r15
movsxd r15, dword [rbp + 0x1f8]
mov dword [rsi + 0x28], ecx
dec r15
mov r12, qword [rsi + 0x20]
mov byte [rsi + 0x48], cl
mov rbx, r12
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x18003be7d
cmp byte [rdi], 0
je 0x18003be7b
xor r8d, r8d
lea rcx, [rbp - 0x68]
mov rdx, rdi
call fcn.180006bb0
movsxd rcx, eax
movzx eax, word [rbp - 0x68]
add rdi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r15
jb 0x18003be51
xor ecx, ecx
mov rax, qword [rbp + 0x1f0]
mov edx, dword [rsp + 0x6c]
sub edi, eax
mov word [rbx], cx
sub rbx, r12
sar rbx, 1
mov dword [rsi + 0xc], ebx
mov dword [rsi + 0x10], edi
test r13b, r13b
je 0x18003bec2
cmp dword [rsi + 0x54], ebx
mov ecx, ebx
cmovl ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x58], ebx
mov dword [rsi + 0x54], ecx
mov ecx, ebx
cmovl ecx, dword [rsi + 0x58]
cmp dword [rsi + 0x5c], ebx
mov dword [rsi + 0x58], ecx
cmovl ebx, dword [rsi + 0x5c]
mov dword [rsi + 0x5c], ebx
jmp 0x18003bf08
movzx eax, dl
mov qword [rsi + 0x50], 0
xor al, 1
mov dword [rsi + 0xe72], 0x630000
mov byte [rsi + 0x6b], al
mov dword [rsi + 0xe78], ecx
mov dword [rsi + 0xe7c], 0x3e7
mov qword [rsi + 0x58], 0
mov word [rsi + 0x69], 1
mov dword [rsi + 0x70], ecx
mov byte [rsi + 0x68], 0
mov byte [rsi + 0x60], 0
mov dword [rsi + 0x64], ecx
test dl, dl
jne 0x18003bf64
mov r8d, dword [rbp + 0x208]
test r8b, 0x10
mov eax, dword [rsp + 0x54]
mov r8d, 1
movzx eax, al
cmovne eax, r8d
mov dword [rsp + 0x54], eax
cmp byte [rsp + 0x50], dl
je 0x18003bf46
test r13b, r13b
je 0x18003bf41
test byte [r14 + 0x495c], 4
jne 0x18003bf46
mov byte [rsp + 0x54], r8b
cmp byte [rbp - 0x48], 0
jne 0x18003bf5f
cmp byte [rbp + 0x210], 0
je 0x18003bf64
cmp byte [r14 + 0xe1c], 0
je 0x18003bf64
mov byte [rsp + 0x54], r8b
mov r13d, dword [rbp + 0x208]
mov r15, qword [rbp - 0x50]
bt r13d, 0xd
jae 0x18003bf83
mov byte [rsi + 0x60], 1
jmp 0x18003bf83
mov r13d, dword [rbp + 0x208]
movzx r12d, byte [r14 + 0x59]
mov edi, dword [rsp + 0x74]
movzx ebx, byte [rbp + 0x218]
mov byte [rbp - 0x64], r12b
cmp dword [r14 + 0x3fa8], edi
je 0x18003bfd3
test bl, bl
je 0x18003bfc6
mov rdx, r15
mov ecx, edi
call fcn.18000ac50
mov rdx, r15
mov ecx, edi
call fcn.180018270
xor edx, edx
mov rcx, r15
call fcn.180013320
mov edx, dword [rsp + 0x6c]
cmp dword [r14 + 0x3fa8], edi
jne 0x18003c106
cmp byte [rbp + 0x210], 0
je 0x18003bff8
mov rax, qword [0x180141b18]
mov dword [rax + 0x4600], edi
mov dword [rax + 0x45fc], edi
mov word [rax + 0x4604], 0
mov eax, dword [r14 + 0x47b8]
or eax, 3
mov dword [r14 + 0x47b8], eax
test dl, dl
jne 0x18003c012
test r13b, r13b
jns 0x18003c01c
or eax, 0xc
mov dword [r14 + 0x47b8], eax
mov rax, qword [0x180141b18]
mov dword [rax + 0x4048], edi
mov dword [rax + 0x4044], edi
mov word [rax + 0x404c], 0
mov dword [rax + 0x4054], edi
mov dword [rax + 0x4050], edi
mov word [rax + 0x4058], 0
test dl, dl
je 0x18003c07b
mov dword [rax + 0x4030], edi
mov dword [rax + 0x402c], edi
mov word [rax + 0x4034], 0
mov dword [rax + 0x403c], edi
mov dword [rax + 0x4038], edi
mov word [rax + 0x4040], 0
test r12b, r12b
je 0x18003c095
mov dword [rax + 0x466c], edi
mov dword [rax + 0x4668], edi
mov word [rax + 0x4670], 0
test r13d, 0x440
je 0x18003c0cc
mov ecx, 0x200
call fcn.1800141b0
mov rdx, qword [0x180141b18]
lea ecx, [rdi - 1]
cmp ecx, 0xfffffffd
mov ecx, edi
jbe 0x18003c0bf
mov ecx, dword [rdx + 0x47c4]
cmp byte [rax + 4], 0
jbe 0x18003c0cc
mov dword [rax + 0xc], ecx
mov byte [rax + 4], 0
cmp dword [r14 + 0x3fa8], edi
jne 0x18003c106
test rsi, rsi
jne 0x18003c0df
call fcn.18000ad50
cmp dword [r14 + 0x3fa8], edi
jne 0x18003c106
cmp byte [r14 + 0x3740], 0
je 0x18003c112
cmp byte [rsp + 0x60], 0
jne 0x18003c112
test bl, bl
jne 0x18003c112
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x18003c118
test rsi, rsi
je 0x18003c116
cmp byte [rsp + 0x51], 0
je 0x18003c116
mov cl, 1
jmp 0x18003c118
xor cl, cl
mov byte [rbp + 0x210], cl
test rsi, rsi
je 0x18003c13a
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003c132
cmp byte [rsp + 0x54], 0
je 0x18003c13a
test cl, cl
je 0x18003c13a
mov dl, 1
jmp 0x18003c13c
xor dl, dl
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x5c], edx
movzx r13d, dl
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x60], 0
test al, al
je 0x18003c25a
test rsi, rsi
je 0x18003c25a
test cl, cl
jne 0x18003c16f
test dl, dl
je 0x18003c262
mov r15d, dword [rbp + 0x1f8]
mov ecx, dword [rsi + 0x1c]
inc r15d
cmp r15d, ecx
jle 0x18003c1a7
test ecx, ecx
je 0x18003c190
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003c195
mov eax, 8
cmp eax, r15d
lea rcx, [rsi + 0x18]
mov edx, r15d
cmovg edx, eax
call fcn.18001ea20
mov rcx, qword [rbp + 0x1f0]
mov dword [rsi + 0x18], r15d
mov rdi, rcx
mov r12, qword [rsi + 0x20]
movsxd r15, r15d
mov rbx, r12
dec r15
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x18003c207
nop dword [rax + rax]
cmp byte [rdi], 0
je 0x18003c200
xor r8d, r8d
lea rcx, [rbp + 0x218]
mov rdx, rdi
call fcn.180006bb0
movsxd rcx, eax
movzx eax, word [rbp + 0x218]
add rdi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r15
jb 0x18003c1d0
mov rcx, qword [rbp + 0x1f0]
mov eax, dword [rsp + 0x64]
sub edi, ecx
xor edx, edx
mov word [rbx], dx
sub rbx, r12
movzx r12d, byte [rbp - 0x64]
sar rbx, 1
cmp dword [rsi + 0x54], ebx
mov ecx, ebx
mov dword [rsi + 0xc], ebx
cmovl ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x58], ebx
mov dword [rsi + 0x54], ecx
mov ecx, ebx
cmovl ecx, dword [rsi + 0x58]
cmp dword [rsi + 0x5c], ebx
mov dword [rsi + 0x10], edi
cmovl ebx, dword [rsi + 0x5c]
mov edi, dword [rsp + 0x74]
cmp ecx, ebx
mov dword [rsi + 0x58], ecx
movzx ecx, byte [rbp + 0x210]
cmovne edx, r13d
mov dword [rsp + 0x5c], edx
mov dword [rsi + 0x5c], ebx
test cl, cl
jne 0x18003c26b
test dl, dl
jne 0x18003c26b
cmp dword [r14 + 0x3fa8], edi
jne 0x18003c27d
test al, al
jne 0x18003c27d
test rsi, rsi
je 0x18003c27d
cmp byte [rsi + 0x48], al
je 0x18003c27d
mov al, 1
jmp 0x18003c27f
xor al, al
cmp qword [rbp + 0x1e8], 0
mov byte [rbp - 0x60], al
je 0x18003c2a6
test al, al
je 0x18003c296
mov rax, qword [rsi + 0x30]
jmp 0x18003c29d
mov rax, qword [rbp + 0x1f0]
cmp byte [rax], 0
jne 0x18003c2a6
mov al, 1
jmp 0x18003c2a8
xor al, al
cmp byte [rbp - 0x2c], 0
mov byte [rbp + 0x218], al
je 0x18003c383
test al, al
jne 0x18003c383
mov rdx, qword [r14 + 0x3c68]
cmp dword [rdx + 0x18], 0x2a
ja 0x18003c2d3
mov r8, qword [rdx + 0x38]
jmp 0x18003c2f7
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18003c2eb
mov r8, qword [rdx + 0x38]
jmp 0x18003c2f7
mov rax, qword [rdx + 0x30]
lea rcx, [rcx + rcx*4]
lea r8, [rax + rcx*8]
mov eax, dword [rdx + 0x14]
lea rdi, [r14 + 0x5b40]
mov rbx, qword [0x180141b18]
mov dword [rdi + 0x14], eax
mov rax, qword [r14 + 0x3c68]
mov qword [rbp - 0x50], rdi
mov ecx, dword [rax + 0x64]
mov dword [rdi + 0x64], ecx
mov rax, qword [r14 + 0x3c68]
mov ecx, dword [rax + 0x68]
mov dword [rdi + 0x68], ecx
mov rax, qword [r14 + 0x3c68]
mov ecx, dword [rax + 0x6c]
mov dword [rdi + 0x6c], ecx
mov rax, qword [r14 + 0x3c68]
mov rcx, qword [rax + 0x40]
mov qword [rdi + 0x40], rcx
mov rcx, rdi
mov qword [rdi + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rdi + 0x10], eax
call fcn.1800136f0
lea rcx, [rbx + 0x48b8]
lea rdx, [rbp - 0x50]
call fcn.18001e6c0
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3f48]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.180020730
mov r13d, dword [rsp + 0x74]
xor eax, eax
mov ebx, 0x20000c
mov dword [rbp - 0x48], eax
vmovss xmm3, dword [0x180130570]
cmp dword [r14 + 0x3fa8], r13d
jne 0x18003c8a5
mov eax, dword [rsi + 0x10]
mov edi, dword [rbp + 0x208]
mov r15d, dword [rsp + 0x6c]
mov byte [rsi + 0xe86], 0
mov dword [rsi + 0xe88], edi
mov dword [rbp - 0x48], eax
mov eax, dword [rbp + 0x1f8]
mov dword [rsi + 0x4c], eax
cmp byte [r14 + 0xe08], 0
sete al
mov byte [r14 + 0x3fb5], al
vmovss xmm0, dword [r14 + 0xe00]
vsubss xmm1, xmm0, xmm13
vsubss xmm2, xmm1, dword [r14 + 0x3804]
vaddss xmm6, xmm2, dword [rsi + 0x50]
test r15b, r15b
je 0x18003c418
mov rax, qword [rbp - 0x40]
vmovss xmm0, dword [r14 + 0xe04]
vsubss xmm2, xmm0, dword [rax + 0x104]
jmp 0x18003c425
vmovss xmm0, dword [r14 + 0x3c70]
vmulss xmm2, xmm0, xmm3
cmp byte [rsp + 0x54], 0
je 0x18003c44c
mov eax, dword [rsi + 0xc]
xor r15d, r15d
mov dword [rsi + 0x58], r15d
mov byte [rsi + 0x6a], r15b
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe85], 1
jmp 0x18003c730
movzx eax, byte [rsp + 0x70]
test al, al
je 0x18003c5f4
cmp word [r14 + 0x374a], 2
jb 0x18003c5f4
cmp byte [r14 + 0xe1d], 0
jne 0x18003c5f4
cmp byte [rsi + 0x6b], 0
je 0x18003c490
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.180038fc0
vmovss xmm2, dword [rbp - 0x14]
vmovaps xmm1, xmm6
mov rcx, rsi
call fcn.180039560
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x58], eax
mov dword [rsi + 0x5c], eax
mov byte [rsi + 0x6a], 0
test byte [r14 + 0x374a], 1
jne 0x18003c565
test eax, eax
je 0x18003c4ce
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18003c4ce
xor cl, cl
jmp 0x18003c4d0
mov cl, 1
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003c4dc
test cl, cl
jne 0x18003c4fc
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180039a20
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003c517
cmp dword [rsi + 0x58], eax
jne 0x18003c514
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18003c517
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.1800391a0
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x5c], eax
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0xc]
cmp ecx, edx
je 0x18003c54e
cmp ecx, eax
jle 0x18003c53e
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18003c547
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18003c54e
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18003c5e9
mov edi, dword [rbp + 0x208]
mov dword [rsi + 0x54], eax
jmp 0x18003c723
movsxd rcx, eax
lea rdx, [rsi + 0x54]
mov rax, qword [rsi + 0x20]
mov r8d, 0x200004
movzx ebx, word [rax + rcx*2]
mov rcx, rsi
call fcn.180039a20
mov r8d, 0x600005
mov byte [rsi + 0xe84], 1
lea rdx, [rsi + 0x54]
mov dword [rsi + 0xe80], 0xbe99999a
mov rcx, rsi
call fcn.180039a20
mov r8d, 0x600001
mov byte [rsi + 0xe84], 1
lea rdx, [rsi + 0x54]
mov dword [rsi + 0xe80], 0xbe99999a
mov rcx, rsi
call fcn.180039a20
cmp bx, 0xa
je 0x18003c5e2
test r15b, r15b
je 0x18003c5e2
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0x5c]
mov dword [rsi + 0x58], eax
mov dword [rsi + 0x5c], ecx
mov dword [rsi + 0x54], ecx
mov byte [rsi + 0xe84], 0
mov edi, dword [rbp + 0x208]
jmp 0x18003c723
cmp byte [r14 + 0x3740], 0
je 0x18003c6ab
cmp byte [rsi + 0xe85], 0
jne 0x18003c6ab
test al, al
je 0x18003c72d
cmp byte [r14 + 0xe1d], 0
je 0x18003c66b
cmp byte [rsi + 0x6b], 0
je 0x18003c63b
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.180038fc0
vmovss xmm2, dword [rbp - 0x14]
mov eax, dword [rsi + 0x5c]
lea rbx, [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003c64d
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
vmovaps xmm1, xmm6
mov rcx, rsi
call fcn.180039560
mov ecx, 0x54
mov dword [rbx], eax
mov rdx, rsi
mov dword [rcx + rdx], eax
jmp 0x18003c723
cmp byte [rsi + 0x6b], 0
je 0x18003c685
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.180038fc0
vmovss xmm2, dword [rbp - 0x14]
vmovaps xmm1, xmm6
mov rcx, rsi
call fcn.180039560
mov dword [rsi + 0x58], eax
lea rbx, [rsi + 0x5c]
mov byte [rsi + 0x6a], 0
mov ecx, 0x54
mov dword [rbx], eax
mov rdx, rsi
mov dword [rcx + rdx], eax
jmp 0x18003c723
cmp byte [r14 + 0xe08], 0
je 0x18003c72d
cmp byte [rsi + 0xe85], 0
jne 0x18003c72d
vmovss xmm0, dword [r14 + 0xf4]
vucomiss xmm0, xmm11
jp 0x18003c6e2
jne 0x18003c6e2
vmovss xmm0, dword [r14 + 0xf8]
vucomiss xmm0, xmm11
jp 0x18003c6e2
je 0x18003c72d
cmp byte [rsi + 0x6b], 0
je 0x18003c6fc
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.180038fc0
vmovss xmm2, dword [rbp - 0x14]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003c70a
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
vmovaps xmm1, xmm6
mov rcx, rsi
call fcn.180039560
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
xor r15d, r15d
cmp byte [rsi + 0xe85], 0
je 0x18003c74a
cmp byte [r14 + 0xe08], 0
jne 0x18003c74a
mov byte [rsi + 0xe85], 0
bt edi, 0xa
jae 0x18003c7b2
xor r8d, r8d
mov edx, r13d
mov ecx, 0x200
call fcn.1800161a0
mov ecx, dword [rsp + 0x64]
test al, al
je 0x18003c7b6
test cl, cl
jne 0x18003c7b6
mov r8d, edi
mov dword [rsp + 0x54], 9
lea rdx, [rsp + 0x54]
mov dword [rsp + 0x28], 2
mov rcx, r14
call fcn.18003b030
test al, al
je 0x18003c7b2
mov r8d, dword [rsp + 0x54]
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180039a20
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov ecx, dword [rsp + 0x64]
cmp byte [r14 + 0xe1c], 0
je 0x18003c7ca
cmp byte [r14 + 0xe1e], 0
je 0x18003c7d9
test r12b, r12b
je 0x18003c7dd
cmp byte [r14 + 0xe1f], 0
je 0x18003c7dd
mov al, 1
jmp 0x18003c7df
xor al, al
cmp dword [r14 + 0x37b8], 0
jle 0x18003c8a5
test al, al
jne 0x18003c876
test cl, cl
jne 0x18003c876
cmp byte [rsp + 0x50], cl
jne 0x18003c876
mov r13d, dword [rbp + 0x208]
mov edi, r15d
mov rbx, r15
nop dword [rax]
mov rax, qword [r14 + 0x37c0]
movzx ecx, word [rbx + rax]
mov dword [rsp + 0x54], ecx
cmp ecx, 9
je 0x18003c862
mov r8d, r13d
mov dword [rsp + 0x28], 2
lea rdx, [rsp + 0x54]
mov rcx, r14
call fcn.18003b030
test al, al
je 0x18003c862
mov r8d, dword [rsp + 0x54]
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180039a20
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r14 + 0x37b8]
jl 0x18003c810
mov r13d, dword [rsp + 0x74]
mov ecx, dword [r14 + 0x37bc]
test ecx, ecx
jns 0x18003c89e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [r14 + 0x37b8]
test eax, eax
cmovg edx, eax
call fcn.18001ea20
mov dword [r14 + 0x37b8], r15d
xor r15b, r15b
mov byte [rbp - 0x80], r15b
cmp dword [r14 + 0x3fa8], r13d
jne 0x18003d43d
cmp byte [r14 + 0x3fb4], r15b
jne 0x18003d43d
cmp byte [rsp + 0x58], r15b
jne 0x18003d43d
vsubss xmm0, xmm12, dword [r14 + 0x3808]
vdivss xmm1, xmm0, dword [r14 + 0x3c70]
vcvttss2si eax, xmm1
mov edi, 1
cmp eax, edi
mov ecx, edi
cmovge ecx, eax
mov dword [rsi + 0x64], ecx
movzx eax, byte [r14 + 0xe1d]
neg al
mov dword [rsp + 0x54], ecx
sbb ebx, ebx
and ebx, 0x400000
test r12b, r12b
je 0x18003c939
movzx eax, byte [r14 + 0xe1e]
mov byte [rsp + 0x68], al
cmp byte [r14 + 0xe1f], r15b
je 0x18003c945
cmp byte [r14 + 0xe1c], r15b
jne 0x18003c945
test al, al
jne 0x18003c945
movzx r13d, dil
jmp 0x18003c948
movzx eax, byte [r14 + 0xe1c]
mov byte [rsp + 0x68], al
xor r13b, r13b
mov r15d, dword [rsp + 0x74]
mov r8d, edi
mov edx, r15d
mov ecx, 0xa39
call fcn.1800161a0
test al, al
jne 0x18003c975
mov r8d, edi
mov edx, r15d
mov ecx, 0x220a
call fcn.1800161a0
test al, al
je 0x18003c99a
cmp byte [rsp + 0x64], 0
mov edi, dword [rsp + 0x6c]
jne 0x18003c99e
cmp byte [rbp - 0x2c], 0
jne 0x18003c99e
test dil, dil
je 0x18003c993
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18003c99e
mov byte [rsp + 0x50], 1
jmp 0x18003c9a3
mov edi, dword [rsp + 0x6c]
mov byte [rsp + 0x50], 0
xor r8d, r8d
mov edx, r15d
mov ecx, 0xa24
call fcn.1800161a0
test al, al
jne 0x18003c9cb
xor r8d, r8d
mov edx, r15d
mov ecx, 0x1209
call fcn.1800161a0
test al, al
je 0x18003c9e4
cmp byte [rbp - 0x2c], 0
jne 0x18003c9e4
test dil, dil
je 0x18003c9de
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18003c9e4
mov byte [rbp - 0x61], 1
jmp 0x18003c9e8
mov byte [rbp - 0x61], 0
mov edi, 1
mov edx, r15d
mov r8d, edi
mov ecx, 0xa37
call fcn.1800161a0
test al, al
jne 0x18003ca15
mov r8d, edi
mov edx, r15d
mov ecx, 0x2209
call fcn.1800161a0
test al, al
je 0x18003ca25
mov edi, dword [rsp + 0x64]
test dil, dil
jne 0x18003ca29
mov byte [rsp + 0x70], 1
jmp 0x18003ca2e
mov edi, dword [rsp + 0x64]
mov byte [rsp + 0x70], 0
mov r8d, 1
mov edx, r15d
mov ecx, 0xa3b
call fcn.1800161a0
test al, al
je 0x18003ca58
test dil, dil
mov edi, dword [rbp - 0x58]
jne 0x18003ca5b
test dil, dil
je 0x18003ca5b
mov byte [rbp - 0x63], 1
jmp 0x18003ca5f
mov edi, dword [rbp - 0x58]
mov byte [rbp - 0x63], 0
mov r8d, 1
mov edx, r15d
mov ecx, 0xa3a
call fcn.1800161a0
test al, al
jne 0x18003ca92
test r12b, r12b
je 0x18003caa2
mov r8d, 1
mov edx, r15d
mov ecx, 0x2a3b
call fcn.1800161a0
test al, al
je 0x18003caa2
cmp byte [rsp + 0x64], 0
jne 0x18003caa2
mov byte [rbp - 0x62], 1
test dil, dil
jne 0x18003caa6
mov byte [rbp - 0x62], 0
xor r8d, r8d
mov edx, r15d
mov ecx, 0xa22
call fcn.1800161a0
test byte [r14 + 8], 2
mov byte [rbp - 0x5f], al
je 0x18003cacc
test byte [r14 + 0xc], 1
je 0x18003cacc
mov dil, 1
jmp 0x18003cacf
xor dil, dil
mov r15d, 1
xor edx, edx
mov r8d, r15d
mov ecx, 0x20d
call fcn.180014510
test al, al
jne 0x18003cb00
mov r8d, r15d
xor edx, edx
mov ecx, 0x267
call fcn.180014510
test al, al
jne 0x18003cb00
xor r12b, r12b
jmp 0x18003cb04
movzx r12d, r15b
test dil, dil
je 0x18003cb2f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180014510
test al, al
jne 0x18003cb32
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180014510
test al, al
jne 0x18003cb32
xor r15b, r15b
mov edx, dword [rsp + 0x74]
mov r8d, 1
mov ecx, 0x20e
call fcn.1800161a0
test al, al
jne 0x18003cb6c
test dil, dil
je 0x18003cb67
mov edx, dword [rsp + 0x74]
mov r8d, 1
mov ecx, 0x26c
call fcn.1800161a0
test al, al
jne 0x18003cb6c
xor dil, dil
jmp 0x18003cb6f
mov dil, 1
xor edx, edx
mov ecx, 0x201
mov r8d, 1
call fcn.180014510
test al, al
je 0x18003cbca
test r13b, r13b
je 0x18003cb91
mov eax, 0x200004
jmp 0x18003cba3
cmp byte [rsp + 0x68], 0
mov eax, 0x200000
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
mov r8d, ebx
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180039a20
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18003d412
xor edx, edx
mov ecx, 0x202
mov r8d, 1
call fcn.180014510
test al, al
je 0x18003cc04
test r13b, r13b
je 0x18003cbee
mov ecx, 0x200005
or ebx, ecx
jmp 0x18003cba5
cmp byte [rsp + 0x68], 0
mov ecx, 0x200001
mov eax, 0x20000d
cmovne ecx, eax
or ebx, ecx
jmp 0x18003cba5
xor edx, edx
mov ecx, 0x203
mov r8d, 1
call fcn.180014510
test al, al
je 0x18003cc74
cmp byte [rsp + 0x6c], 0
je 0x18003cc74
cmp byte [r14 + 0xe1c], 0
je 0x18003cc60
mov rdx, qword [rbp - 0x40]
xor eax, eax
vmovss xmm0, dword [rdx + 0x88]
vsubss xmm1, xmm0, dword [r14 + 0x3c70]
vmaxss xmm1, xmm1, xmm11
vmovss dword [rdx + 0x98], xmm1
mov dword [rdx + 0xa0], eax
mov dword [rdx + 0xa8], eax
jmp 0x18003d412
movzx eax, r13b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
jmp 0x18003cba8
xor edx, edx
mov ecx, 0x204
mov r8d, 1
call fcn.180014510
test al, al
je 0x18003ccf5
cmp byte [rsp + 0x6c], 0
je 0x18003ccf5
cmp byte [r14 + 0xe1c], 0
je 0x18003cce1
vmovss xmm0, dword [r14 + 0x3c70]
mov rdx, qword [rbp - 0x40]
mov rax, qword [0x180141b18]
vaddss xmm1, xmm0, dword [rdx + 0x88]
mov rcx, qword [rax + 0x3f48]
xor eax, eax
vminss xmm0, xmm1, dword [rcx + 0x90]
vmovss dword [rdx + 0x98], xmm0
mov dword [rdx + 0xa0], eax
mov dword [rdx + 0xa8], eax
jmp 0x18003d412
movzx eax, r13b
lea r8d, [rax*4 + 0x200003]
or r8d, ebx
jmp 0x18003cba8
xor edx, edx
mov ecx, 0x205
mov r8d, 1
call fcn.180014510
mov r13d, dword [rsp + 0x6c]
test al, al
je 0x18003cd57
test r13b, r13b
je 0x18003cd57
or ebx, 0x20000e
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180039a20
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x54]
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
vmulss xmm0, xmm0, dword [r14 + 0x3c70]
vsubss xmm10, xmm10, xmm0
jmp 0x18003d412
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.180014510
test al, al
je 0x18003cdb4
test r13b, r13b
je 0x18003cdb4
or ebx, 0x20000f
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180039a20
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x54]
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
vmulss xmm0, xmm0, dword [r14 + 0x3c70]
vaddss xmm10, xmm10, xmm0
jmp 0x18003d412
mov r13d, 1
xor edx, edx
mov r8d, r13d
mov ecx, 0x207
call fcn.180014510
test al, al
je 0x18003ce0a
mov eax, ebx
lea rdx, [rsi + 0x54]
or eax, 0x200006
or ebx, 0x200004
cmp byte [r14 + 0xe1c], 0
mov rcx, rsi
cmovne ebx, eax
mov r8d, ebx
call fcn.180039a20
mov byte [rsi + 0xe84], r13b
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18003d412
mov r8d, r13d
xor edx, edx
mov ecx, 0x208
call fcn.180014510
test al, al
je 0x18003ce5b
mov eax, ebx
lea rdx, [rsi + 0x54]
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov rcx, rsi
cmp byte [r14 + 0xe1c], 0
cmovne r8d, eax
call fcn.180039a20
mov byte [rsi + 0xe84], r13b
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18003d412
mov r8d, r13d
xor edx, edx
mov ecx, 0x20a
call fcn.180014510
movzx r13d, byte [rsp + 0x50]
test al, al
je 0x18003cebd
cmp byte [rsp + 0x64], 0
jne 0x18003cebd
test r13b, r13b
jne 0x18003cebd
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003ceb2
cmp byte [rsp + 0x68], r13b
je 0x18003ceb2
lea rdx, [rsi + 0x54]
mov r8d, 0x60000d
mov rcx, rsi
call fcn.180039a20
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x18003cba5
xor edx, edx
mov ecx, 0x20b
mov r8d, 1
call fcn.180014510
mov r8d, dword [rsp + 0x64]
test al, al
je 0x18003cf46
test r8b, r8b
jne 0x18003cf46
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003cf3b
cmp byte [rsp + 0x68], r8b
je 0x18003cef4
mov r8d, 0x60000c
jmp 0x18003cf1e
cmp byte [rbp - 0x64], 0
je 0x18003cf3b
cmp byte [r14 + 0xe1f], 0
je 0x18003cf3b
cmp byte [r14 + 0xe1e], 0
jne 0x18003cf3b
cmp byte [r14 + 0xe1c], 0
jne 0x18003cf3b
mov r8d, 0x600004
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180039a20
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], 1
or ebx, 0x200009
jmp 0x18003cba5
test r12b, r12b
jne 0x18003d389
test r15b, r15b
jne 0x18003d389
test dil, dil
je 0x18003cfb5
test dword [rbp + 0x208], 0x100000
je 0x18003cf9a
mov rax, qword [rbp + 0x1f0]
movzx eax, byte [rax]
test al, al
jne 0x18003cf8d
xor r13b, r13b
mov byte [rsp + 0x58], 1
mov dword [rsp + 0x5c], r13d
test al, al
mov byte [rbp + 0x210], r13b
setne r15b
mov byte [rbp - 0x80], r15b
jmp 0x18003d415
mov r15b, 1
xor cl, cl
xor dl, dl
mov byte [rbp - 0x80], r15b
mov byte [rbp + 0x210], dl
mov byte [rsp + 0x58], r15b
jmp 0x18003d420
movzx eax, byte [rbp - 0x63]
test al, al
jne 0x18003d350
cmp byte [rbp - 0x62], al
jne 0x18003d350
cmp byte [rbp - 0x5f], al
je 0x18003cfed
xor eax, eax
mov byte [rsi + 0x6a], 0
mov dword [rsi + 0x58], eax
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
jmp 0x18003d412
test r13b, r13b
jne 0x18003d1a6
cmp byte [rbp - 0x61], r13b
jne 0x18003d1a6
cmp byte [rsp + 0x70], r13b
je 0x18003d412
mov rcx, qword [0x180141b18]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x18003d03c
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x18003d412
mov rcx, qword [0x180141b18]
jmp 0x18003d043
lea rbx, [0x1800f56d0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x18003d050
test rcx, rcx
je 0x18003d064
inc dword [rcx + 0xf0]
mov rdx, qword [0x180141b38]
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call qword [fcn.180002d30]
xor r13d, r13d
mov qword [rbp - 0x50], rax
mov r12, rax
mov r15d, r13d
cmp byte [rbx], r13b
je 0x18003d0e7
mov r12d, dword [rbp + 0x208]
mov rdi, rax
nop dword [rax + rax]
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov rdx, rbx
call fcn.180006bb0
movsxd rcx, eax
lea rdx, [rbp - 0x58]
add rbx, rcx
mov dword [rsp + 0x28], 4
mov rcx, r14
mov r8d, r12d
call fcn.18003b030
test al, al
je 0x18003d0de
movzx eax, word [rbp - 0x58]
inc r15d
mov word [rdi], ax
add rdi, 2
cmp byte [rbx], r13b
jne 0x18003d0a0
mov r12, qword [rbp - 0x50]
movsxd rax, r15d
mov word [r12 + rax*2], r13w
test r15d, r15d
jle 0x18003d17a
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0xc]
cmp ecx, edx
je 0x18003d11e
cmp ecx, eax
jle 0x18003d10e
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18003d117
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18003d11e
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18003d126
mov dword [rsi + 0x54], eax
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180039980
mov edx, dword [rsi + 0x54]
mov r9d, r15d
mov r8, r12
mov rcx, rsi
call fcn.1800393d0
test al, al
je 0x18003d173
mov edi, dword [rsi + 0x54]
lea rcx, [rsi + 0x74]
xor edx, edx
call fcn.18003ab20
test rax, rax
je 0x18003d16b
mov dword [rax], edi
mov dword [rax + 4], r13d
mov dword [rax + 8], r15d
mov dword [rax + 0xc], 0xffffffff
add dword [rsi + 0x54], r15d
mov byte [rsi + 0x6a], r13b
mov byte [rsi + 0xe84], 1
test r12, r12
je 0x18003d191
mov rax, qword [0x180141b18]
test rax, rax
je 0x18003d191
dec dword [rax + 0xf0]
mov rdx, qword [0x180141b38]
mov rcx, r12
call qword [0x180141310]
jmp 0x18003d412
cmp qword [r14 + 0xb0], 0
je 0x18003d305
mov edi, dword [rsi + 0x5c]
mov eax, dword [rsi + 0x58]
cmp eax, edi
je 0x18003d1ca
mov r15d, edi
cmovge edi, eax
cmovl r15d, eax
jmp 0x18003d1d2
mov edi, dword [rsi + 0xc]
xor eax, eax
mov r15d, eax
mov rcx, qword [rsi + 0x20]
mov r9d, 0x800
movsxd rax, edi
mov r10d, 0x80
lea r8, [rcx + rax*2]
movsxd rax, r15d
lea rdx, [rcx + rax*2]
xor eax, eax
mov ecx, eax
test r8, r8
je 0x18003d1fe
cmp rdx, r8
jae 0x18003d221
movzx eax, word [rdx]
test ax, ax
je 0x18003d221
add rdx, 2
cmp ax, r10w
jae 0x18003d214
inc ecx
jmp 0x18003d1f4
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18003d1f4
mov rax, qword [0x180141b18]
inc ecx
test rax, rax
je 0x18003d235
inc dword [rax + 0xf0]
mov rdx, qword [0x180141b38]
movsxd rbx, ecx
mov rcx, rbx
call qword [fcn.180002d30]
mov rdx, qword [rsi + 0x20]
mov r12, rax
movsxd rcx, edi
mov r9, rax
lea rdi, [rax + rbx]
lea rbx, [rdi - 1]
lea r11, [rdx + rcx*2]
movsxd rcx, r15d
lea r10, [rdx + rcx*2]
cmp rax, rbx
jae 0x18003d2ba
mov r13d, 0x80
test r11, r11
je 0x18003d27d
cmp r10, r11
jae 0x18003d2b4
movzx eax, word [r10]
test ax, ax
je 0x18003d2b4
add r10, 2
mov r8d, eax
cmp eax, r13d
jae 0x18003d29a
mov byte [r9], r8b
inc r9
jmp 0x18003d2af
mov edx, edi
mov rcx, r9
sub edx, r9d
dec edx
call fcn.180006d60
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18003d273
movzx r13d, byte [rsp + 0x50]
mov rax, qword [0x180141b18]
mov byte [r9], 0
mov r8, qword [rax + 0xb0]
test r8, r8
je 0x18003d2e5
mov rcx, qword [rax + 0xb8]
mov rdx, r12
call r8
mov rax, qword [0x180141b18]
test r12, r12
je 0x18003d2f5
test rax, rax
je 0x18003d2f5
dec dword [rax + 0xf0]
mov rdx, qword [0x180141b38]
mov rcx, r12
call qword [0x180141310]
test r13b, r13b
je 0x18003d412
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18003d328
xor eax, eax
mov byte [rsi + 0x6a], 0
mov dword [rsi + 0x58], eax
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18003d412
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180039980
mov byte [rsi + 0x6a], 0
jmp 0x18003d412
mov r8d, eax
lea rdx, [rsi + 0x54]
xor r8d, 1
mov rcx, rsi
add r8d, 0x20000a
call fcn.180039a20
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18003d412
mov edx, dword [rbp + 0x208]
mov eax, edx
mov ecx, dword [rsp + 0x6c]
shr eax, 0xb
and al, 1
test cl, cl
je 0x18003d3b0
test r15b, r15b
jne 0x18003d3b0
test al, al
je 0x18003d3d3
cmp byte [r14 + 0xe1c], r15b
jne 0x18003d3dd
cmp byte [r14 + 0x5c], 0
mov byte [rsp + 0x60], 1
je 0x18003d40d
test cl, cl
jne 0x18003d40d
xor eax, eax
mov byte [rsi + 0x6a], cl
mov dword [rsi + 0x58], eax
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
jmp 0x18003d412
cmp byte [r14 + 0xe1c], 0
jne 0x18003d3b0
test r8b, r8b
jne 0x18003d412
mov r8d, edx
mov dword [rbp - 0x58], 0xa
lea rdx, [rbp - 0x58]
mov dword [rsp + 0x28], 2
mov rcx, r14
call fcn.18003b030
test al, al
je 0x18003d412
mov r8d, dword [rbp - 0x58]
jmp 0x18003cba8
mov byte [rsp + 0x58], 1
xor r15b, r15b
mov ecx, dword [rsp + 0x5c]
movzx edx, byte [rbp + 0x210]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18003d430
test dl, dl
je 0x18003d430
mov al, 1
jmp 0x18003d432
xor al, al
mov r13d, dword [rsp + 0x74]
or cl, al
mov dword [rsp + 0x5c], ecx
xor r10d, r10d
mov qword [rbp - 0x58], r10
mov dword [rsp + 0x54], r10d
cmp dword [r14 + 0x3fa8], r13d
jne 0x18003dba6
mov r12d, dword [rsp + 0x64]
test r12b, r12b
jne 0x18003d714
test r15b, r15b
je 0x18003d675
test dword [rbp + 0x208], 0x100000
je 0x18003d4f1
movsxd rbx, dword [rsi + 0xc]
lea rax, [0x1800f56d0]
mov r8d, ebx
mov qword [rbp - 0x58], rax
lea rcx, [rsi + 0x74]
mov dword [rsp + 0x54], r10d
xor r9d, r9d
mov byte [rsp + 0x51], 1
xor edx, edx
call fcn.18003ac70
mov r9, rax
test rax, rax
je 0x18003d4d5
test ebx, ebx
jle 0x18003d4d5
xor eax, eax
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x20]
movzx ecx, word [rax + rdx*2]
mov word [r9 + rdx*2], cx
inc rdx
cmp rdx, rbx
jl 0x18003d4c0
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.180039300
xor eax, eax
mov qword [rsi + 0x58], rax
mov dword [rsi + 0x54], eax
jmp 0x18003d675
mov r9, qword [rsi + 0x40]
mov rax, qword [rbp + 0x1f0]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18003d515
inc rax
test ecx, ecx
jne 0x18003d502
test edx, edx
je 0x18003d675
mov edx, dword [rsi + 0x38]
mov r12, r9
dec edx
mov qword [rbp - 0x58], r9
mov dword [rsp + 0x54], edx
mov r13d, r10d
mov byte [rsp + 0x51], 1
mov r8, r10
mov qword [rbp - 0x50], r10
test edx, edx
jle 0x18003d62d
movsxd rdi, edx
mov rbx, r9
add rdi, r9
mov r15d, r10d
test rdi, rdi
je 0x18003d55a
cmp rbx, rdi
jae 0x18003d579
cmp byte [rbx], r13b
je 0x18003d579
mov r8, rdi
lea rcx, [rbp - 0x68]
mov rdx, rbx
call fcn.180006bb0
movsxd rcx, eax
add rbx, rcx
inc r15d
jmp 0x18003d550
lea r13d, [r15 + 1]
test r13d, r13d
jle 0x18003d5c3
cmp r13d, 8
mov eax, r13d
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x18003d5c3
mov rcx, qword [0x180141b18]
test rcx, rcx
je 0x18003d5a7
inc dword [rcx + 0xf0]
mov rdx, qword [0x180141b38]
movsxd rcx, eax
add rcx, rcx
call qword [fcn.180002d30]
mov r8, rax
mov qword [rbp - 0x50], rax
jmp 0x18003d5c7
mov r8, qword [rbp - 0x50]
movsxd rdx, dword [rsp + 0x54]
mov rbx, r12
mov rdi, r8
lea r15, [r12 + rdx]
movsxd r12, r13d
dec r12
lea r12, [r8 + r12*2]
cmp r8, r12
jae 0x18003d621
test r15, r15
je 0x18003d5ef
cmp rbx, r15
jae 0x18003d619
cmp byte [rbx], 0
je 0x18003d619
mov r8, r15
lea rcx, [rbp - 0x68]
mov rdx, rbx
call fcn.180006bb0
movsxd rcx, eax
movzx eax, word [rbp - 0x68]
add rbx, rcx
mov word [rdi], ax
add rdi, 2
cmp rdi, r12
jb 0x18003d5e5
mov r8, qword [rbp - 0x50]
mov edx, dword [rsp + 0x54]
movzx r15d, byte [rbp - 0x80]
xor r10d, r10d
mov word [rdi], r10w
test edx, edx
lea r9d, [r13 - 1]
lea rdx, [rsi + 0x54]
mov rcx, rsi
cmovle r9d, r10d
call fcn.18003af70
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18003d66b
mov rax, qword [0x180141b18]
test rax, rax
je 0x18003d65e
dec dword [rax + 0xf0]
mov rdx, qword [0x180141b38]
call qword [0x180141310]
mov r12d, dword [rsp + 0x64]
mov r13d, dword [rsp + 0x74]
mov eax, dword [rsi + 0x18]
mov byte [rsi + 0x48], 1
mov ecx, dword [rsi + 0x2c]
lea ebx, [rax*4 + 1]
cmp ebx, ecx
jle 0x18003d6ae
test ecx, ecx
je 0x18003d699
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003d69e
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.18001e980
mov dword [rsi + 0x28], ebx
mov r9, qword [rsi + 0x30]
mov r10, qword [rsi + 0x20]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x18003d70d
mov r12d, 0x80
nop
movzx eax, word [r10]
test ax, ax
je 0x18003d708
add r10, 2
mov r8d, eax
cmp eax, r12d
jae 0x18003d6ed
mov byte [r9], r8b
inc r9
jmp 0x18003d703
mov edx, r11d
mov rcx, r9
sub edx, r9d
dec edx
call fcn.180006d60
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18003d6d0
mov r12d, dword [rsp + 0x64]
mov byte [r9], 0
xor r10d, r10d
test r15b, r15b
je 0x18003d786
cmp byte [rsp + 0x60], 0
je 0x18003d72c
mov edi, dword [rbp + 0x208]
test dil, 0x20
jne 0x18003d78c
mov r12, qword [rbp + 0x1f0]
mov r13d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x64]
mov r11, qword [rbp - 0x58]
mov r10d, dword [rsp + 0x54]
mov r15d, dword [rsp + 0x74]
cmp dword [r14 + 0x5b28], r15d
jne 0x18003dc48
cmp dword [r14 + 0x3fa8], r15d
je 0x18003dc3d
mov rax, qword [0x180141b18]
mov ecx, dword [rax + 0x47f0]
test cl, 0x20
je 0x18003dbbf
shr ecx, 6
test cl, 1
jmp 0x18003dbd9
mov edi, dword [rbp + 0x208]
test edi, 0x801c0
je 0x18003db4a
mov ebx, r10d
test dil, 0x40
je 0x18003d7c7
xor r8d, r8d
mov edx, r13d
mov ecx, 0x200
call fcn.1800161a0
test al, al
je 0x18003d7c7
mov eax, 0x40
mov ebx, 0x200
xor r10d, r10d
jmp 0x18003d848
test dil, dil
jns 0x18003d81e
mov r15d, 1
xor edx, edx
mov r8d, r15d
mov ecx, 0x203
call fcn.180014510
test al, al
je 0x18003d7f8
mov r11d, 0x80
mov ebx, 0x203
mov eax, r11d
xor r10d, r10d
jmp 0x18003d84e
mov r8d, r15d
xor edx, edx
mov ecx, 0x204
call fcn.180014510
test al, al
je 0x18003d81e
mov r11d, 0x80
mov ebx, 0x204
mov eax, r11d
xor r10d, r10d
jmp 0x18003d84e
mov eax, 0x80000
test eax, edi
je 0x18003d835
cmp byte [rsi + 0xe86], 0
je 0x18003d835
xor r10d, r10d
jmp 0x18003d848
mov ecx, 0x100
mov r10d, 0
test ecx, edi
mov eax, r10d
cmovne eax, ecx
mov r11d, 0x80
test eax, eax
je 0x18003db4a
mov dword [rbp + 0x18], eax
mov rax, qword [rbp + 0x1f0]
mov dword [rbp + 0x28], r10d
mov qword [rbp + 0x41], r10
mov dword [rbp + 0x49], r10d
mov word [rbp + 0x4d], r10w
mov byte [rbp + 0x4f], 0
mov qword [rbp + 0x10], r14
mov dword [rbp + 0x1c], edi
mov qword [rbp + 0x20], r10
test r12b, r12b
jne 0x18003d889
mov rax, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x20]
mov r9d, 0x800
mov qword [rbp + 0x30], rax
mov rcx, rdx
mov eax, dword [rsi + 0x10]
mov dword [rbp + 0x38], eax
mov eax, dword [rsi + 0x4c]
mov dword [rbp + 0x3c], eax
movsxd rax, dword [rsi + 0x54]
mov dword [rbp + 0x2c], ebx
mov ebx, r10d
mov byte [rbp + 0x40], 0
lea r8, [rdx + rax*2]
test r8, r8
je 0x18003d8c2
cmp rcx, r8
jae 0x18003d8e5
movzx eax, word [rcx]
test ax, ax
je 0x18003d8e5
add rcx, 2
cmp ax, r11w
jae 0x18003d8d8
inc ebx
jmp 0x18003d8b8
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18003d8b8
movsxd rax, dword [rsi + 0x58]
mov rcx, rdx
mov dword [rbp + 0x44], ebx
mov r12d, r10d
lea r8, [rdx + rax*2]
test r8, r8
je 0x18003d900
cmp rcx, r8
jae 0x18003d925
movzx eax, word [rcx]
test ax, ax
je 0x18003d925
add rcx, 2
cmp ax, r11w
jae 0x18003d917
inc r12d
jmp 0x18003d8f6
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x18003d8f6
movsxd rax, dword [rsi + 0x5c]
mov r15d, r10d
mov dword [rbp + 0x48], r12d
lea rcx, [rdx + rax*2]
test rcx, rcx
je 0x18003d93e
cmp rdx, rcx
jae 0x18003d963
movzx eax, word [rdx]
test ax, ax
je 0x18003d963
add rdx, 2
cmp ax, r11w
jae 0x18003d955
inc r15d
jmp 0x18003d934
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18003d934
lea rcx, [rbp + 0x10]
mov dword [rbp + 0x4c], r15d
call r10
movsxd rax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x30]
movzx edx, byte [rbp + 0x40]
cmp eax, ebx
jne 0x18003d982
test dl, dl
je 0x18003d9cf
xor r8d, r8d
lea rdi, [rcx + rax]
mov r13d, r8d
mov rbx, rcx
nop
test rdi, rdi
je 0x18003d99a
cmp rbx, rdi
jae 0x18003d9b9
cmp byte [rbx], 0
je 0x18003d9b9
mov r8, rdi
lea rcx, [rbp - 0x68]
mov rdx, rbx
call fcn.180006bb0
movsxd rcx, eax
add rbx, rcx
inc r13d
jmp 0x18003d990
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x30]
movzx edx, byte [rbp + 0x40]
mov dword [rsi + 0x54], r13d
mov byte [rsi + 0xe84], 1
movsxd r13, dword [rbp + 0x48]
cmp r13d, r12d
jne 0x18003d9dc
test dl, dl
je 0x18003da28
cmp r13d, eax
jne 0x18003d9e7
mov r12d, dword [rsi + 0x54]
jmp 0x18003da24
xor eax, eax
lea rdi, [rcx + r13]
mov r12d, eax
mov rbx, rcx
test rdi, rdi
je 0x18003d9fd
cmp rbx, rdi
jae 0x18003da1c
cmp byte [rbx], 0
je 0x18003da1c
mov r8, rdi
lea rcx, [rbp - 0x68]
mov rdx, rbx
call fcn.180006bb0
movsxd rcx, eax
add rbx, rcx
inc r12d
jmp 0x18003d9f3
mov rcx, qword [rbp + 0x30]
movzx edx, byte [rbp + 0x40]
mov dword [rsi + 0x58], r12d
movsxd rax, dword [rbp + 0x4c]
cmp eax, r15d
jne 0x18003da39
test dl, dl
je 0x18003db4a
cmp eax, r13d
jne 0x18003da44
mov r15d, dword [rsi + 0x58]
jmp 0x18003da81
lea rdi, [rcx + rax]
mov rbx, rcx
xor eax, eax
mov r15d, eax
test rdi, rdi
je 0x18003da5a
cmp rbx, rdi
jae 0x18003da79
cmp byte [rbx], 0
je 0x18003da79
mov r8, rdi
lea rcx, [rbp - 0x68]
mov rdx, rbx
call fcn.180006bb0
movsxd rcx, eax
add rbx, rcx
inc r15d
jmp 0x18003da50
mov rcx, qword [rbp + 0x30]
movzx edx, byte [rbp + 0x40]
mov dword [rsi + 0x5c], r15d
test dl, dl
je 0x18003db4a
mov r8d, dword [rbp + 0x38]
mov rdx, rcx
mov rcx, rsi
call fcn.18003b230
mov eax, dword [rbp - 0x48]
mov ebx, dword [rbp + 0x38]
mov r13d, dword [rsp + 0x7c]
cmp ebx, eax
jle 0x18003dae3
test r13b, r13b
je 0x18003dae3
mov ecx, dword [rsi + 0x1c]
sub ebx, eax
add ebx, dword [rsi + 0x18]
cmp ebx, ecx
jle 0x18003dae0
test ecx, ecx
je 0x18003dacb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003dad0
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18001ea20
mov dword [rsi + 0x18], ebx
mov r12, qword [rsi + 0x20]
movsxd r15, dword [rsi + 0x18]
mov rbx, r12
mov rdi, qword [rbp + 0x30]
dec r15
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x18003db2a
nop
cmp byte [rdi], 0
je 0x18003db2a
xor r8d, r8d
lea rcx, [rbp - 0x68]
mov rdx, rdi
call fcn.180006bb0
movsxd rcx, eax
movzx eax, word [rbp - 0x68]
add rdi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r15
jb 0x18003db00
xor eax, eax
mov word [rbx], ax
sub rbx, r12
mov eax, dword [rbp + 0x38]
sar rbx, 1
mov dword [rsi + 0xc], ebx
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18003db4f
mov r13d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x64]
mov r12, qword [rbp + 0x1f0]
test r8b, r8b
jne 0x18003d73d
mov r9, qword [rsi + 0x30]
mov r8, r12
mov rax, r9
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18003db84
inc rax
test ecx, ecx
jne 0x18003db71
mov r8d, dword [rsp + 0x64]
test edx, edx
je 0x18003d73d
mov r10d, dword [rsi + 0x10]
mov r11, r9
mov qword [rbp - 0x58], r9
mov byte [rsp + 0x51], 1
jmp 0x18003d746
mov r12, qword [rbp + 0x1f0]
mov r11, r10
mov r13d, dword [rsp + 0x7c]
mov r8d, dword [rsp + 0x64]
jmp 0x18003d746
mov edx, dword [rax + 0x47e8]
mov ecx, dword [rax + 0x3fd8]
cmp ecx, edx
jne 0x18003dc3d
test ecx, ecx
je 0x18003dc3d
cmp dword [rax + 0x3fa8], edx
je 0x18003dc3d
cmp byte [rax + 0x3fdd], 0
jne 0x18003dbf6
cmp dword [rax + 0x3fa8], 0
jne 0x18003dc3d
cmp byte [rax + 0x3fb8], 0
je 0x18003dc3d
test r8b, r8b
jne 0x18003dc3d
mov r9, qword [r14 + 0x5b38]
mov r8, r12
mov rax, r9
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18003dc23
inc rax
test ecx, ecx
jne 0x18003dc10
test edx, edx
je 0x18003dc3d
mov r10d, dword [r14 + 0x5b30]
mov r11, r9
dec r10d
mov qword [rbp - 0x58], r9
mov byte [rsp + 0x51], 1
xor edx, edx
mov dword [r14 + 0x5b28], edx
jmp 0x18003dc4a
xor edx, edx
test r11, r11
je 0x18003dd12
test r13b, r13b
je 0x18003dce2
mov eax, dword [rbp + 0x208]
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x7c], eax
lea eax, [r10 + 1]
cmp dword [rbp + 0x1f8], eax
vpxor xmm0, xmm0, xmm0
cmovge eax, dword [rbp + 0x1f8]
mov dword [rbp + 0x9c], eax
mov qword [rbp + 0x88], rdx
vmovdqu xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0x70], r14
mov dword [rbp + 0x78], 0x40000
mov qword [rbp + 0x90], r12
mov dword [rbp + 0x98], r10d
mov qword [rbp + 0x80], rdx
call rdx
mov ecx, dword [rbp + 0x9c]
mov r12, qword [rbp + 0x90]
mov r11, qword [rbp - 0x58]
mov qword [rbp + 0x1f0], r12
lea r10d, [rcx - 1]
cmp dword [rbp + 0x98], r10d
cmovl r10d, dword [rbp + 0x98]
jmp 0x18003dce8
mov ecx, dword [rbp + 0x1f8]
lea eax, [r10 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x18003dd12
jbe 0x18003dd0c
lea r8, [rbx - 1]
mov rdx, r11
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r12 - 1], 0
cmp dword [r14 + 0x3fa8], r15d
jne 0x18003dd2b
cmp byte [rsp + 0x58], 0
je 0x18003dded
call fcn.18000ad50
mov eax, 1
mov r11d, dword [rsp + 0x6c]
vmovaps xmmword [rsp + 0x1f0], xmm15
test r11b, r11b
jne 0x18003ddfe
mov r8d, eax
lea rcx, [rbp - 0x78]
mov edx, r15d
call fcn.180008e00
mov rax, qword [0x180141b18]
lea rcx, [rbp - 0x20]
vmovups xmm0, xmmword [rax + 0x3c10]
vmovups xmmword [rbp - 0x20], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rax + 0x37c8]
vmovss dword [rbp - 0x14], xmm0
call fcn.180006e20
vmovss xmm0, dword [r14 + 0x380c]
mov rdx, qword [rbp - 0x70]
mov r8d, eax
vmovss dword [rsp + 0x20], xmm0
vunpcklps xmm0, xmm13, xmm9
vmovq rcx, xmm0
mov r9b, 1
call fcn.180008b00
vaddss xmm0, xmm9, dword [r14 + 0x3808]
mov r8, qword [rbp - 0x40]
mov r11d, dword [rsp + 0x6c]
vaddss xmm15, xmm14, xmm13
vaddss xmm12, xmm9, xmm12
vmovss dword [rbp - 0x20], xmm13
vaddss xmm13, xmm13, dword [r14 + 0x3804]
vmovss dword [rbp - 0x18], xmm15
vmovss dword [rbp - 0x14], xmm12
vmovss dword [rbp - 0x68], xmm15
vmovss dword [rbp - 0x58], xmm12
jmp 0x18003de3f
mov eax, 1
mov dword [r14 + 0x5ed4], eax
jmp 0x18003dd30
mov r8, qword [rbp - 0x40]
vaddss xmm2, xmm14, xmm13
vaddss xmm1, xmm9, xmm12
vmovss dword [rbp - 0x20], xmm13
vmovss xmm13, dword [r8 + 0x100]
vmovss xmm0, dword [r8 + 0x104]
vmovss dword [rbp - 0x68], xmm2
vmovss dword [rbp - 0x18], xmm2
vmovss dword [rbp - 0x58], xmm1
vmovss dword [rbp - 0x14], xmm1
vmovaps xmm15, xmm2
vmovaps xmm12, xmm1
cmp byte [rbp - 0x60], 0
vmovss xmm4, dword [rsp + 0x78]
vmovss dword [rsp + 0x7c], xmm4
vmovss dword [rsp + 0x54], xmm4
vmovaps xmm8, xmm4
vmovss dword [rbp - 0x1c], xmm9
vmovss dword [rbp - 0x38], xmm13
vmovss dword [rbp - 0x34], xmm0
je 0x18003de75
mov r12, qword [rsi + 0x30]
mov qword [rbp + 0x1f0], r12
movzx r9d, byte [rbp + 0x218]
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov edi, ecx
test r9b, r9b
je 0x18003deb1
mov rax, qword [rbp + 0x1e8]
mov rdi, 0xffffffffffffffff
mov r12, rax
mov qword [rbp + 0x1f0], rax
inc rdi
cmp byte [rax + rdi], cl
jne 0x18003dea2
add rdi, rax
mov qword [rbp - 0x50], rdi
movzx eax, byte [rbp + 0x210]
mov r13d, dword [rsp + 0x5c]
test al, al
jne 0x18003e0aa
test r13b, r13b
jne 0x18003e0aa
test r11b, r11b
je 0x18003df1f
movzx edx, byte [r12]
lea rdi, [r12 + 1]
test dl, dl
je 0x18003def6
cmp dl, 0xa
lea eax, [rcx + 1]
movzx edx, byte [rdi]
cmovne eax, ecx
inc rdi
mov ecx, eax
test dl, dl
jne 0x18003dee1
movzx eax, byte [rdi - 1]
dec rdi
cmp al, 0xa
je 0x18003df07
cmp al, 0xd
je 0x18003df07
inc ecx
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm6, xmm0, dword [r14 + 0x3c70]
vmovaps xmm7, xmm14
jmp 0x18003df6a
test r9b, r9b
jne 0x18003df4c
cmp dword [r14 + 0x3fa8], r15d
jne 0x18003df33
movsxd rdi, dword [rsi + 0x10]
jmp 0x18003df49
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [r12 + rdi], cl
jne 0x18003df40
add rdi, r12
vmovss xmm6, dword [rsp + 0x54]
vmovss xmm7, dword [rsp + 0x7c]
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18003e9cc
mov rcx, qword [0x180141b18]
mov rax, r9
add rax, rax
vmovups xmm0, xmmword [rcx + rax*8 + 0x38b0]
vmovups xmmword [rbp - 0x78], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rcx + 0x37c8]
lea rcx, [rbp - 0x78]
vmovss dword [rbp - 0x6c], xmm0
call fcn.180006e20
mov rdx, qword [r8 + 0x298]
test r11b, r11b
vmovss xmm3, dword [r14 + 0x3c70]
mov r10, qword [r14 + 0x3c68]
lea r8, [rbp - 0x20]
mov r13d, 0
mov r9d, eax
cmovne r8, r13
mov rcx, rdi
test eax, 0xff000000
je 0x18003e9e8
test rdi, rdi
jne 0x18003dff1
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], r13b
jne 0x18003dfe5
add rcx, r12
cmp r12, rcx
je 0x18003e9e8
test r10, r10
jne 0x18003e007
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
vmovss xmm9, dword [rsp + 0x78]
vucomiss xmm3, xmm9
jp 0x18003e01f
jne 0x18003e01f
mov rax, qword [rdx + 0x38]
vmovss xmm3, dword [rax + 0x10]
vmovups xmm0, xmmword [rdx + 0x88]
vmovups xmmword [rbp - 0x78], xmm0
test r8, r8
je 0x18003e070
vmovss xmm0, dword [rbp - 0x78]
vmaxss xmm1, xmm0, dword [r8]
vmovss xmm2, dword [rbp - 0x74]
vmaxss xmm0, xmm2, dword [r8 + 4]
vmovss dword [rbp - 0x78], xmm1
vmovss xmm1, dword [rbp - 0x70]
vminss xmm2, xmm1, dword [r8 + 8]
vmovss dword [rbp - 0x74], xmm0
vmovss xmm0, dword [rbp - 0x6c]
vminss xmm1, xmm0, dword [r8 + 0xc]
vmovss dword [rbp - 0x6c], xmm1
vmovss dword [rbp - 0x70], xmm2
setne al
mov byte [rsp + 0x48], al
lea rax, [rbp - 0x78]
vmovss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x38]
vmovaps xmm2, xmm3
call fcn.180028d00
jmp 0x18003e9ee
test r9b, r9b
jne 0x18003e0ba
movsxd rdi, dword [rsi + 0x10]
add rdi, r12
mov qword [rbp - 0x50], rdi
mov r12, qword [rsi + 0x20]
mov r8d, 0xfffffc18
mov r11d, r8d
mov r10, rcx
mov rbx, rcx
mov edx, ecx
vmovaps xmm6, xmm4
vmovaps xmm7, xmm4
test al, al
je 0x18003e0ee
movsxd rax, dword [rsi + 0x54]
mov edx, 1
mov r8d, 0xffffffff
lea r10, [r12 + rax*2]
test r13b, r13b
je 0x18003e10e
mov ecx, dword [rsi + 0x5c]
mov r11d, 0xffffffff
cmp dword [rsi + 0x58], ecx
cmovl ecx, dword [rsi + 0x58]
inc edx
movsxd rax, ecx
xor ecx, ecx
lea rbx, [r12 + rax*2]
movzx eax, byte [rsp + 0x6c]
mov r9d, ecx
movzx ecx, word [r12]
add edx, eax
mov rax, r12
test cx, cx
je 0x18003e163
cmp cx, 0xa
jne 0x18003e156
inc r9d
cmp r8d, 0xffffffff
jne 0x18003e142
cmp rax, r10
jb 0x18003e142
dec edx
mov r8d, r9d
test edx, edx
jle 0x18003e163
cmp r11d, 0xffffffff
jne 0x18003e156
cmp rax, rbx
jb 0x18003e156
dec edx
mov r11d, r9d
test edx, edx
jle 0x18003e163
movzx ecx, word [rax + 2]
add rax, 2
test cx, cx
jne 0x18003e125
inc r9d
mov rdx, r10
cmp r8d, 0xffffffff
mov r15d, r9d
cmovne r15d, r8d
cmp r11d, 0xffffffff
cmove r11d, r9d
cmp r10, r12
jbe 0x18003e194
cmp word [rdx - 2], 0xa
lea rax, [rdx - 2]
je 0x18003e194
mov rdx, rax
cmp rax, r12
ja 0x18003e181
mov r8, qword [r14 + 0x3c68]
vmovss xmm0, dword [r14 + 0x3c70]
vmovss dword [rbp - 0x48], xmm4
vmovaps xmm11, xmm4
vdivss xmm2, xmm0, dword [r8 + 0x14]
vmovaps xmm1, xmm4
cmp rdx, r10
jae 0x18003e20e
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18003e1d6
vmaxss xmm11, xmm11, xmm1
vmovaps xmm1, xmm4
jmp 0x18003e1f9
cmp ecx, 0xd
je 0x18003e1f9
cmp ecx, dword [r8]
jge 0x18003e1eb
mov rax, qword [r8 + 8]
vmovss xmm0, dword [rax + rcx*4]
jmp 0x18003e1f1
vmovss xmm0, dword [r8 + 0x10]
vmulss xmm0, xmm0, xmm2
vaddss xmm1, xmm1, xmm0
cmp rdx, r10
jb 0x18003e1c0
vcmpltss xmm0, xmm11, xmm1
vblendvps xmm11, xmm11, xmm1, xmm0
vmovss dword [rbp - 0x48], xmm11
vmovss xmm1, dword [r14 + 0x3c70]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r15d
vmulss xmm14, xmm0, xmm1
vmovss dword [rsp + 0x5c], xmm14
test r11d, r11d
js 0x18003e2d1
mov rdx, rbx
cmp rbx, r12
jbe 0x18003e253
nop dword [rax + rax]
cmp word [rdx - 2], 0xa
lea rax, [rdx - 2]
je 0x18003e253
mov rdx, rax
cmp rax, r12
ja 0x18003e240
mov r8, qword [r14 + 0x3c68]
vmovss xmm0, dword [r14 + 0x3c70]
vmovaps xmm1, xmm4
vdivss xmm2, xmm0, dword [r8 + 0x14]
cmp rdx, rbx
jae 0x18003e2bb
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18003e288
vmaxss xmm6, xmm6, xmm1
vmovaps xmm1, xmm4
jmp 0x18003e2ab
cmp ecx, 0xd
je 0x18003e2ab
cmp ecx, dword [r8]
jge 0x18003e29d
mov rax, qword [r8 + 8]
vmovss xmm0, dword [rax + rcx*4]
jmp 0x18003e2a3
vmovss xmm0, dword [r8 + 0x10]
vmulss xmm0, xmm0, xmm2
vaddss xmm1, xmm1, xmm0
cmp rdx, rbx
jb 0x18003e272
vcmpltss xmm0, xmm6, xmm1
vblendvps xmm6, xmm6, xmm1, xmm0
vmovss xmm1, dword [r14 + 0x3c70]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r11d
vmulss xmm7, xmm0, xmm1
mov r11d, dword [rsp + 0x6c]
vmovss xmm3, dword [rbp - 8]
test r11b, r11b
je 0x18003e2f9
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r9d
vmulss xmm8, xmm0, xmm1
vmovss dword [rsp + 0x54], xmm8
vmovss dword [rsp + 0x7c], xmm3
movzx edx, byte [rbp + 0x210]
test dl, dl
je 0x18003e40f
cmp byte [rsi + 0xe84], 0
je 0x18003e40f
test dword [rbp + 0x208], 0x1000
jne 0x18003e369
vmovss xmm1, dword [rsi + 0x50]
vcomiss xmm1, xmm11
vmulss xmm2, xmm3, dword [0x18013055c]
vsubss xmm0, xmm3, dword [r14 + 0x3804]
jbe 0x18003e348
vsubss xmm0, xmm11, xmm2
vmaxss xmm0, xmm4, xmm0
jmp 0x18003e356
vsubss xmm0, xmm11, xmm0
vcomiss xmm0, xmm1
jb 0x18003e36e
vaddss xmm0, xmm2, xmm0
vcvttss2si eax, xmm0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vmovss dword [rsi + 0x50], xmm1
jmp 0x18003e36e
xor eax, eax
mov dword [rsi + 0x50], eax
test r11b, r11b
je 0x18003e403
vsubss xmm0, xmm14, dword [r14 + 0x3c70]
vcomiss xmm10, xmm0
vmovss xmm5, dword [rbp + 8]
jbe 0x18003e391
vmaxss xmm10, xmm4, xmm0
jmp 0x18003e3b5
vmovss xmm0, dword [r14 + 0x3808]
vaddss xmm3, xmm0, xmm0
vsubss xmm1, xmm5, xmm3
vsubss xmm2, xmm14, xmm1
vcomiss xmm2, xmm10
jb 0x18003e3b5
vsubss xmm0, xmm14, xmm5
vaddss xmm10, xmm0, xmm3
vcomiss xmm4, xmm10
vmovss xmm0, dword [r14 + 0x3808]
jbe 0x18003e3cb
vmovaps xmm3, xmm4
jmp 0x18003e3e1
vaddss xmm0, xmm0, xmm0
vaddss xmm1, xmm0, xmm8
vsubss xmm2, xmm1, xmm5
vmaxss xmm0, xmm2, xmm4
vminss xmm3, xmm0, xmm10
mov rax, qword [rbp - 0x40]
vmovss xmm0, dword [rax + 0x88]
vsubss xmm2, xmm0, xmm3
vaddss xmm2, xmm2, dword [rbp - 0x34]
vmovss dword [rbp - 0x34], xmm2
vmovss dword [rax + 0x88], xmm3
mov byte [rsi + 0xe84], 0
vmovss xmm13, dword [rbp - 0x38]
vmovss xmm8, dword [rsi + 0x50]
test r13b, r13b
je 0x18003e6a6
mov rcx, qword [0x180141b18]
mov r9d, dword [rsi + 0x5c]
mov eax, r9d
mov r8d, dword [rsi + 0x58]
cmp r8d, r9d
vmovss xmm2, dword [0x180130578]
vmovups xmm4, xmmword [rcx + 0x3ba0]
cmovge eax, r8d
xor r10d, r10d
vmovd xmm1, r10d
vmovd xmm0, edx
vpcmpeqd xmm3, xmm0, xmm1
vmovss xmm0, dword [0x1801305bc]
vblendvps xmm0, xmm0, xmm2, xmm3
vmulss xmm1, xmm0, dword [rcx + 0x37c8]
vmovups xmmword [rbp - 0x78], xmm4
cdqe
lea rcx, [rbp - 0x78]
vshufps xmm4, xmm4, xmm4, 0xff
vmulss xmm0, xmm4, xmm1
vmovss dword [rbp - 0x6c], xmm0
lea r15, [r12 + rax*2]
call fcn.180006e20
vmovss xmm4, dword [rsp + 0x78]
movzx ecx, r11b
cmp r8d, r9d
vmovd xmm0, ecx
vmovd xmm1, r10d
vpcmpeqd xmm2, xmm0, xmm1
vmovss xmm0, dword [rbp + 0x50]
vblendvps xmm9, xmm4, xmm0, xmm2
vmovss xmm2, dword [0x1801305f8]
cmovl r9d, r8d
movzx ecx, r11b
vmovd xmm0, ecx
mov r13d, eax
movsxd rax, r9d
vmovd xmm1, r10d
vpcmpeqd xmm3, xmm0, xmm1
vaddss xmm0, xmm6, xmm13
vblendvps xmm10, xmm4, xmm2, xmm3
vaddss xmm2, xmm7, dword [rbp - 0x34]
lea rbx, [r12 + rax*2]
vsubss xmm6, xmm2, xmm4
vsubss xmm5, xmm0, xmm8
cmp rbx, r15
jae 0x18003e6a6
vmovss xmm7, dword [0x180130570]
vmovss xmm11, dword [rbp - 0x28]
mov rdi, qword [rbp - 0x40]
xor esi, esi
nop
vmovss xmm1, dword [r14 + 0x3c70]
vaddss xmm0, xmm12, xmm1
vcomiss xmm6, xmm0
ja 0x18003e68e
vcomiss xmm11, xmm6
jbe 0x18003e55b
cmp rbx, r15
jae 0x18003e677
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18003e677
cmp rbx, r15
jb 0x18003e540
jmp 0x18003e677
mov rdx, qword [r14 + 0x3c68]
vmovaps xmm3, xmm4
vdivss xmm2, xmm1, dword [rdx + 0x14]
vmovaps xmm1, xmm4
cmp rbx, r15
jae 0x18003e5b0
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18003e5a8
cmp ecx, 0xd
je 0x18003e5a1
cmp ecx, dword [rdx]
jge 0x18003e594
mov rax, qword [rdx + 8]
vmovss xmm0, dword [rax + rcx*4]
jmp 0x18003e599
vmovss xmm0, dword [rdx + 0x10]
vmulss xmm0, xmm0, xmm2
vaddss xmm1, xmm1, xmm0
cmp rbx, r15
jb 0x18003e574
jmp 0x18003e5b0
vmaxss xmm3, xmm4, xmm1
vmovaps xmm1, xmm4
vmaxss xmm0, xmm1, xmm3
vcomiss xmm4, xmm0
jb 0x18003e5e9
mov rax, qword [r14 + 0x3c68]
cmp dword [rax], 0x20
jle 0x18003e5d4
mov rax, qword [rax + 8]
vmovss xmm0, dword [rax + 0x80]
jmp 0x18003e5d9
vmovss xmm0, dword [rax + 0x10]
vmulss xmm0, xmm0, xmm7
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss xmm14, dword [rsp + 0x78]
vaddss xmm3, xmm0, xmm5
vsubss xmm0, xmm9, dword [r14 + 0x3c70]
vaddss xmm1, xmm0, xmm6
vaddss xmm2, xmm5, xmm14
vmaxss xmm2, xmm2, dword [rbp - 0x30]
vmaxss xmm5, xmm1, xmm11
vaddss xmm4, xmm10, xmm6
vminss xmm0, xmm4, xmm12
vcomiss xmm0, xmm11
vminss xmm1, xmm3, xmm15
vmovss dword [rbp - 0x70], xmm1
vmovss dword [rbp - 0x78], xmm2
vmovss dword [rbp - 0x74], xmm5
vmovss dword [rbp - 0x6c], xmm0
jbe 0x18003e671
vcomiss xmm12, xmm5
jbe 0x18003e671
vcomiss xmm1, dword [rbp - 0x30]
jbe 0x18003e671
vcomiss xmm15, xmm2
jbe 0x18003e671
mov rcx, qword [rdi + 0x298]
lea r8, [rbp - 0x70]
mov dword [rsp + 0x28], esi
lea rdx, [rbp - 0x78]
mov r9d, r13d
vmovss dword [rsp + 0x20], xmm14
call fcn.180022e40
vmovss xmm13, dword [rbp - 0x38]
vmovss xmm4, dword [rsp + 0x78]
vaddss xmm6, xmm6, dword [r14 + 0x3c70]
vsubss xmm5, xmm13, xmm8
cmp rbx, r15
jb 0x18003e510
vmovss xmm11, dword [rbp - 0x48]
vmovss xmm14, dword [rsp + 0x5c]
mov rsi, qword [rbp]
mov rdi, qword [rbp - 0x50]
mov r11d, dword [rsp + 0x6c]
mov r12, qword [rbp + 0x1f0]
test r11b, r11b
jne 0x18003e6c4
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18003e826
mov rcx, qword [0x180141b18]
movzx eax, byte [rbp + 0x218]
add rax, rax
vmovups xmm0, xmmword [rcx + rax*8 + 0x38b0]
vmovups xmmword [rbp - 0x78], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rcx + 0x37c8]
lea rcx, [rbp - 0x78]
vmovss dword [rbp - 0x6c], xmm0
call fcn.180006e20
mov rbx, qword [rbp - 0x40]
lea r8, [rbp - 0x20]
vmovss xmm1, dword [rbp - 0x34]
vmovss xmm4, dword [rsp + 0x78]
vmovss xmm3, dword [r14 + 0x3c70]
mov rdx, qword [rbx + 0x298]
test r11b, r11b
mov r10, qword [r14 + 0x3c68]
mov r13d, 0
vsubss xmm0, xmm13, xmm8
vmovss dword [rbp], xmm0
vsubss xmm0, xmm1, xmm4
cmovne r8, r13
mov r9d, eax
mov rcx, rdi
vmovss dword [rbp + 4], xmm0
test eax, 0xff000000
je 0x18003e82d
test rdi, rdi
jne 0x18003e771
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], r13b
jne 0x18003e765
add rcx, r12
cmp r12, rcx
je 0x18003e82d
test r10, r10
jne 0x18003e787
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
vucomiss xmm3, xmm4
jp 0x18003e798
jne 0x18003e798
mov rax, qword [rdx + 0x38]
vmovss xmm3, dword [rax + 0x10]
vmovups xmm0, xmmword [rdx + 0x88]
vmovups xmmword [rbp - 0x78], xmm0
test r8, r8
je 0x18003e7e9
vmovss xmm0, dword [rbp - 0x78]
vmaxss xmm1, xmm0, dword [r8]
vmovss xmm2, dword [rbp - 0x74]
vmaxss xmm0, xmm2, dword [r8 + 4]
vmovss dword [rbp - 0x78], xmm1
vmovss xmm1, dword [rbp - 0x70]
vminss xmm2, xmm1, dword [r8 + 8]
vmovss dword [rbp - 0x74], xmm0
vmovss xmm0, dword [rbp - 0x6c]
vminss xmm1, xmm0, dword [r8 + 0xc]
vmovss dword [rbp - 0x6c], xmm1
vmovss dword [rbp - 0x70], xmm2
setne al
mov byte [rsp + 0x48], al
lea rax, [rbp - 0x78]
vmovss dword [rsp + 0x40], xmm4
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp]
vmovaps xmm2, xmm3
call fcn.180028d00
vmovss xmm4, dword [rsp + 0x78]
jmp 0x18003e82d
mov rbx, qword [rbp - 0x40]
xor r13d, r13d
cmp byte [rbp + 0x210], 0
je 0x18003e9d7
vmovss xmm0, dword [r14 + 0x18]
vaddss xmm0, xmm0, dword [rsi + 0xe80]
vmovss dword [rsi + 0xe80], xmm0
cmp byte [r14 + 0x5b], 0
je 0x18003e87c
vcomiss xmm4, xmm0
jae 0x18003e87c
vmovss xmm1, dword [0x1801305c4]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
vmovss xmm1, dword [0x180130598]
vcomiss xmm1, xmm0
jae 0x18003e87c
xor cl, cl
jmp 0x18003e87e
mov cl, 1
vaddss xmm0, xmm11, dword [rbp - 0x38]
vmovss xmm9, dword [rsp + 0x78]
vsubss xmm1, xmm0, xmm8
vmovss xmm8, dword [0x1801305bc]
vcvttss2si eax, xmm1
vaddss xmm1, xmm14, dword [rbp - 0x34]
vsubss xmm1, xmm1, xmm9
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
vcvttss2si eax, xmm1
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vsubss xmm0, xmm7, dword [r14 + 0x3c70]
vaddss xmm2, xmm0, dword [0x180130570]
vsubss xmm1, xmm7, dword [0x1801305d0]
vaddss xmm3, xmm6, xmm8
vmovss dword [rbp - 0x1c], xmm2
vmovss dword [rbp - 0x20], xmm6
vmovss dword [rbp - 0x18], xmm3
vmovss dword [rbp - 0x14], xmm1
test cl, cl
je 0x18003e975
vcomiss xmm1, dword [rbp - 0x28]
jbe 0x18003e975
vmovss xmm0, dword [rbp - 0x58]
vcomiss xmm0, xmm2
jbe 0x18003e975
vcomiss xmm3, dword [rbp - 0x30]
jbe 0x18003e975
vmovss xmm0, dword [rbp - 0x68]
vcomiss xmm0, xmm6
jbe 0x18003e975
mov rax, qword [0x180141b18]
lea rcx, [rbp - 0x78]
vmovss dword [rbp + 0x210], xmm6
vmovss dword [rbp + 0x214], xmm1
vmovups xmm0, xmmword [rax + 0x38b0]
vmovups xmmword [rbp - 0x78], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rax + 0x37c8]
vmovss dword [rbp - 0x6c], xmm0
call fcn.180006e20
mov rcx, qword [rbx + 0x298]
lea rdx, [rbp - 0x20]
mov r9d, eax
lea r8, [rbp + 0x210]
vmovss dword [rsp + 0x20], xmm8
call fcn.180022be0
cmp byte [rsp + 0x64], 0
mov r15d, dword [rsp + 0x74]
movzx r9d, byte [rbp + 0x218]
jne 0x18003e9be
vmovss xmm2, dword [r14 + 0x3c70]
vsubss xmm0, xmm7, xmm2
vsubss xmm1, xmm6, xmm8
vmovss dword [r14 + 0x5c60], xmm0
vmovss dword [r14 + 0x5c5c], xmm1
vmovss dword [r14 + 0x5c64], xmm2
mov byte [r14 + 0x5c58], 1
vmovss xmm6, dword [rsp + 0x54]
vmovss xmm7, dword [rsp + 0x7c]
jmp 0x18003e9fe
vmovss xmm9, dword [rsp + 0x78]
xor r13d, r13d
jmp 0x18003e9f6
vmovss xmm6, dword [rsp + 0x54]
vmovss xmm7, dword [rsp + 0x7c]
mov r15d, dword [rsp + 0x74]
vmovss xmm9, dword [rsp + 0x78]
movzx r9d, byte [rbp + 0x218]
vmovss xmm8, dword [0x1801305bc]
mov ebx, dword [rbp - 0x2c]
vmovaps xmm15, xmmword [rsp + 0x1f0]
test bl, bl
je 0x18003ea18
test r9b, r9b
jne 0x18003ea18
call fcn.1800137c0
cmp byte [rsp + 0x6c], 0
je 0x18003ea95
vaddss xmm0, xmm6, dword [r14 + 0x3808]
lea rcx, [rbp + 0x210]
vmovss dword [rbp + 0x214], xmm0
vmovss dword [rbp + 0x210], xmm7
call fcn.180035570
or dword [r14 + 0x47d4], 0x401
call fcn.18000e2b0
mov eax, dword [r14 + 0x47f0]
mov ebx, dword [rbp + 0xb8]
and eax, 0x80
or ebx, eax
call fcn.180016a00
cmp dword [r14 + 0x47e8], 0
jne 0x18003ea92
mov eax, dword [rbp + 0xb4]
mov dword [r14 + 0x47ec], eax
mov dword [r14 + 0x47e8], r15d
mov dword [r14 + 0x47f0], ebx
mov ebx, dword [rbp - 0x2c]
cmp byte [r14 + 0x5d18], 0
je 0x18003ec21
test bl, bl
je 0x18003eab4
cmp byte [rbp + 0x218], 0
je 0x18003ec21
mov rsi, qword [0x180141b18]
mov r15, qword [rsi + 0x3f48]
mov qword [rsi + 0x5d40], r13
mov qword [rsi + 0x5d38], r13
test rdi, rdi
jne 0x18003eafd
mov rdi, r12
cmp r12, 0xffffffffffffffff
jae 0x18003eafd
nop
movzx ecx, byte [rdi]
test cl, cl
je 0x18003eafd
lea rax, [rdi + 1]
cmp cl, 0x23
jne 0x18003eaf4
cmp byte [rax], cl
je 0x18003eafd
mov rdi, rax
cmp rax, 0xffffffffffffffff
jb 0x18003eae0
vmovss xmm0, dword [rsi + 0x3808]
vaddss xmm1, xmm0, dword [rsi + 0x5d48]
vmovss xmm0, dword [rbp - 0x34]
vaddss xmm2, xmm1, xmm8
vcomiss xmm0, xmm2
vmovss dword [rsi + 0x5d48], xmm0
jbe 0x18003eb38
lea rcx, [0x1800f58e4]
call fcn.18001ca70
mov byte [rsi + 0x5d4c], 1
lea r8, [0x18012f8cd]
lea rdx, [0x18012f8cc]
lea rcx, [rbp - 0x38]
call fcn.18001cab0
mov eax, dword [r15 + 0x188]
mov ecx, dword [rsi + 0x5d50]
cmp ecx, eax
jle 0x18003eb68
mov dword [rsi + 0x5d50], eax
mov ecx, eax
mov r15d, dword [r15 + 0x188]
mov r14d, 1
sub r15d, ecx
nop dword [rax + rax]
mov r8, rdi
mov edx, 0xa
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rdi
cmovne rbx, rax
cmp r12, rbx
jne 0x18003eba7
cmp rbx, rdi
je 0x18003ec06
mov r9d, ebx
lea edx, [r15*4]
sub r9d, r12d
cmp byte [rsi + 0x5d4c], 0
jne 0x18003ebc1
mov edx, r14d
lea r8, [0x1800f56d0]
mov qword [rsp + 0x20], r12
lea rcx, str._s_.s
call fcn.18001ca70
mov byte [rsi + 0x5d4c], 0
cmp byte [rbx], 0xa
jne 0x18003ebf8
lea rcx, [0x1800f58e4]
call fcn.18001ca70
mov byte [rsi + 0x5d4c], r14b
cmp rbx, rdi
je 0x18003ec06
lea r12, [rbx + 1]
jmp 0x18003eb80
lea r8, [0x18012f8c9]
lea rdx, [0x18012f8c8]
lea rcx, [rbp - 0x38]
call fcn.18001cab0
mov r14, qword [rbp + 0x68]
vmovss xmm0, dword [rbp + 0xc]
vcomiss xmm0, xmm9
jbe 0x18003ec5b
vmovss xmm0, dword [rbp + 0x5c]
vaddss xmm1, xmm0, dword [r14 + 0x3808]
vmovss xmm0, dword [rbp - 0x30]
mov rdx, qword [rbp + 0x1e0]
mov r9b, 1
vunpcklps xmm0, xmm0, xmm1
vmovq rcx, xmm0
xor r8d, r8d
call fcn.180007840
movzx edx, byte [rsp + 0x51]
mov r8d, dword [rbp + 0x208]
test dl, dl
je 0x18003eca3
bt r8d, 0x1b
jb 0x18003eca3
mov rax, qword [0x180141b18]
cmp word [rax + 0x5c32], 0
jg 0x18003eca3
mov ecx, dword [rax + 0x3fa8]
cmp ecx, dword [rsp + 0x74]
je 0x18003ec93
test ecx, ecx
jne 0x18003ec9c
mov word [rax + 0x3fb8], 0x101
or dword [rax + 0x47f0], 4
movzx ecx, byte [rsp + 0x60]
test r8b, 0x20
mov eax, edx
cmovne eax, ecx
jmp 0x18003ba47