Function at 0x180059ae0
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 - 0x1b8]
sub rsp, 0x278
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov r13, rcx
mov rbx, qword [0x180148688]
mov r15, rbx
mov qword [rsp + 0x68], rbx
mov rax, qword [rbx + 0x3ea0]
mov byte [rax + 0xb0], 1
mov r14, qword [rbx + 0x3ea0]
mov qword [rbp - 0x80], r14
cmp byte [r14 + 0xb3], 0
jne 0x180059f88
mov r12d, dword [rbp + 0x1e8]
mov esi, r12d
shr esi, 0x1a
and sil, 1
mov dword [rsp + 0x58], esi
mov eax, r12d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x5c], eax
mov eax, r12d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x5c], eax
mov eax, r12d
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x58], eax
mov eax, r12d
shr eax, 0x12
and al, 1
mov dword [rsp + 0x78], eax
test sil, sil
je 0x180059be1
call fcn.1800327c0
mov rbx, qword [0x180148688]
movsxd r8, dword [r14 + 0xe8]
mov rax, qword [r14 + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r13
call fcn.180022a60
mov edi, eax
mov dword [rsp + 0x74], eax
cmp dword [rbx + 0x3ee8], eax
jne 0x180059c22
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.180039fa0
mov rbx, qword [0x180148688]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x180059c4d
nop dword [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x180059c4d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180059c44
cmp byte [rax], dl
je 0x180059c4d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180059c30
movss xmm0, dword [rbx + 0x3c00]
xor eax, eax
movss xmm1, dword [0x1801097bc]
movss dword [rbp - 4], xmm1
movss xmm9, dword [0x180109794]
xorps xmm12, xmm12
cmp r13, rcx
jne 0x180059c7b
xorps xmm7, xmm7
jmp 0x180059ccd
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rbp + 0x1c8]
mov rcx, qword [rbx + 0x3bf8]
call fcn.18004a680
movss xmm0, dword [rbp + 0x1c8]
addss xmm0, dword [0x180109668]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp + 0x1cc]
movss dword [rbp], xmm7
test sil, sil
je 0x180059ce8
movss xmm0, dword [r15 + 0x3c00]
mulss xmm0, dword [0x180109700]
movss xmm6, dword [r15 + 0x3820]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180032620
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1c8]
call fcn.1800326a0
comiss xmm7, xmm12
jbe 0x180059d2e
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3834]
jmp 0x180059d31
xorps xmm1, xmm1
movss xmm13, dword [r14 + 0xfc]
movss dword [rbp - 0x50], xmm13
movaps xmm0, xmm13
movss xmm11, dword [rbp + 0x1cc]
addss xmm0, xmm11
movss xmm7, dword [r14 + 0xf8]
movss dword [rbp - 0x20], xmm7
movaps xmm8, xmm7
movss xmm10, dword [rbp + 0x1c8]
addss xmm8, xmm10
movss dword [rbp - 8], xmm8
movss dword [rbp - 0x70], xmm7
movss dword [rbp - 0x6c], xmm13
movss dword [rbp - 0x68], xmm8
movss dword [rbp - 0x64], xmm0
movaps xmm2, xmm13
addss xmm2, xmm11
addss xmm1, xmm10
addss xmm1, xmm7
movss dword [rbp - 0x18], xmm7
movss dword [rbp - 0x14], xmm13
movss dword [rbp - 0x10], xmm1
movss dword [rbp - 0xc], xmm2
mov rbx, r14
mov qword [rbp - 0x48], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
subss xmm2, xmm13
subss xmm1, xmm7
movss dword [rbp + 0x1c8], xmm1
movss dword [rbp + 0x1cc], xmm2
lea rcx, [rbp + 0x1c8]
movaps xmm1, xmm6
call fcn.1800321b0
test sil, sil
je 0x18005a03c
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.180032320
test al, al
je 0x180059f83
mov r13d, dword [r15 + 0x4744]
movups xmm0, xmmword [r15 + 0x473c]
movups xmmword [rbp + 0x88], xmm0
movss dword [r14 + 0xf8], xmm7
movss dword [r14 + 0xfc], xmm13
mov rbx, qword [0x180148688]
mov dword [rbp - 0x38], 3
movups xmm0, xmmword [rbx + 0x38d8]
movups xmmword [rbp - 0x34], xmm0
lea rcx, [rbx + 0x47e8]
lea rdx, [rbp - 0x38]
call fcn.18003a800
movups xmm0, xmmword [r15 + 0x3918]
movups xmmword [rbx + 0x38d8], xmm0
movss xmm1, dword [r15 + 0x3824]
mov ecx, 7
call fcn.1800235d0
movss xmm1, dword [r15 + 0x3828]
mov ecx, 8
call fcn.1800235d0
mov rbx, qword [0x180148688]
lea rcx, [rbx + 0x47f8]
movss xmm1, dword [rbx + 0x37e8]
movss xmm0, dword [rbx + 0x37ec]
mov dword [rbp - 0x48], 2
movss dword [rbp - 0x44], xmm1
movss dword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x48]
call fcn.18003a710
xor r12d, r12d
mov qword [rbx + 0x37e8], r12
movss xmm1, dword [rbp - 0x64]
movss xmm13, dword [rbp - 0x6c]
movss dword [rbp - 0x50], xmm13
subss xmm1, xmm13
movss xmm6, dword [rbp - 0x68]
movss dword [rbp - 8], xmm6
movaps xmm0, xmm6
movss xmm7, dword [rbp - 0x70]
movss dword [rbp - 0x20], xmm7
subss xmm0, xmm7
movss dword [rbp + 0x1c8], xmm0
movss dword [rbp + 0x1cc], xmm1
lea r8, [rbp + 0x1c8]
mov edx, edi
mov rcx, qword [rbp + 0x1c0]
call fcn.18002a120
movzx ebx, al
lea ecx, [r12 + 3]
call fcn.180023650
mov r8, qword [0x180148688]
movsxd rax, dword [r8 + 0x47e8]
cmp eax, 1
jl 0x180059f7a
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x47f0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38a8], xmm0
dec dword [r8 + 0x47e8]
test bl, bl
jne 0x180059fdd
call fcn.18002a300
call fcn.1800328f0
xor al, al
lea r11, [rsp + 0x278]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [r15 + 0x3ea0]
mov qword [rbp - 0x48], rbx
movsx ecx, word [rbx + 0x156]
mov eax, dword [rbx + 0x150]
bts ecx, eax
mov word [rbx + 0x156], cx
movss xmm0, dword [r15 + 0x381c]
addss xmm0, dword [rbx + 0xf8]
movss dword [rbx + 0xf8], xmm0
movss xmm1, dword [r15 + 0x3820]
addss xmm1, dword [rbx + 0xfc]
movss dword [rbx + 0xfc], xmm1
subss xmm10, dword [rbx + 0xa4]
jmp 0x18005a08a
bt r12d, 0x1c
jb 0x18005a080
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.180032320
test al, al
je 0x180059f88
movss xmm0, dword [rbp - 0x68]
movss dword [rbp - 8], xmm0
movss xmm13, dword [rbp - 0x6c]
movss dword [rbp - 0x50], xmm13
movss xmm7, dword [rbp - 0x70]
movss dword [rbp - 0x20], xmm7
mov r13d, dword [r15 + 0x4744]
xor r12d, r12d
mov edx, edi
lea rcx, [rbp - 0x70]
call fcn.180026ea0
movzx ecx, al
mov byte [rsp + 0x60], al
test al, al
je 0x18005a0ab
mov dword [r15 + 0x4a28], 1
mov rsi, qword [0x180148688]
test edi, edi
je 0x18005a0c7
cmp dword [rsi + 0x4bc0], edi
jne 0x18005a0c7
add rsi, 0x4bb8
jmp 0x18005a0ca
mov rsi, r12
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f00]
cmp eax, edi
je 0x18005a102
cmp dword [r15 + 0x489c], edi
je 0x18005a0f9
cmp dword [r15 + 0x4890], edi
jne 0x18005a102
cmp dword [r15 + 0x48b8], 2
jne 0x18005a102
mov byte [rbp + 0x1f8], 1
jmp 0x18005a109
mov byte [rbp + 0x1f8], 0
test cl, cl
je 0x18005a11c
cmp byte [r15 + 0x3738], 0
je 0x18005a11c
mov r12b, 1
jmp 0x18005a11f
xor r12b, r12b
mov byte [rbp + 0x1c8], r12b
mov r8d, dword [rsp + 0x58]
test r8b, r8b
je 0x18005a191
test rsi, rsi
je 0x18005a191
test eax, eax
jne 0x18005a191
movsxd r8, dword [rbx + 0xe8]
mov rax, qword [rbx + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180022a60
mov ebx, eax
mov rcx, qword [0x180148688]
cmp dword [rcx + 0x3ee8], eax
jne 0x18005a17e
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180039fa0
cmp dword [r15 + 0x3f30], ebx
jne 0x18005a18c
mov dil, 1
jmp 0x18005a19e
mov r8d, dword [rsp + 0x58]
xor dil, dil
test r8b, r8b
je 0x18005a216
test rsi, rsi
je 0x18005a216
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax + 0xe8]
mov rax, qword [rax + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180022a60
mov ebx, eax
mov rcx, qword [0x180148688]
cmp dword [rcx + 0x3ee8], eax
jne 0x18005a1e7
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180039fa0
mov r8d, dword [rsp + 0x58]
cmp dword [r15 + 0x3f00], ebx
jne 0x18005a216
mov cl, 1
mov byte [rsp + 0x55], cl
mov byte [rbp + 0x1f0], 0
mov byte [rsp + 0x50], 0
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x80]
jmp 0x18005a240
mov byte [rbp + 0x1f0], 0
mov byte [rsp + 0x50], 0
xor cl, cl
mov byte [rsp + 0x55], cl
test r8b, r8b
je 0x18005a23c
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x80]
jmp 0x18005a240
mov byte [rsp + 0x55], cl
test rsi, rsi
je 0x18005a255
movzx eax, r8b
xor al, 1
cmp byte [rsi + 0x6b], al
je 0x18005a255
mov r15b, 1
jmp 0x18005a258
xor r15b, r15b
test r12b, r12b
jne 0x18005a284
test dil, dil
jne 0x18005a284
cmp byte [rbp + 0x1f8], dil
jne 0x18005a284
test r13b, r13b
jne 0x18005a284
mov byte [rsp + 0x54], r13b
test cl, cl
jne 0x18005a289
mov byte [rsp + 0x56], cl
mov rax, qword [rsp + 0x68]
jmp 0x18005a29f
mov byte [rsp + 0x54], 1
mov byte [rsp + 0x56], 1
mov rax, qword [rsp + 0x68]
mov edx, dword [rsp + 0x74]
cmp dword [rax + 0x3f00], edx
jne 0x18005a2a8
test r15b, r15b
je 0x18005a508
lea rsi, [rax + 0x4bb8]
mov dword [rsi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp + 0x1d0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18005a2c7
lea edi, [rbx + 1]
mov ecx, dword [rsi + 0x3c]
cmp edi, ecx
jle 0x18005a2fe
test ecx, ecx
je 0x18005a2e9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a2ee
mov eax, 8
mov edx, edi
cmp eax, edi
cmovg edx, eax
lea rcx, [rsi + 0x38]
call fcn.18003ac30
mov dword [rsi + 0x38], edi
movsxd r8, edi
mov rdi, qword [rbp + 0x1d0]
mov rdx, rdi
mov rcx, qword [rsi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x74]
cmp dword [rsi + 8], r14d
jne 0x18005a349
test r15b, r15b
jne 0x18005a349
mov r12b, 1
cmp dword [rsi + 0x10], ebx
jne 0x18005a349
cmp byte [rsi + 0x48], r15b
je 0x18005a34c
movsxd r8, ebx
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18005a34c
xor r12b, r12b
mov dword [rsi + 8], r14d
movsxd r14, dword [rbp + 0x1d8]
lea ebx, [r14 + 1]
mov ecx, dword [rsi + 0x1c]
cmp ebx, ecx
jle 0x18005a386
test ecx, ecx
je 0x18005a371
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a376
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003acc0
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x18005a3ab
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
cmovg edx, eax
lea rcx, [rsi + 0x28]
call fcn.18003ac30
xor edx, edx
mov dword [rsi + 0x28], edx
mov byte [rsi + 0x48], dl
mov rcx, qword [rbp + 0x1d0]
mov rdi, rcx
mov r15, qword [rsi + 0x20]
mov rbx, r15
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005a406
cmp byte [rdi], 0
je 0x18005a3fd
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180022d80
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005a3fd
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005a3d0
mov rcx, qword [rbp + 0x1d0]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rsi + 0xc], ebx
sub edi, ecx
mov dword [rsi + 0x10], edi
mov r8d, dword [rsp + 0x58]
test r12b, r12b
je 0x18005a445
mov ecx, ebx
cmp dword [rsi + 0x54], ebx
cmovl ecx, dword [rsi + 0x54]
mov dword [rsi + 0x54], ecx
mov ecx, ebx
cmp dword [rsi + 0x58], ebx
cmovl ecx, dword [rsi + 0x58]
mov dword [rsi + 0x58], ecx
cmp dword [rsi + 0x5c], ebx
cmovl ebx, dword [rsi + 0x5c]
mov dword [rsi + 0x5c], ebx
jmp 0x18005a48c
mov qword [rsi + 0x50], 0
mov dword [rsi + 0xe72], 0x630000
mov dword [rsi + 0xe78], edx
mov dword [rsi + 0xe7c], 0x3e7
mov qword [rsi + 0x58], 0
mov word [rsi + 0x69], 1
mov dword [rsi + 0x70], edx
mov byte [rsi + 0x68], 0
movzx eax, r8b
xor al, 1
mov byte [rsi + 0x6b], al
mov byte [rsi + 0x60], 0
mov dword [rsi + 0x64], edx
test r8b, r8b
jne 0x18005a4e8
mov ecx, dword [rbp + 0x1e8]
test cl, 0x10
mov eax, dword [rsp + 0x50]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x68]
cmp byte [rbp + 0x1f8], r8b
je 0x18005a4cd
test r12b, r12b
je 0x18005a4c9
test byte [rax + 0x48a0], 4
jne 0x18005a4cd
mov byte [rsp + 0x50], cl
test r13b, r13b
jne 0x18005a4e4
cmp byte [rbp + 0x1c8], r13b
je 0x18005a4e8
cmp byte [rax + 0xe14], r13b
je 0x18005a4e8
mov byte [rsp + 0x50], cl
mov r13d, dword [rbp + 0x1e8]
mov r14, qword [rbp - 0x80]
movzx r12d, byte [rbp + 0x1c8]
bt r13d, 0xd
jae 0x18005a50f
mov byte [rsi + 0x60], 1
jmp 0x18005a50f
mov r13d, dword [rbp + 0x1e8]
mov rdi, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x74]
movzx ebx, byte [rsp + 0x54]
cmp dword [rdi + 0x3f00], r15d
je 0x18005a55b
test bl, bl
je 0x18005a54e
mov rdx, r14
mov ecx, r15d
call fcn.180026c60
mov rdx, r14
mov ecx, r15d
call fcn.1800344f0
mov rcx, r14
call fcn.18002f260
mov r8d, dword [rsp + 0x58]
cmp dword [rdi + 0x3f00], r15d
jne 0x18005a66a
test r12b, r12b
je 0x18005a57e
mov rax, qword [0x180148688]
mov dword [rax + 0x4558], r15d
mov dword [rax + 0x4554], r15d
mov word [rax + 0x455c], 0
mov eax, dword [rdi + 0x4710]
or eax, 3
mov dword [rdi + 0x4710], eax
test r8b, r8b
jne 0x18005a597
test r13b, r13b
jns 0x18005a5a0
or eax, 0xc
mov dword [rdi + 0x4710], eax
mov rax, qword [0x180148688]
mov dword [rax + 0x3fa0], r15d
mov dword [rax + 0x3f9c], r15d
mov word [rax + 0x3fa4], 0
mov dword [rax + 0x3fac], r15d
mov dword [rax + 0x3fa8], r15d
mov word [rax + 0x3fb0], 0
test r8b, r8b
je 0x18005a608
mov dword [rax + 0x3f88], r15d
mov dword [rax + 0x3f84], r15d
mov word [rax + 0x3f8c], 0
mov dword [rax + 0x3f94], r15d
mov dword [rax + 0x3f90], r15d
mov word [rax + 0x3f98], 0
test r13d, 0x440
je 0x18005a62f
mov rax, qword [0x180148688]
mov dword [rax + 0x3f4c], r15d
mov dword [rax + 0x3f48], r15d
mov word [rax + 0x3f50], 0
cmp dword [rdi + 0x3f00], r15d
jne 0x18005a66a
test rsi, rsi
jne 0x18005a642
call fcn.180026db0
cmp dword [rdi + 0x3f00], r15d
jne 0x18005a66a
cmp byte [rdi + 0x3738], 0
je 0x18005a676
cmp byte [rsp + 0x56], 0
jne 0x18005a676
test bl, bl
jne 0x18005a676
mov byte [rbp + 0x1f0], 1
mov cl, 1
jmp 0x18005a67c
test rsi, rsi
je 0x18005a67a
cmp byte [rsp + 0x55], 0
je 0x18005a67a
mov cl, 1
jmp 0x18005a67c
xor cl, cl
mov byte [rbp + 0x1c8], cl
mov r13d, dword [rsp + 0x50]
test rsi, rsi
je 0x18005a6a2
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005a699
test r13b, r13b
je 0x18005a6a2
test cl, cl
je 0x18005a6a2
mov r15b, 1
jmp 0x18005a6a5
xor r15b, r15b
mov dword [rsp + 0x50], r15d
movzx r12d, r15b
mov byte [rsp + 0x7f], 0
mov byte [rsp + 0x56], 0
mov eax, dword [rsp + 0x5c]
test al, al
je 0x18005a7b8
test rsi, rsi
je 0x18005a7b8
test cl, cl
jne 0x18005a6da
test r15b, r15b
je 0x18005a7c1
mov r14d, dword [rbp + 0x1d8]
inc r14d
mov ecx, dword [rsi + 0x1c]
cmp r14d, ecx
jle 0x18005a712
test ecx, ecx
je 0x18005a6fb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a700
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003acc0
mov dword [rsi + 0x18], r14d
mov rcx, qword [rbp + 0x1d0]
mov rdi, rcx
mov r15, qword [rsi + 0x20]
mov rbx, r15
movsxd r14, r14d
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005a76a
cmp byte [rdi], 0
je 0x18005a763
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180022d80
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005a763
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005a736
mov rcx, qword [rbp + 0x1d0]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rsi + 0xc], ebx
sub edi, ecx
mov dword [rsi + 0x10], edi
mov ecx, ebx
cmp dword [rsi + 0x54], ebx
cmovl ecx, dword [rsi + 0x54]
mov dword [rsi + 0x54], ecx
mov ecx, ebx
cmp dword [rsi + 0x58], ebx
cmovl ecx, dword [rsi + 0x58]
mov dword [rsi + 0x58], ecx
cmp dword [rsi + 0x5c], ebx
cmovl ebx, dword [rsi + 0x5c]
mov dword [rsi + 0x5c], ebx
mov r15d, edx
cmp ecx, ebx
cmovne r15d, r12d
mov dword [rsp + 0x50], r15d
movzx ecx, byte [rbp + 0x1c8]
mov eax, dword [rsp + 0x5c]
test cl, cl
jne 0x18005a7d7
test r15b, r15b
jne 0x18005a7d7
mov r12, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], r14d
jne 0x18005a7f4
jmp 0x18005a7e1
mov r14d, dword [rsp + 0x74]
mov r12, qword [rsp + 0x68]
test al, al
jne 0x18005a7f4
test rsi, rsi
je 0x18005a7f4
cmp byte [rsi + 0x48], al
mov byte [rsp + 0x7e], 1
jne 0x18005a7f9
mov byte [rsp + 0x7e], 0
cmp byte [rbp - 0x5c], 0
je 0x18005a8cc
mov rdx, qword [r12 + 0x3bf8]
cmp dword [rdx + 0x18], 0x2a
ja 0x18005a817
mov r8, qword [rdx + 0x38]
jmp 0x18005a83b
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18005a82f
mov r8, qword [rdx + 0x38]
jmp 0x18005a83b
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rdi, [r12 + 0x5a48]
mov eax, dword [rdx + 0x14]
mov dword [rdi + 0x14], eax
mov rax, qword [r12 + 0x3bf8]
mov ecx, dword [rax + 0x5c]
mov dword [rdi + 0x5c], ecx
mov rax, qword [r12 + 0x3bf8]
mov ecx, dword [rax + 0x60]
mov dword [rdi + 0x60], ecx
mov rax, qword [r12 + 0x3bf8]
mov ecx, dword [rax + 0x64]
mov dword [rdi + 0x64], ecx
mov rax, qword [r12 + 0x3bf8]
mov rcx, qword [rax + 0x40]
mov qword [rdi + 0x40], rcx
mov qword [rdi + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rdi + 0x10], eax
mov qword [rbp - 0x18], rdi
mov rbx, qword [0x180148688]
mov rcx, rdi
call fcn.18002f520
lea rcx, [rbx + 0x4808]
lea rdx, [rbp - 0x18]
call fcn.18003a990
mov rax, qword [rbx + 0x3ea0]
mov rdx, qword [rdi + 0x40]
mov rdx, qword [rdx + 8]
mov rcx, qword [rax + 0x290]
call fcn.180043560
xor ecx, ecx
mov dword [rbp - 0x18], ecx
mov ebx, 0x20000c
movss xmm0, dword [0x180109630]
cmp dword [r12 + 0x3f00], r14d
jne 0x18005ae20
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x18], eax
mov byte [rsi + 0xe86], cl
mov eax, dword [rbp + 0x1d8]
mov dword [rsi + 0x4c], eax
mov edi, dword [rbp + 0x1e8]
mov dword [rsi + 0xe88], edi
cmp byte [r12 + 0xe04], cl
sete al
mov byte [r12 + 0x3f0d], al
mov ecx, 1
mov dword [r12 + 0x5dbc], ecx
movss xmm6, dword [r12 + 0xdfc]
subss xmm6, xmm7
subss xmm6, dword [r12 + 0x381c]
addss xmm6, dword [rsi + 0x50]
cmp byte [rsp + 0x58], 0
je 0x18005a969
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xfc]
jmp 0x18005a977
movss xmm2, dword [r12 + 0x3c00]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0x79]
test r13b, r13b
je 0x18005a9a1
xor r13d, r13d
mov dword [rsi + 0x58], r13d
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], r13b
mov byte [rsi + 0xe85], cl
jmp 0x18005ac96
movzx eax, byte [rsp + 0x60]
test al, al
je 0x18005ab52
cmp word [r12 + 0x3742], 2
jb 0x18005ab52
cmp byte [r12 + 0xe15], 0
jne 0x18005ab52
cmp byte [rsi + 0x6b], 0
je 0x18005a9e7
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057690
movss xmm2, dword [rbp - 0x2c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057ad0
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x58], eax
mov dword [rsi + 0x5c], eax
mov byte [rsi + 0x6a], 0
movzx ecx, word [r12 + 0x3742]
sub ecx, 2
test cl, 1
jne 0x18005aac2
test eax, eax
je 0x18005aa2b
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18005aa2b
xor cl, cl
jmp 0x18005aa2d
mov cl, 1
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005aa39
test cl, cl
jne 0x18005aa59
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005aa74
cmp dword [rsi + 0x58], eax
jne 0x18005aa71
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005aa74
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180057770
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x5c], eax
mov eax, dword [rsi + 0xc]
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
cmp ecx, edx
je 0x18005aaab
cmp ecx, eax
jle 0x18005aa9b
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005aaa4
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005aaab
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18005ab47
mov dword [rsi + 0x54], eax
mov edi, dword [rbp + 0x1e8]
jmp 0x18005ac84
mov rcx, qword [rsi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057f40
cmp bx, 0xa
je 0x18005ab40
cmp byte [rsp + 0x58], 0
je 0x18005ab40
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 + 0x1e8]
jmp 0x18005ac84
cmp byte [r12 + 0x3738], 0
je 0x18005ac08
cmp byte [rsi + 0xe85], 0
jne 0x18005ac08
test al, al
je 0x18005ac93
cmp byte [r12 + 0xe15], 0
je 0x18005abc9
cmp byte [rsi + 0x6b], 0
je 0x18005ab9b
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057690
movss xmm2, dword [rbp - 0x2c]
lea rbx, [rsi + 0x5c]
mov eax, dword [rbx]
cmp dword [rsi + 0x58], eax
jne 0x18005abac
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057ad0
mov ecx, 0x54
mov rdx, rsi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18005ac84
cmp byte [rsi + 0x6b], 0
je 0x18005abe3
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057690
movss xmm2, dword [rbp - 0x2c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057ad0
mov dword [rsi + 0x58], eax
mov byte [rsi + 0x6a], 0
lea rbx, [rsi + 0x5c]
mov ecx, 0x54
mov rdx, rsi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18005ac84
cmp byte [r12 + 0xe04], 0
je 0x18005ac93
cmp byte [rsi + 0xe85], 0
jne 0x18005ac93
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm12
jp 0x18005ac44
jne 0x18005ac44
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm12
jp 0x18005ac44
je 0x18005ac93
cmp byte [rsi + 0x6b], 0
je 0x18005ac5e
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057690
movss xmm2, dword [rbp - 0x2c]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005ac6c
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057ad0
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov ecx, 1
xor r13d, r13d
cmp byte [rsi + 0xe85], 0
je 0x18005acb1
cmp byte [r12 + 0xe04], 0
jne 0x18005acb1
mov byte [rsi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x18005acc7
cmp byte [r12 + 0xe16], 0
je 0x18005acd7
test r14b, r14b
je 0x18005acdb
cmp byte [r12 + 0xe17], 0
je 0x18005acdb
mov bl, 1
jmp 0x18005acdd
xor bl, bl
bt edi, 0xa
jae 0x18005ad4b
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.180030250
test al, al
mov eax, dword [rsp + 0x5c]
je 0x18005ad4f
test bl, bl
jne 0x18005ad4f
cmp byte [r12 + 0xe15], bl
jne 0x18005ad4f
test al, al
jne 0x18005ad4f
mov dword [rbp - 0x80], 9
mov dword [rsp + 0x20], 2
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.1800596a0
test al, al
je 0x18005ad4b
lea rdx, [rsi + 0x54]
mov r8d, dword [rbp - 0x80]
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x5c]
cmp dword [r12 + 0x37b0], 0
jle 0x18005ae20
test bl, bl
jne 0x18005adee
test al, al
jne 0x18005adee
cmp byte [rbp + 0x1f8], al
jne 0x18005adee
mov edi, r13d
mov rbx, r13
mov r15d, dword [rbp + 0x1e8]
mov rax, qword [r12 + 0x37b8]
movzx ecx, word [rax + rbx]
mov dword [rbp + 0x1f8], ecx
cmp ecx, 9
je 0x18005add9
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call fcn.1800596a0
test al, al
je 0x18005add9
lea rdx, [rsi + 0x54]
mov r8d, dword [rbp + 0x1f8]
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x37b0]
jl 0x18005ad83
mov r15d, dword [rsp + 0x50]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x18005ae18
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r13d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37b0]
call fcn.18003acc0
mov dword [r12 + 0x37b0], r13d
xor r14b, r14b
mov byte [rsp + 0x70], r14b
lea rcx, [0x1800f5062]
mov r13d, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], r13d
jne 0x18005ba1f
cmp byte [r12 + 0x3f0c], r14b
jne 0x18005ba1f
cmp byte [rbp + 0x1f0], r14b
jne 0x18005ba1f
movaps xmm0, xmm11
subss xmm0, dword [r12 + 0x3820]
divss xmm0, dword [r12 + 0x3c00]
cvttss2si eax, xmm0
mov r14d, 1
mov ecx, r14d
cmp eax, r14d
cmovge ecx, eax
mov dword [rbp - 0x80], ecx
mov dword [rsi + 0x64], ecx
movzx eax, byte [r12 + 0xe15]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx edi, byte [r12 + 0x79]
mov byte [rbp - 0x60], dil
test dil, dil
je 0x18005aee0
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x54], al
cmp byte [r12 + 0xe17], 0
je 0x18005aeed
cmp byte [r12 + 0xe14], 0
jne 0x18005aeed
test al, al
jne 0x18005aeed
mov byte [rbp + 0x1f8], r14b
jmp 0x18005aef4
movzx eax, byte [r12 + 0xe14]
mov byte [rsp + 0x54], al
mov byte [rbp + 0x1f8], 0
mov r8d, r14d
mov edx, r13d
mov ecx, 0xa39
call fcn.180031fd0
test al, al
jne 0x18005af1c
mov r8d, r14d
mov edx, r13d
mov ecx, 0x220a
call fcn.180031fd0
test al, al
je 0x18005af48
mov r15d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x5c]
mov r14d, dword [rsp + 0x58]
test r15b, r15b
jne 0x18005af56
test r12b, r12b
jne 0x18005af56
test r14b, r14b
je 0x18005af41
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005af56
mov byte [rsp + 0x55], 1
jmp 0x18005af5b
mov r14d, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x5c]
mov byte [rsp + 0x55], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.180031fd0
test al, al
jne 0x18005af83
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.180031fd0
test al, al
je 0x18005af9c
test r12b, r12b
jne 0x18005af9c
test r14b, r14b
je 0x18005af95
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005af9c
mov byte [rsp + 0x7d], 1
jmp 0x18005afa1
mov byte [rsp + 0x7d], 0
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.180031fd0
test al, al
jne 0x18005afcf
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.180031fd0
test al, al
je 0x18005afd9
test r15b, r15b
mov byte [rsp + 0x60], r12b
je 0x18005afde
mov byte [rsp + 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.180031fd0
mov r14d, dword [rbp - 0x58]
test al, al
je 0x18005b005
test r15b, r15b
jne 0x18005b005
test r14b, r14b
mov byte [rsp + 0x7c], r12b
jne 0x18005b00a
mov byte [rsp + 0x7c], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.180031fd0
test al, al
jne 0x18005b037
test dil, dil
je 0x18005b041
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.180031fd0
test al, al
je 0x18005b041
test r15b, r15b
jne 0x18005b041
test r14b, r14b
jne 0x18005b044
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.180031fd0
movzx r13d, al
mov rax, qword [rsp + 0x68]
test byte [rax + 8], 2
je 0x18005b06e
test byte [rax + 0xc], 1
je 0x18005b06e
mov dil, 1
jmp 0x18005b071
xor dil, dil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.180030250
test al, al
jne 0x18005b0a2
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.180030250
test al, al
jne 0x18005b0a2
xor r15b, r15b
jmp 0x18005b0a6
movzx r15d, r14b
test dil, dil
je 0x18005b0d1
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180030250
test al, al
jne 0x18005b0d4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180030250
test al, al
jne 0x18005b0d4
xor r14b, r14b
mov r8d, 1
mov edx, dword [rsp + 0x74]
mov ecx, 0x20e
call fcn.180031fd0
test al, al
jne 0x18005b10e
test dil, dil
je 0x18005b109
mov r8d, 1
mov edx, dword [rsp + 0x74]
mov ecx, 0x26c
call fcn.180031fd0
test al, al
jne 0x18005b10e
xor dil, dil
jmp 0x18005b111
mov dil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b173
cmp byte [rbp + 0x1f8], 0
je 0x18005b135
mov eax, 0x200004
jmp 0x18005b147
mov eax, 0x200000
cmp byte [rsp + 0x54], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180057f40
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18005b9ea
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b1af
cmp byte [rbp + 0x1f8], 0
je 0x18005b199
mov ecx, 0x200005
or ebx, ecx
jmp 0x18005b149
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x54], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x18005b149
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b248
cmp byte [rsp + 0x58], 0
je 0x18005b248
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005b214
mov rdx, qword [rbp - 0x48]
movss xmm0, dword [rdx + 0x80]
subss xmm0, dword [r12 + 0x3c00]
maxss xmm0, xmm12
movss dword [rdx + 0x90], xmm0
xor eax, eax
mov dword [rdx + 0x98], eax
mov dword [rdx + 0xa0], eax
jmp 0x18005b9ea
movzx eax, byte [rbp + 0x1f8]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18005b9ea
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b2ce
cmp byte [rsp + 0x58], 0
je 0x18005b2ce
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005b2ba
mov rax, qword [0x180148688]
mov rcx, qword [rax + 0x3ea0]
movss xmm0, dword [r12 + 0x3c00]
mov rax, qword [rbp - 0x48]
addss xmm0, dword [rax + 0x80]
minss xmm0, dword [rcx + 0x88]
movss dword [rax + 0x90], xmm0
xor ecx, ecx
mov dword [rax + 0x98], ecx
mov dword [rax + 0xa0], ecx
jmp 0x18005b9ea
movzx eax, byte [rbp + 0x1f8]
lea r8d, [rax*4 + 0x200003]
jmp 0x18005b223
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b330
cmp byte [rsp + 0x58], 0
je 0x18005b330
or ebx, 0x20000e
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x68]
mulss xmm0, dword [r12 + 0x3c00]
subss xmm9, xmm0
jmp 0x18005b9ea
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b392
cmp byte [rsp + 0x58], 0
je 0x18005b392
or ebx, 0x20000f
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x68]
mulss xmm0, dword [r12 + 0x3c00]
addss xmm9, xmm0
jmp 0x18005b9ea
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b3cc
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x18005b226
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b407
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
cmovne r8d, eax
jmp 0x18005b226
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180030250
test al, al
je 0x18005b434
cmp byte [rsp + 0x5c], 0
jne 0x18005b434
cmp byte [rsp + 0x55], 0
jne 0x18005b434
or ebx, 0x200008
jmp 0x18005b149
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180030250
mov r8d, dword [rsp + 0x5c]
test al, al
je 0x18005b4fc
test r8b, r8b
jne 0x18005b4fc
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b48c
cmp byte [rsp + 0x54], r8b
je 0x18005b49f
lea rdx, [rsi + 0x54]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x68]
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005b226
cmp byte [rbp - 0x60], 0
je 0x18005b48c
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe17], 0
je 0x18005b491
cmp byte [r12 + 0xe16], 0
jne 0x18005b491
cmp byte [r12 + 0xe14], 0
jne 0x18005b491
lea rdx, [rsi + 0x54]
mov r8d, 0x600004
mov rcx, rsi
call fcn.180057f40
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005b226
test r15b, r15b
jne 0x18005b94c
test r14b, r14b
jne 0x18005b94c
test dil, dil
je 0x18005b575
test dword [rbp + 0x1e8], 0x100000
je 0x18005b551
mov eax, dword [rsi + 0x10]
test eax, eax
jg 0x18005b53e
xor r13b, r13b
mov dword [rsp + 0x50], r13d
mov byte [rbp + 0x1c8], r13b
mov byte [rbp + 0x1f0], 1
test eax, eax
setg r14b
mov byte [rsp + 0x70], r14b
mov r12, qword [rsp + 0x68]
jmp 0x18005b9ed
mov r14b, 1
mov byte [rsp + 0x70], r14b
mov byte [rbp + 0x1f0], r14b
xor r15b, r15b
xor cl, cl
mov byte [rbp + 0x1c8], cl
mov r12, qword [rsp + 0x68]
jmp 0x18005b9f9
movzx eax, byte [rsp + 0x7c]
test al, al
jne 0x18005b924
test r12b, r12b
jne 0x18005b924
test r13b, r13b
je 0x18005b5b3
xor eax, eax
mov dword [rsi + 0x58], eax
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], r12b
mov byte [rsi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18005b9ea
movzx r12d, byte [rsp + 0x55]
test r12b, r12b
jne 0x18005b773
cmp byte [rsp + 0x7d], r12b
jne 0x18005b773
cmp byte [rsp + 0x60], r12b
je 0x18005b169
mov rcx, qword [0x180148688]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18005b609
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18005b169
mov rcx, qword [0x180148688]
jmp 0x18005b610
lea rbx, [0x1800f5062]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18005b617
test rcx, rcx
je 0x18005b62b
inc dword [rcx + 0xf4]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x80], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x18005b6b6
mov rdi, rax
mov r15d, dword [rbp + 0x1e8]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.180022d80
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x1f8], r12d
je 0x18005b6b2
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call fcn.1800596a0
test al, al
je 0x18005b6ad
movzx eax, word [rbp + 0x1f8]
mov word [rdi], ax
inc r14d
add rdi, 2
cmp byte [rbx], r12b
jne 0x18005b660
mov r15, qword [rbp - 0x80]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18005b749
mov eax, dword [rsi + 0xc]
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
cmp ecx, edx
je 0x18005b6ed
cmp ecx, eax
jle 0x18005b6dd
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005b6e6
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005b6ed
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18005b6f5
mov dword [rsi + 0x54], eax
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057ea0
mov r9d, r14d
mov r8, r15
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180057940
test al, al
je 0x18005b742
mov edi, dword [rsi + 0x54]
lea rcx, [rsi + 0x74]
xor edx, edx
call fcn.180059190
test rax, rax
je 0x18005b73a
mov dword [rax], edi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rsi + 0x54], r14d
mov byte [rsi + 0x6a], r12b
mov byte [rsi + 0xe84], 1
test r15, r15
je 0x18005b760
mov rax, qword [0x180148688]
test rax, rax
je 0x18005b760
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x68]
jmp 0x18005b9ea
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xb8], 0
je 0x18005b8d2
mov edi, dword [rsi + 0x5c]
mov eax, dword [rsi + 0x58]
cmp eax, edi
je 0x18005b79f
mov r14d, edi
cmovl r14d, eax
cmovge edi, eax
xor r13d, r13d
jmp 0x18005b7a8
xor r13d, r13d
mov r14d, r13d
mov edi, dword [rsi + 0xc]
mov rcx, qword [rsi + 0x20]
movsxd rax, edi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
nop dword [rax]
test r8, r8
je 0x18005b7da
cmp rdx, r8
jae 0x18005b7fd
movzx eax, word [rdx]
test ax, ax
je 0x18005b7fd
add rdx, 2
cmp ax, r10w
jae 0x18005b7f0
inc ecx
jmp 0x18005b7d0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18005b7d0
inc ecx
mov rax, qword [0x180148688]
test rax, rax
je 0x18005b811
inc dword [rax + 0xf4]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov rdx, qword [rsi + 0x20]
movsxd rcx, edi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rdi, [rbx + rax]
lea rbx, [rdi - 1]
cmp rax, rbx
jae 0x18005b88c
mov r13d, 0x80
test r11, r11
je 0x18005b852
cmp r10, r11
jae 0x18005b889
movzx eax, word [r10]
test ax, ax
je 0x18005b889
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18005b86f
mov byte [r9], r8b
inc r9
jmp 0x18005b884
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180022f30
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005b848
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x180148688]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18005b8b7
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x180148688]
test r15, r15
je 0x18005b8c7
test rax, rax
je 0x18005b8c7
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005b8d5
xor r13d, r13d
test r12b, r12b
je 0x18005b169
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b8f7
mov dword [rsi + 0x58], r13d
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], 0
mov byte [rsi + 0xe84], 1
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005b169
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057ea0
mov byte [rsi + 0x6a], 0
mov r12, qword [rsp + 0x68]
jmp 0x18005b9ea
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180057f40
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005b158
mov edx, dword [rbp + 0x1e8]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
test cl, cl
je 0x18005b979
test r14b, r14b
jne 0x18005b979
test al, al
je 0x18005b99d
cmp byte [r12 + 0xe14], r14b
jne 0x18005b9a8
mov byte [rsp + 0x56], 1
cmp byte [r12 + 0x7c], 0
je 0x18005b9e3
test cl, cl
jne 0x18005b9e3
xor eax, eax
mov dword [rsi + 0x58], eax
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], cl
jmp 0x18005b9ea
cmp byte [r12 + 0xe14], 0
jne 0x18005b979
test r8b, r8b
jne 0x18005b169
mov dword [rbp + 0x1f8], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1f8]
call fcn.1800596a0
test al, al
je 0x18005b169
mov r8d, dword [rbp + 0x1f8]
jmp 0x18005b226
mov byte [rbp + 0x1f0], 1
xor r14b, r14b
mov r15d, dword [rsp + 0x50]
movzx ecx, byte [rbp + 0x1c8]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005ba09
test cl, cl
je 0x18005ba09
mov al, 1
jmp 0x18005ba0b
xor al, al
or r15b, al
mov dword [rsp + 0x50], r15d
mov r13d, dword [rsp + 0x74]
lea rcx, [0x1800f5062]
xor edi, edi
mov qword [rbp - 0x58], rdi
mov dword [rbp + 0x1f8], edi
cmp dword [r12 + 0x3f00], r13d
jne 0x18005c1cc
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005bce6
test r14b, r14b
je 0x18005bc4c
test dword [rbp + 0x1e8], 0x100000
je 0x18005babf
mov qword [rbp - 0x58], rcx
mov dword [rbp + 0x1f8], edi
movsxd rbx, dword [rsi + 0xc]
lea rcx, [rsi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.1800592e0
mov r9, rax
test rax, rax
je 0x18005baa5
test ebx, ebx
jle 0x18005baa5
mov edx, edi
nop dword [rax]
mov rcx, qword [rsi + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x18005ba90
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.180057870
mov qword [rsi + 0x58], rdi
mov dword [rsi + 0x54], edi
jmp 0x18005bc4c
mov r9, qword [rsi + 0x40]
mov rax, qword [rbp + 0x1d0]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005bae3
inc rax
test ecx, ecx
jne 0x18005bad0
test edx, edx
je 0x18005bc4c
mov qword [rbp - 0x58], r9
mov r12d, dword [rsi + 0x38]
dec r12d
mov dword [rbp + 0x1f8], r12d
mov qword [rbp - 0x38], rdi
mov r15d, edi
mov r13, rdi
mov qword [rbp - 0x30], rdi
test r12d, r12d
jle 0x18005bc05
movsxd rdi, r12d
add rdi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
test rdi, rdi
je 0x18005bb2c
cmp rbx, rdi
jae 0x18005bb51
cmp byte [rbx], 0
je 0x18005bb51
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180022d80
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005bb51
inc r14d
jmp 0x18005bb22
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18005bb95
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18005bb95
mov rax, qword [0x180148688]
test rax, rax
je 0x18005bb7f
inc dword [rax + 0xf4]
movsxd rcx, ebx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], ebx
mov dword [rbp - 0x38], r15d
movsxd r14, r12d
add r14, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x58]
mov rdi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x18005bbf7
nop word [rax + rax]
test r14, r14
je 0x18005bbca
cmp rbx, r14
jae 0x18005bbf7
cmp byte [rbx], 0
je 0x18005bbf7
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180022d80
movsxd rcx, eax
add rbx, rcx
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x18005bbf7
mov word [rdi], ax
add rdi, 2
cmp rdi, r12
jb 0x18005bbc0
xor eax, eax
mov word [rdi], ax
mov r12d, dword [rbp + 0x1f8]
xor edi, edi
lea r9d, [r15 - 1]
test r12d, r12d
cmovle r9d, edi
lea rdx, [rsi + 0x54]
mov r8, r13
mov rcx, rsi
call fcn.1800595e0
nop
test r13, r13
je 0x18005bc41
mov rax, qword [0x180148688]
test rax, rax
je 0x18005bc37
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movzx r14d, byte [rsp + 0x70]
mov r15d, dword [rsp + 0x5c]
mov byte [rsi + 0x48], 1
mov eax, dword [rsi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rsi + 0x2c]
cmp ebx, ecx
jle 0x18005bc85
test ecx, ecx
je 0x18005bc70
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005bc75
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x28]
call fcn.18003ac30
mov dword [rsi + 0x28], ebx
mov r10, qword [rsi + 0x20]
mov r9, qword [rsi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x18005bce2
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18005bcdd
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18005bcc2
mov byte [r9], r8b
inc r9
jmp 0x18005bcd8
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180022f30
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005bca5
mov r15d, dword [rsp + 0x5c]
mov byte [r9], 0
test r14b, r14b
je 0x18005bd8d
cmp byte [rsp + 0x56], 0
je 0x18005bd06
mov edi, dword [rbp + 0x1e8]
test dil, 0x20
jne 0x18005bd93
mov r14, qword [rbp + 0x1d0]
mov r12d, dword [rsp + 0x78]
mov rdi, qword [rbp - 0x58]
mov ecx, dword [rbp + 0x1f8]
test rdi, rdi
je 0x18005c1bb
test r12b, r12b
je 0x18005c187
xor edx, edx
mov qword [rbp + 0x60], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
mov dword [rbp + 0x50], 0x40000
mov eax, dword [rbp + 0x1e8]
mov dword [rbp + 0x54], eax
mov qword [rbp + 0x68], r14
mov dword [rbp + 0x70], ecx
lea eax, [rcx + 1]
cmp dword [rbp + 0x1d8], eax
cmovge eax, dword [rbp + 0x1d8]
mov dword [rbp + 0x74], eax
mov qword [rbp + 0x58], rdx
lea rcx, [rbp + 0x50]
call rdx
mov r14, qword [rbp + 0x68]
mov qword [rbp + 0x1d0], r14
mov edx, dword [rbp + 0x74]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x70], ecx
cmovl ecx, dword [rbp + 0x70]
jmp 0x18005c18d
mov edi, dword [rbp + 0x1e8]
test edi, 0x801c0
je 0x18005c133
xor r14d, r14d
mov ebx, r14d
lea r12d, [r14 + 1]
test dil, 0x40
je 0x18005bdcd
mov r8d, r12d
xor edx, edx
mov ecx, 0x200
call fcn.180030250
test al, al
je 0x18005bdcd
lea eax, [r14 + 0x40]
mov ebx, 0x200
jmp 0x18005be36
test dil, dil
jns 0x18005be18
mov r8d, r12d
xor edx, edx
mov ecx, 0x203
call fcn.180030250
test al, al
je 0x18005bdf5
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
jmp 0x18005be3c
mov r8d, r12d
xor edx, edx
mov ecx, 0x204
call fcn.180030250
test al, al
je 0x18005be18
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
jmp 0x18005be3c
mov eax, 0x80000
test eax, edi
je 0x18005be29
cmp byte [rsi + 0xe86], bl
jne 0x18005be36
mov ecx, 0x100
test ecx, edi
mov eax, r14d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x18005c133
mov dword [rbp + 0x28], r14d
mov qword [rbp + 0x41], r14
mov dword [rbp + 0x49], r14d
mov word [rbp + 0x4d], r14w
mov byte [rbp + 0x4f], r14b
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], edi
mov qword [rbp + 0x20], r14
test r15b, r15b
mov rax, qword [rbp + 0x1d0]
jne 0x18005be73
mov rax, qword [rsi + 0x30]
mov dword [rbp + 0x2c], ebx
mov qword [rbp + 0x30], rax
mov eax, dword [rsi + 0x10]
mov dword [rbp + 0x38], eax
mov eax, dword [rsi + 0x4c]
mov dword [rbp + 0x3c], eax
mov byte [rbp + 0x40], r14b
mov rdx, qword [rsi + 0x20]
movsxd rax, dword [rsi + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r14d
mov r9d, 0x800
test r8, r8
je 0x18005beac
cmp rcx, r8
jae 0x18005becf
movzx eax, word [rcx]
test ax, ax
je 0x18005becf
add rcx, 2
cmp ax, r10w
jae 0x18005bec2
inc ebx
jmp 0x18005bea2
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18005bea2
mov dword [rbp + 0x44], ebx
movsxd rax, dword [rsi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r15d, r14d
test r8, r8
je 0x18005beea
cmp rcx, r8
jae 0x18005bf0f
movzx eax, word [rcx]
test ax, ax
je 0x18005bf0f
add rcx, 2
cmp ax, r10w
jae 0x18005bf01
inc r15d
jmp 0x18005bee0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18005bee0
mov dword [rbp + 0x48], r15d
movsxd rax, dword [rsi + 0x5c]
lea rcx, [rdx + rax*2]
mov r12d, r14d
nop
test rcx, rcx
je 0x18005bf2a
cmp rdx, rcx
jae 0x18005bf4f
movzx eax, word [rdx]
test ax, ax
je 0x18005bf4f
add rdx, 2
cmp ax, r10w
jae 0x18005bf41
inc r12d
jmp 0x18005bf20
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x18005bf20
mov dword [rbp + 0x4c], r12d
lea rcx, [rbp + 0x18]
call r14
movzx r13d, byte [rbp + 0x40]
movsxd rcx, dword [rbp + 0x44]
cmp ecx, ebx
jne 0x18005bf6c
test r13b, r13b
je 0x18005bfb4
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rcx]
test rdi, rdi
je 0x18005bf7e
cmp rbx, rdi
jae 0x18005bfa3
cmp byte [rbx], 0
je 0x18005bfa3
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180022d80
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005bfa3
inc r14d
jmp 0x18005bf74
mov dword [rsi + 0x54], r14d
mov byte [rsi + 0xe84], 1
mov ecx, dword [rbp + 0x44]
xor r14d, r14d
movsxd rax, dword [rbp + 0x48]
cmp eax, r15d
jne 0x18005bfc2
test r13b, r13b
je 0x18005c00a
cmp eax, ecx
jne 0x18005bfcc
mov r14d, dword [rsi + 0x54]
jmp 0x18005c006
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rax]
test rdi, rdi
je 0x18005bfde
cmp rbx, rdi
jae 0x18005c003
cmp byte [rbx], 0
je 0x18005c003
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180022d80
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c003
inc r14d
jmp 0x18005bfd4
mov eax, dword [rbp + 0x48]
mov dword [rsi + 0x58], r14d
movsxd rcx, dword [rbp + 0x4c]
cmp ecx, r12d
jne 0x18005c01c
test r13b, r13b
je 0x18005c13a
cmp ecx, eax
jne 0x18005c070
mov r14d, dword [rsi + 0x58]
mov dword [rsi + 0x5c], r14d
test r13b, r13b
je 0x18005c13a
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov rcx, rsi
call fcn.180059880
mov ebx, dword [rbp + 0x38]
mov eax, dword [rbp - 0x18]
mov r12d, dword [rsp + 0x78]
cmp ebx, eax
jle 0x18005c0cb
test r12b, r12b
je 0x18005c0cb
sub ebx, eax
add ebx, dword [rsi + 0x18]
mov ecx, dword [rsi + 0x1c]
cmp ebx, ecx
jle 0x18005c0c8
test ecx, ecx
je 0x18005c0b3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005c0b8
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rcx]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rdi, rdi
je 0x18005c08a
cmp rbx, rdi
jae 0x18005c024
cmp byte [rbx], 0
je 0x18005c024
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180022d80
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c024
inc r14d
jmp 0x18005c080
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003acc0
mov dword [rsi + 0x18], ebx
mov rdi, qword [rbp + 0x30]
mov r15, qword [rsi + 0x20]
mov rbx, r15
movsxd r14, dword [rsi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005c113
cmp byte [rdi], 0
je 0x18005c113
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180022d80
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005c113
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005c0e6
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rsi + 0xc], ebx
mov eax, dword [rbp + 0x38]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18005c13f
mov r12d, dword [rsp + 0x78]
jmp 0x18005c144
mov r12d, dword [rsp + 0x78]
mov r15d, dword [rsp + 0x5c]
mov r14, qword [rbp + 0x1d0]
test r15b, r15b
jne 0x18005bd12
mov r9, qword [rsi + 0x30]
mov rax, r9
mov r8, r14
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005c174
inc rax
test ecx, ecx
jne 0x18005c161
test edx, edx
je 0x18005bd12
mov rdi, r9
mov ecx, dword [rsi + 0x10]
jmp 0x18005bd1c
mov edx, dword [rbp + 0x1d8]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18005c1b6
jbe 0x18005c1b0
lea r8, [rbx - 1]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r14 - 1], 0
mov byte [rsp + 0x7f], 1
xor edi, edi
mov r13d, dword [rsp + 0x74]
mov r15d, dword [rsp + 0x50]
mov r12, qword [rsp + 0x68]
cmp byte [rbp + 0x1f0], 0
je 0x18005c1e4
cmp dword [r12 + 0x3f00], r13d
jne 0x18005c1e4
call fcn.180026db0
mov r11d, dword [rsp + 0x58]
test r11b, r11b
jne 0x18005c2bb
mov r8d, 1
mov edx, r13d
lea rcx, [rbp - 0x70]
call fcn.180024e40
mov rax, qword [0x180148688]
movups xmm0, xmmword [rax + 0x3918]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rbp - 0x38]
call fcn.180022ff0
mov r8d, eax
movss xmm0, dword [r12 + 0x3824]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x68]
movaps xmm0, xmm7
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.180024b50
movaps xmm15, xmm7
addss xmm15, xmm10
movss dword [rbp + 0x10], xmm15
movaps xmm14, xmm13
addss xmm14, xmm11
movss dword [rbp + 0x14], xmm14
movaps xmm0, xmm7
addss xmm0, dword [r12 + 0x381c]
movss dword [rbp - 0x78], xmm0
movaps xmm1, xmm13
addss xmm1, dword [r12 + 0x3820]
movss dword [rbp - 0x74], xmm1
movss dword [rbp + 0x1f8], xmm15
movss dword [rbp + 0x1f0], xmm14
mov r11d, dword [rsp + 0x58]
mov r8, qword [rbp - 0x48]
jmp 0x18005c300
movaps xmm2, xmm10
addss xmm2, xmm7
movss dword [rbp + 0x1f8], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x10], xmm2
movaps xmm1, xmm13
addss xmm1, xmm11
movss dword [rbp + 0x1f0], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x14], xmm1
mov r8, qword [rbp - 0x48]
movsd xmm0, qword [r8 + 0xf8]
movsd qword [rbp - 0x78], xmm0
lea rax, [rbp - 0x78]
movss dword [rbp + 0xc], xmm13
movss dword [rbp + 8], xmm7
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
xorps xmm4, xmm4
movss dword [rbp - 0x58], xmm4
xorps xmm8, xmm8
movss dword [rsp + 0x78], xmm8
cmp byte [rsp + 0x7e], 0
je 0x18005c33f
mov r13, qword [rsi + 0x30]
mov qword [rbp + 0x1d0], r13
jmp 0x18005c346
mov r13, qword [rbp + 0x1d0]
movzx eax, byte [rbp + 0x1c8]
test al, al
jne 0x18005c538
test r15b, r15b
jne 0x18005c538
test r11b, r11b
je 0x18005c3c9
mov ecx, edi
movzx edx, byte [r13]
lea r14, [r13 + 1]
test dl, dl
je 0x18005c396
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [r14]
inc r14
test dl, dl
jne 0x18005c380
dec r14
movzx eax, byte [r14]
cmp al, 0xa
je 0x18005c3a7
cmp al, 0xd
je 0x18005c3a7
inc ecx
movss dword [rbp - 0x58], xmm10
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c00]
movss dword [rsp + 0x78], xmm8
jmp 0x18005c403
mov eax, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], eax
jne 0x18005c3dd
movsxd r14, dword [rsi + 0x10]
jmp 0x18005c3ee
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r14 + r13], 0
jne 0x18005c3e4
add r14, r13
mov rax, r14
sub rax, r13
cmp rax, 0x200000
jge 0x18005ce2c
mov rax, qword [0x180148688]
movups xmm0, xmmword [rax + 0x38a8]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rbp - 0x38]
call fcn.180022ff0
mov r9d, eax
mov rdx, qword [r8 + 0x290]
lea r8, [rbp + 8]
test r11b, r11b
cmovne r8, rdi
mov rcx, r14
movss xmm2, dword [r12 + 0x3c00]
mov r10, qword [r12 + 0x3bf8]
test eax, 0xff000000
je 0x18005ce2c
test r14, r14
jne 0x18005c47d
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x18005c470
add rcx, r13
cmp r13, rcx
je 0x18005ce2c
test r10, r10
jne 0x18005c493
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
xorps xmm12, xmm12
ucomiss xmm2, xmm12
jp 0x18005c4a8
jne 0x18005c4a8
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x70], xmm1
test r8, r8
je 0x18005c501
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x18005c4c7
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm1
jae 0x18005c4dc
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x68]
ja 0x18005c4ed
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x64]
ja 0x18005c4fe
movss dword [rbp - 0x64], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm12
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x78]
mov rcx, r10
call fcn.18004aa90
jmp 0x18005ce30
movsxd r14, dword [rsi + 0x10]
add r14, r13
mov r15, qword [rsi + 0x20]
xorps xmm7, xmm7
xorps xmm6, xmm6
mov r9, rdi
mov rbx, rdi
mov r8d, 0xfffffc18
mov edi, r8d
xor r10d, r10d
mov edx, r10d
test al, al
je 0x18005c572
movsxd rax, dword [rsi + 0x54]
lea r9, [r15 + rax*2]
lea edx, [r10 + 1]
lea r8d, [r10 - 1]
mov r13d, dword [rsp + 0x50]
test r13b, r13b
je 0x18005c594
mov ecx, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], ecx
cmovl ecx, dword [rsi + 0x58]
movsxd rax, ecx
lea rbx, [r15 + rax*2]
mov edi, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18005c5e2
cmp cx, 0xa
jne 0x18005c5d6
inc r10d
cmp r8d, 0xffffffff
jne 0x18005c5c3
cmp rax, r9
jb 0x18005c5c3
mov r8d, r10d
dec edx
test edx, edx
jle 0x18005c5e2
cmp edi, 0xffffffff
jne 0x18005c5d6
cmp rax, rbx
jb 0x18005c5d6
mov edi, r10d
dec edx
test edx, edx
jle 0x18005c5e2
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18005c5a6
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp edi, 0xffffffff
cmove edi, r10d
mov rdx, r9
cmp r9, r15
jbe 0x18005c612
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005c612
mov rdx, rax
cmp rax, r15
ja 0x18005c600
mov r8, qword [r12 + 0x3bf8]
movss xmm2, dword [r12 + 0x3c00]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm4
movaps xmm12, xmm4
cmp rdx, r9
jae 0x18005c680
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005c657
maxss xmm1, xmm12
movaps xmm12, xmm4
jmp 0x18005c67b
cmp ecx, 0xd
je 0x18005c67b
cmp ecx, dword [r8]
jge 0x18005c66c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005c672
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x18005c640
maxss xmm12, xmm1
movss xmm0, dword [r12 + 0x3c00]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test edi, edi
js 0x18005c739
mov rdx, rbx
cmp rbx, r15
jbe 0x18005c6c2
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005c6c2
mov rdx, rax
cmp rax, r15
ja 0x18005c6b0
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm4
movaps xmm7, xmm4
cmp rdx, rbx
jae 0x18005c720
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005c6f5
maxss xmm2, xmm7
movaps xmm7, xmm4
jmp 0x18005c71b
cmp ecx, 0xd
je 0x18005c71b
cmp ecx, dword [r8]
jge 0x18005c70a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x18005c710
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm7, xmm0
cmp rdx, rbx
jb 0x18005c6e0
movss xmm0, dword [r12 + 0x3c00]
movd xmm6, edi
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm0
maxss xmm7, xmm2
mov r11d, dword [rsp + 0x58]
test r11b, r11b
je 0x18005c75e
movss dword [rbp - 0x58], xmm10
movd xmm8, r10d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm0
movss dword [rsp + 0x78], xmm8
movzx r8d, byte [rbp + 0x1c8]
test r8b, r8b
je 0x18005c892
cmp byte [rsi + 0xe84], 0
je 0x18005c892
test dword [rbp + 0x1e8], 0x1000
jne 0x18005c7da
movaps xmm0, xmm10
mulss xmm0, dword [0x180109618]
subss xmm10, dword [r12 + 0x381c]
movss xmm2, dword [rsi + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x18005c7ba
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x18005c7c8
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x18005c7df
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm0
jmp 0x18005c7df
xor eax, eax
mov dword [rsi + 0x50], eax
test r11b, r11b
je 0x18005c88b
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c00]
comiss xmm9, xmm0
jbe 0x18005c807
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x18005c839
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm11
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x18005c839
movaps xmm9, xmm13
subss xmm9, xmm11
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm4, xmm9
jbe 0x18005c84e
movaps xmm2, xmm4
jmp 0x18005c865
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm11
maxss xmm2, xmm4
minss xmm2, xmm9
mov rax, qword [rbp - 0x48]
movss xmm0, dword [rax + 0x80]
subss xmm0, xmm2
movss xmm1, dword [rbp - 0x74]
addss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
movss dword [rax + 0x80], xmm2
mov byte [rsi + 0xe84], 0
movss xmm11, dword [rsi + 0x50]
test r13b, r13b
je 0x18005cb0a
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rdi, [r15 + rax*2]
test r8b, r8b
je 0x18005c8cd
movss xmm1, dword [0x180109670]
jmp 0x18005c8d5
movss xmm1, dword [0x180109638]
mov rax, qword [0x180148688]
movups xmm0, xmmword [rax + 0x3b98]
movups xmmword [rbp - 0x38], xmm0
mulss xmm1, dword [rax + 0x37e0]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0x2c], xmm0
lea rcx, [rbp - 0x38]
call fcn.180022ff0
mov r15d, eax
xorps xmm4, xmm4
test r11b, r11b
je 0x18005c91b
movss dword [rbp - 4], xmm4
xorps xmm10, xmm10
jmp 0x18005c924
movss xmm10, dword [0x1801096a8]
movss xmm9, dword [rbp - 0x78]
addss xmm7, xmm9
subss xmm7, xmm11
movss xmm8, dword [rbp - 0x74]
addss xmm8, xmm6
subss xmm8, xmm4
cmp rbx, rdi
jae 0x18005cb10
movss xmm6, dword [0x180109630]
nop word [rax + rax]
movss xmm2, dword [r12 + 0x3c00]
movaps xmm0, xmm14
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x18005cb03
movss xmm5, dword [rbp - 0x50]
comiss xmm5, xmm8
jbe 0x18005c9ab
cmp rbx, rdi
jae 0x18005cae7
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005cae7
cmp rbx, rdi
jb 0x18005c990
jmp 0x18005cae7
mov rdx, qword [r12 + 0x3bf8]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, rdi
jae 0x18005ca01
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18005c9f7
cmp ecx, 0xd
je 0x18005c9f0
cmp ecx, dword [rdx]
jge 0x18005c9e3
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005c9e8
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, rdi
jb 0x18005c9c3
jmp 0x18005ca01
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x18005ca31
cmp dword [rdx], 0x20
jle 0x18005ca1d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005ca22
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm7
movaps xmm0, xmm10
addss xmm0, xmm8
addss xmm7, xmm4
movss xmm2, dword [rbp - 4]
subss xmm2, dword [r12 + 0x3c00]
addss xmm2, xmm8
movss xmm3, dword [rbp - 0x20]
maxss xmm7, xmm3
maxss xmm2, xmm5
movss dword [rbp - 0x38], xmm7
movss dword [rbp - 0x34], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp - 0x30], xmm1
movss dword [rbp - 0x2c], xmm0
comiss xmm0, xmm5
jbe 0x18005cae7
comiss xmm14, xmm2
jbe 0x18005cae7
comiss xmm1, xmm3
jbe 0x18005cae7
comiss xmm15, xmm7
jbe 0x18005cae7
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm4
mov r9d, r15d
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x38]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x290]
call fcn.180045e60
movss xmm0, dword [rbp + 0x1f8]
movss dword [rbp + 0x1f8], xmm0
movss xmm0, dword [rbp + 0x1f0]
movss dword [rbp + 0x1f0], xmm0
movss xmm9, dword [rbp - 0x78]
xorps xmm4, xmm4
movaps xmm7, xmm9
subss xmm7, xmm11
addss xmm8, dword [r12 + 0x3c00]
cmp rbx, rdi
jb 0x18005c960
mov r11d, dword [rsp + 0x58]
jmp 0x18005cb10
movss xmm9, dword [rbp - 0x78]
mov r13, qword [rbp + 0x1d0]
test r11b, r11b
jne 0x18005cb2e
mov rax, r14
sub rax, r13
cmp rax, 0x200000
jge 0x18005cc83
mov rax, qword [0x180148688]
movups xmm0, xmmword [rax + 0x38a8]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rbp - 0x38]
call fcn.180022ff0
mov r9d, eax
mov rbx, qword [rbp - 0x48]
mov rdx, qword [rbx + 0x290]
mov rcx, r14
subss xmm9, xmm11
movss dword [rbp - 0x48], xmm9
movss xmm0, dword [rbp - 0x74]
xorps xmm4, xmm4
subss xmm0, xmm4
movss dword [rbp - 0x44], xmm0
movss xmm2, dword [r12 + 0x3c00]
mov r10, qword [r12 + 0x3bf8]
lea r8, [rbp + 8]
test r11b, r11b
mov eax, 0
cmovne r8, rax
test r9d, 0xff000000
je 0x18005cc87
test r14, r14
jne 0x18005cbce
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x18005cbc2
add rcx, r13
cmp r13, rcx
je 0x18005cc87
test r10, r10
jne 0x18005cbe4
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x18005cbf4
jne 0x18005cbf4
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x70], xmm1
test r8, r8
je 0x18005cc4d
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x18005cc13
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm1
jae 0x18005cc28
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x68]
ja 0x18005cc39
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x64]
ja 0x18005cc4a
movss dword [rbp - 0x64], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm4
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x48]
mov rcx, r10
call fcn.18004aa90
xorps xmm4, xmm4
jmp 0x18005cc87
mov rbx, qword [rbp - 0x48]
cmp byte [rbp + 0x1c8], 0
je 0x18005ce26
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rsi + 0xe80]
movss dword [rsi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x18005ccd6
comiss xmm4, xmm0
jae 0x18005ccd6
movss xmm1, dword [0x180109678]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180109658]
comiss xmm1, xmm0
jae 0x18005ccd6
xor cl, cl
jmp 0x18005ccd8
mov cl, 1
addss xmm12, dword [rbp - 0x78]
subss xmm12, xmm11
cvttss2si eax, xmm12
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp - 0x74]
addss xmm0, xmm13
xorps xmm12, xmm12
subss xmm0, xmm12
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x38], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3c00]
addss xmm0, dword [0x180109630]
movss dword [rbp - 0x34], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x180109670]
addss xmm2, xmm8
movss dword [rbp - 0x30], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180109684]
movss dword [rbp - 0x2c], xmm1
movss xmm13, dword [rbp - 0x50]
test cl, cl
je 0x18005cde3
comiss xmm1, xmm13
jbe 0x18005cde3
movss xmm3, dword [rbp + 0x1f0]
comiss xmm3, xmm0
jbe 0x18005cde3
comiss xmm2, dword [rbp - 0x20]
jbe 0x18005cde3
movss xmm0, dword [rbp + 0x1f8]
comiss xmm0, xmm6
jbe 0x18005cde3
mov rax, qword [0x180148688]
movups xmm0, xmmword [rax + 0x38a8]
movups xmmword [rbp - 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x64], xmm0
movss dword [rbp + 0x1c8], xmm6
movss dword [rbp + 0x1cc], xmm1
lea rcx, [rbp - 0x70]
call fcn.180022ff0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x1c8]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 0x290]
call fcn.180045bf0
cmp byte [rsp + 0x5c], 0
jne 0x18005ce39
mov byte [r12 + 0x5b50], 1
subss xmm6, xmm8
movss xmm0, dword [r12 + 0x3c00]
subss xmm7, xmm0
movss dword [r12 + 0x5b54], xmm6
movss dword [r12 + 0x5b58], xmm7
movss dword [r12 + 0x5b5c], xmm0
jmp 0x18005ce39
movss xmm13, dword [rbp - 0x50]
xorps xmm12, xmm12
movss xmm8, dword [0x180109670]
mov ebx, dword [rbp - 0x5c]
test bl, bl
je 0x18005ce45
call fcn.18002f5c0
cmp byte [rsp + 0x58], 0
je 0x18005ceef
movss xmm0, dword [rbp - 0x58]
movss dword [rbp + 0x1c8], xmm0
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [r12 + 0x3820]
movss dword [rbp + 0x1cc], xmm0
lea rcx, [rbp + 0x1c8]
call fcn.180054080
mov ebx, dword [r12 + 0x4720]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4720], eax
call fcn.18002a300
mov eax, dword [r12 + 0x4744]
and eax, 0x80
mov edi, dword [rbp + 0x90]
or edi, eax
mov dword [r12 + 0x4720], ebx
call fcn.1800328f0
mov ebx, dword [rbp - 0x5c]
cmp dword [r12 + 0x473c], 0
jne 0x18005ceef
mov eax, dword [rsp + 0x74]
mov dword [r12 + 0x473c], eax
mov eax, dword [rbp + 0x8c]
mov dword [r12 + 0x4740], eax
mov dword [r12 + 0x4744], edi
cmp byte [r12 + 0x5c08], 0
je 0x18005d06a
test bl, bl
jne 0x18005d06a
mov rdi, qword [0x180148688]
mov rsi, qword [rdi + 0x3ea0]
xor eax, eax
mov qword [rdi + 0x5c30], rax
mov qword [rdi + 0x5c28], rax
test r14, r14
jne 0x18005cf50
mov r14, r13
cmp r13, 0xffffffffffffffff
jae 0x18005cf50
movzx ecx, byte [r14]
test cl, cl
je 0x18005cf50
lea rax, [r14 + 1]
cmp cl, 0x23
jne 0x18005cf47
cmp byte [rax], cl
je 0x18005cf50
mov r14, rax
cmp rax, 0xffffffffffffffff
jb 0x18005cf32
movss xmm0, dword [rdi + 0x3820]
addss xmm0, dword [rdi + 0x5c38]
addss xmm0, xmm8
movss xmm1, dword [rbp - 0x74]
movss dword [rdi + 0x5c38], xmm1
comiss xmm1, xmm0
jbe 0x18005cf8a
lea rcx, [0x1800fad00]
call fcn.1800389a0
mov byte [rdi + 0x5c3c], 1
lea r8, [0x1800fb425]
lea rdx, [0x1800fb424]
lea rcx, [rbp - 0x78]
call fcn.1800389e0
mov eax, dword [rsi + 0x180]
mov ecx, dword [rdi + 0x5c40]
cmp ecx, eax
jle 0x18005cfb9
mov dword [rdi + 0x5c40], eax
mov ecx, eax
mov esi, dword [rsi + 0x180]
sub esi, ecx
lea r15, [0x1800f5062]
mov r12d, 1
nop
mov r8, r14
sub r8, r13
mov edx, 0xa
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, r14
test rax, rax
cmovne rbx, rax
cmp r13, rbx
jne 0x18005cff7
cmp rbx, r14
je 0x18005d04e
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c3c], 0
lea edx, [rsi*4]
jne 0x18005d010
mov edx, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.1800389a0
mov byte [rdi + 0x5c3c], 0
cmp byte [rbx], 0xa
jne 0x18005d043
lea rcx, [0x1800fad00]
call fcn.1800389a0
mov byte [rdi + 0x5c3c], r12b
cmp rbx, r14
je 0x18005d04e
lea r13, [rbx + 1]
jmp 0x18005cfd0
lea r8, [0x1800fb449]
lea rdx, [0x1800fb448]
lea rcx, [rbp - 0x78]
call fcn.1800389e0
mov r12, qword [rsp + 0x68]
movss xmm0, dword [rbp]
comiss xmm0, xmm12
jbe 0x18005d0a9
movss xmm0, dword [rbp - 8]
addss xmm0, dword [r12 + 0x3834]
addss xmm13, dword [r12 + 0x3820]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1c0]
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.1800238c0
movzx edx, byte [rsp + 0x7f]
mov ecx, dword [rbp + 0x1e8]
test dl, dl
je 0x18005d0d5
bt ecx, 0x1b
jb 0x18005d0d5
mov rax, qword [0x180148688]
mov word [rax + 0x3f10], 0x101
or dword [rax + 0x4744], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x56]
cmovne eax, ecx
jmp 0x180059f8a