Function at 0x18005a510
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 [0x18014a578]
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 0x18005a9b8
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 0x18005a611
call fcn.180033230
mov rbx, qword [0x18014a578]
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.1800234f0
mov edi, eax
mov dword [rsp + 0x74], eax
cmp dword [rbx + 0x3ee8], eax
jne 0x18005a652
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.18003aa10
mov rbx, qword [0x18014a578]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x18005a67d
nop dword [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18005a67d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18005a674
cmp byte [rax], dl
je 0x18005a67d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18005a660
movss xmm0, dword [rbx + 0x3c00]
xor eax, eax
movss xmm1, dword [0x18010b374]
movss dword [rbp - 4], xmm1
movss xmm9, dword [0x18010b34c]
xorps xmm12, xmm12
cmp r13, rcx
jne 0x18005a6ab
xorps xmm7, xmm7
jmp 0x18005a6fd
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.18004b0b0
movss xmm0, dword [rbp + 0x1c8]
addss xmm0, dword [0x18010b214]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp + 0x1cc]
movss dword [rbp], xmm7
test sil, sil
je 0x18005a718
movss xmm0, dword [r15 + 0x3c00]
mulss xmm0, dword [0x18010b2c8]
movss xmm6, dword [r15 + 0x3820]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180033090
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1c8]
call fcn.180033110
comiss xmm7, xmm12
jbe 0x18005a75e
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3834]
jmp 0x18005a761
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.180032c20
test sil, sil
je 0x18005aa6c
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.180032d90
test al, al
je 0x18005a9b3
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 [0x18014a578]
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.18003b270
movups xmm0, xmmword [r15 + 0x3918]
movups xmmword [rbx + 0x38d8], xmm0
movss xmm1, dword [r15 + 0x3824]
mov ecx, 7
call fcn.180024060
movss xmm1, dword [r15 + 0x3828]
mov ecx, 8
call fcn.180024060
mov rbx, qword [0x18014a578]
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.18003b180
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.18002aba0
movzx ebx, al
lea ecx, [r12 + 3]
call fcn.1800240e0
mov r8, qword [0x18014a578]
movsxd rax, dword [r8 + 0x47e8]
cmp eax, 1
jl 0x18005a9aa
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 0x18005aa0d
call fcn.18002ad80
call fcn.180033360
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 0x18005aaba
bt r12d, 0x1c
jb 0x18005aab0
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.180032d90
test al, al
je 0x18005a9b8
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.180027940
movzx ecx, al
mov byte [rsp + 0x60], al
test al, al
je 0x18005aadb
mov dword [r15 + 0x4a28], 1
mov rsi, qword [0x18014a578]
test edi, edi
je 0x18005aaf7
cmp dword [rsi + 0x4bc0], edi
jne 0x18005aaf7
add rsi, 0x4bb8
jmp 0x18005aafa
mov rsi, r12
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f00]
cmp eax, edi
je 0x18005ab32
cmp dword [r15 + 0x489c], edi
je 0x18005ab29
cmp dword [r15 + 0x4890], edi
jne 0x18005ab32
cmp dword [r15 + 0x48b8], 2
jne 0x18005ab32
mov byte [rbp + 0x1f8], 1
jmp 0x18005ab39
mov byte [rbp + 0x1f8], 0
test cl, cl
je 0x18005ab4c
cmp byte [r15 + 0x3738], 0
je 0x18005ab4c
mov r12b, 1
jmp 0x18005ab4f
xor r12b, r12b
mov byte [rbp + 0x1c8], r12b
mov r8d, dword [rsp + 0x58]
test r8b, r8b
je 0x18005abc1
test rsi, rsi
je 0x18005abc1
test eax, eax
jne 0x18005abc1
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.1800234f0
mov ebx, eax
mov rcx, qword [0x18014a578]
cmp dword [rcx + 0x3ee8], eax
jne 0x18005abae
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18003aa10
cmp dword [r15 + 0x3f30], ebx
jne 0x18005abbc
mov dil, 1
jmp 0x18005abce
mov r8d, dword [rsp + 0x58]
xor dil, dil
test r8b, r8b
je 0x18005ac46
test rsi, rsi
je 0x18005ac46
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.1800234f0
mov ebx, eax
mov rcx, qword [0x18014a578]
cmp dword [rcx + 0x3ee8], eax
jne 0x18005ac17
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18003aa10
mov r8d, dword [rsp + 0x58]
cmp dword [r15 + 0x3f00], ebx
jne 0x18005ac46
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 0x18005ac70
mov byte [rbp + 0x1f0], 0
mov byte [rsp + 0x50], 0
xor cl, cl
mov byte [rsp + 0x55], cl
test r8b, r8b
je 0x18005ac6c
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x80]
jmp 0x18005ac70
mov byte [rsp + 0x55], cl
test rsi, rsi
je 0x18005ac85
movzx eax, r8b
xor al, 1
cmp byte [rsi + 0x6b], al
je 0x18005ac85
mov r15b, 1
jmp 0x18005ac88
xor r15b, r15b
test r12b, r12b
jne 0x18005acb4
test dil, dil
jne 0x18005acb4
cmp byte [rbp + 0x1f8], dil
jne 0x18005acb4
test r13b, r13b
jne 0x18005acb4
mov byte [rsp + 0x54], r13b
test cl, cl
jne 0x18005acb9
mov byte [rsp + 0x56], cl
mov rax, qword [rsp + 0x68]
jmp 0x18005accf
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 0x18005acd8
test r15b, r15b
je 0x18005af38
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 0x18005acf7
lea edi, [rbx + 1]
mov ecx, dword [rsi + 0x3c]
cmp edi, ecx
jle 0x18005ad2e
test ecx, ecx
je 0x18005ad19
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ad1e
mov eax, 8
mov edx, edi
cmp eax, edi
cmovg edx, eax
lea rcx, [rsi + 0x38]
call fcn.18003b6a0
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 0x18005ad79
test r15b, r15b
jne 0x18005ad79
mov r12b, 1
cmp dword [rsi + 0x10], ebx
jne 0x18005ad79
cmp byte [rsi + 0x48], r15b
je 0x18005ad7c
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 0x18005ad7c
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 0x18005adb6
test ecx, ecx
je 0x18005ada1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ada6
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003b730
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x18005addb
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.18003b6a0
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 0x18005ae36
cmp byte [rdi], 0
je 0x18005ae2d
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180023810
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005ae2d
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005ae00
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 0x18005ae75
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 0x18005aebc
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 0x18005af18
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 0x18005aefd
test r12b, r12b
je 0x18005aef9
test byte [rax + 0x48a0], 4
jne 0x18005aefd
mov byte [rsp + 0x50], cl
test r13b, r13b
jne 0x18005af14
cmp byte [rbp + 0x1c8], r13b
je 0x18005af18
cmp byte [rax + 0xe14], r13b
je 0x18005af18
mov byte [rsp + 0x50], cl
mov r13d, dword [rbp + 0x1e8]
mov r14, qword [rbp - 0x80]
movzx r12d, byte [rbp + 0x1c8]
bt r13d, 0xd
jae 0x18005af3f
mov byte [rsi + 0x60], 1
jmp 0x18005af3f
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 0x18005af8b
test bl, bl
je 0x18005af7e
mov rdx, r14
mov ecx, r15d
call fcn.180027700
mov rdx, r14
mov ecx, r15d
call fcn.180034f60
mov rcx, r14
call fcn.18002fcd0
mov r8d, dword [rsp + 0x58]
cmp dword [rdi + 0x3f00], r15d
jne 0x18005b09a
test r12b, r12b
je 0x18005afae
mov rax, qword [0x18014a578]
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 0x18005afc7
test r13b, r13b
jns 0x18005afd0
or eax, 0xc
mov dword [rdi + 0x4710], eax
mov rax, qword [0x18014a578]
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 0x18005b038
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 0x18005b05f
mov rax, qword [0x18014a578]
mov dword [rax + 0x3f4c], r15d
mov dword [rax + 0x3f48], r15d
mov word [rax + 0x3f50], 0
cmp dword [rdi + 0x3f00], r15d
jne 0x18005b09a
test rsi, rsi
jne 0x18005b072
call fcn.180027850
cmp dword [rdi + 0x3f00], r15d
jne 0x18005b09a
cmp byte [rdi + 0x3738], 0
je 0x18005b0a6
cmp byte [rsp + 0x56], 0
jne 0x18005b0a6
test bl, bl
jne 0x18005b0a6
mov byte [rbp + 0x1f0], 1
mov cl, 1
jmp 0x18005b0ac
test rsi, rsi
je 0x18005b0aa
cmp byte [rsp + 0x55], 0
je 0x18005b0aa
mov cl, 1
jmp 0x18005b0ac
xor cl, cl
mov byte [rbp + 0x1c8], cl
mov r13d, dword [rsp + 0x50]
test rsi, rsi
je 0x18005b0d2
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b0c9
test r13b, r13b
je 0x18005b0d2
test cl, cl
je 0x18005b0d2
mov r15b, 1
jmp 0x18005b0d5
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 0x18005b1e8
test rsi, rsi
je 0x18005b1e8
test cl, cl
jne 0x18005b10a
test r15b, r15b
je 0x18005b1f1
mov r14d, dword [rbp + 0x1d8]
inc r14d
mov ecx, dword [rsi + 0x1c]
cmp r14d, ecx
jle 0x18005b142
test ecx, ecx
je 0x18005b12b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005b130
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003b730
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 0x18005b19a
cmp byte [rdi], 0
je 0x18005b193
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180023810
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005b193
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005b166
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 0x18005b207
test r15b, r15b
jne 0x18005b207
mov r12, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], r14d
jne 0x18005b224
jmp 0x18005b211
mov r14d, dword [rsp + 0x74]
mov r12, qword [rsp + 0x68]
test al, al
jne 0x18005b224
test rsi, rsi
je 0x18005b224
cmp byte [rsi + 0x48], al
mov byte [rsp + 0x7e], 1
jne 0x18005b229
mov byte [rsp + 0x7e], 0
cmp byte [rbp - 0x5c], 0
je 0x18005b2fc
mov rdx, qword [r12 + 0x3bf8]
cmp dword [rdx + 0x18], 0x2a
ja 0x18005b247
mov r8, qword [rdx + 0x38]
jmp 0x18005b26b
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18005b25f
mov r8, qword [rdx + 0x38]
jmp 0x18005b26b
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 [0x18014a578]
mov rcx, rdi
call fcn.18002ff90
lea rcx, [rbx + 0x4808]
lea rdx, [rbp - 0x18]
call fcn.18003b400
mov rax, qword [rbx + 0x3ea0]
mov rdx, qword [rdi + 0x40]
mov rdx, qword [rdx + 8]
mov rcx, qword [rax + 0x290]
call fcn.180043fd0
xor ecx, ecx
mov dword [rbp - 0x18], ecx
mov ebx, 0x20000c
movss xmm0, dword [0x18010b1dc]
cmp dword [r12 + 0x3f00], r14d
jne 0x18005b850
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 0x18005b399
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xfc]
jmp 0x18005b3a7
movss xmm2, dword [r12 + 0x3c00]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0x79]
test r13b, r13b
je 0x18005b3d1
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 0x18005b6c6
movzx eax, byte [rsp + 0x60]
test al, al
je 0x18005b582
cmp word [r12 + 0x3742], 2
jb 0x18005b582
cmp byte [r12 + 0xe15], 0
jne 0x18005b582
cmp byte [rsi + 0x6b], 0
je 0x18005b417
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1800580d0
movss xmm2, dword [rbp - 0x2c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180058510
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 0x18005b4f2
test eax, eax
je 0x18005b45b
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18005b45b
xor cl, cl
jmp 0x18005b45d
mov cl, 1
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b469
test cl, cl
jne 0x18005b489
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b4a4
cmp dword [rsi + 0x58], eax
jne 0x18005b4a1
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005b4a4
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.1800581b0
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 0x18005b4db
cmp ecx, eax
jle 0x18005b4cb
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005b4d4
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005b4db
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18005b577
mov dword [rsi + 0x54], eax
mov edi, dword [rbp + 0x1e8]
jmp 0x18005b6b4
mov rcx, qword [rsi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058980
cmp bx, 0xa
je 0x18005b570
cmp byte [rsp + 0x58], 0
je 0x18005b570
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 0x18005b6b4
cmp byte [r12 + 0x3738], 0
je 0x18005b638
cmp byte [rsi + 0xe85], 0
jne 0x18005b638
test al, al
je 0x18005b6c3
cmp byte [r12 + 0xe15], 0
je 0x18005b5f9
cmp byte [rsi + 0x6b], 0
je 0x18005b5cb
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1800580d0
movss xmm2, dword [rbp - 0x2c]
lea rbx, [rsi + 0x5c]
mov eax, dword [rbx]
cmp dword [rsi + 0x58], eax
jne 0x18005b5dc
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180058510
mov ecx, 0x54
mov rdx, rsi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x18005b6b4
cmp byte [rsi + 0x6b], 0
je 0x18005b613
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1800580d0
movss xmm2, dword [rbp - 0x2c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180058510
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 [rcx + rdx], eax
jmp 0x18005b6b4
cmp byte [r12 + 0xe04], 0
je 0x18005b6c3
cmp byte [rsi + 0xe85], 0
jne 0x18005b6c3
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm12
jp 0x18005b674
jne 0x18005b674
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm12
jp 0x18005b674
je 0x18005b6c3
cmp byte [rsi + 0x6b], 0
je 0x18005b68e
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1800580d0
movss xmm2, dword [rbp - 0x2c]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b69c
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180058510
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 0x18005b6e1
cmp byte [r12 + 0xe04], 0
jne 0x18005b6e1
mov byte [rsi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x18005b6f7
cmp byte [r12 + 0xe16], 0
je 0x18005b707
test r14b, r14b
je 0x18005b70b
cmp byte [r12 + 0xe17], 0
je 0x18005b70b
mov bl, 1
jmp 0x18005b70d
xor bl, bl
bt edi, 0xa
jae 0x18005b77b
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.180030cc0
test al, al
mov eax, dword [rsp + 0x5c]
je 0x18005b77f
test bl, bl
jne 0x18005b77f
cmp byte [r12 + 0xe15], bl
jne 0x18005b77f
test al, al
jne 0x18005b77f
mov dword [rbp - 0x80], 9
mov dword [rsp + 0x20], 2
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.18005a0d0
test al, al
je 0x18005b77b
lea rdx, [rsi + 0x54]
mov r8d, dword [rbp - 0x80]
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x5c]
cmp dword [r12 + 0x37b0], 0
jle 0x18005b850
test bl, bl
jne 0x18005b81e
test al, al
jne 0x18005b81e
cmp byte [rbp + 0x1f8], al
jne 0x18005b81e
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 0x18005b809
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call fcn.18005a0d0
test al, al
je 0x18005b809
lea rdx, [rsi + 0x54]
mov r8d, dword [rbp + 0x1f8]
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x37b0]
jl 0x18005b7b3
mov r15d, dword [rsp + 0x50]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x18005b848
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.18003b730
mov dword [r12 + 0x37b0], r13d
xor r14b, r14b
mov byte [rsp + 0x70], r14b
lea rcx, [0x1800f619d]
mov r13d, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], r13d
jne 0x18005c44f
cmp byte [r12 + 0x3f0c], r14b
jne 0x18005c44f
cmp byte [rbp + 0x1f0], r14b
jne 0x18005c44f
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 0x18005b910
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x54], al
cmp byte [r12 + 0xe17], 0
je 0x18005b91d
cmp byte [r12 + 0xe14], 0
jne 0x18005b91d
test al, al
jne 0x18005b91d
mov byte [rbp + 0x1f8], r14b
jmp 0x18005b924
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.180032a40
test al, al
jne 0x18005b94c
mov r8d, r14d
mov edx, r13d
mov ecx, 0x220a
call fcn.180032a40
test al, al
je 0x18005b978
mov r15d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x5c]
mov r14d, dword [rsp + 0x58]
test r15b, r15b
jne 0x18005b986
test r12b, r12b
jne 0x18005b986
test r14b, r14b
je 0x18005b971
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005b986
mov byte [rsp + 0x55], 1
jmp 0x18005b98b
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.180032a40
test al, al
jne 0x18005b9b3
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.180032a40
test al, al
je 0x18005b9cc
test r12b, r12b
jne 0x18005b9cc
test r14b, r14b
je 0x18005b9c5
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005b9cc
mov byte [rsp + 0x7d], 1
jmp 0x18005b9d1
mov byte [rsp + 0x7d], 0
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.180032a40
test al, al
jne 0x18005b9ff
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.180032a40
test al, al
je 0x18005ba09
test r15b, r15b
mov byte [rsp + 0x60], r12b
je 0x18005ba0e
mov byte [rsp + 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.180032a40
mov r14d, dword [rbp - 0x58]
test al, al
je 0x18005ba35
test r15b, r15b
jne 0x18005ba35
test r14b, r14b
mov byte [rsp + 0x7c], r12b
jne 0x18005ba3a
mov byte [rsp + 0x7c], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.180032a40
test al, al
jne 0x18005ba67
test dil, dil
je 0x18005ba71
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.180032a40
test al, al
je 0x18005ba71
test r15b, r15b
jne 0x18005ba71
test r14b, r14b
jne 0x18005ba74
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.180032a40
movzx r13d, al
mov rax, qword [rsp + 0x68]
test byte [rax + 8], 2
je 0x18005ba9e
test byte [rax + 0xc], 1
je 0x18005ba9e
mov dil, 1
jmp 0x18005baa1
xor dil, dil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.180030cc0
test al, al
jne 0x18005bad2
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.180030cc0
test al, al
jne 0x18005bad2
xor r15b, r15b
jmp 0x18005bad6
movzx r15d, r14b
test dil, dil
je 0x18005bb01
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180030cc0
test al, al
jne 0x18005bb04
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180030cc0
test al, al
jne 0x18005bb04
xor r14b, r14b
mov r8d, 1
mov edx, dword [rsp + 0x74]
mov ecx, 0x20e
call fcn.180032a40
test al, al
jne 0x18005bb3e
test dil, dil
je 0x18005bb39
mov r8d, 1
mov edx, dword [rsp + 0x74]
mov ecx, 0x26c
call fcn.180032a40
test al, al
jne 0x18005bb3e
xor dil, dil
jmp 0x18005bb41
mov dil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bba3
cmp byte [rbp + 0x1f8], 0
je 0x18005bb65
mov eax, 0x200004
jmp 0x18005bb77
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.180058980
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18005c41a
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bbdf
cmp byte [rbp + 0x1f8], 0
je 0x18005bbc9
mov ecx, 0x200005
or ebx, ecx
jmp 0x18005bb79
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x54], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x18005bb79
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bc78
cmp byte [rsp + 0x58], 0
je 0x18005bc78
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005bc44
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 0x18005c41a
movzx eax, byte [rbp + 0x1f8]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18005c41a
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bcfe
cmp byte [rsp + 0x58], 0
je 0x18005bcfe
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005bcea
mov rax, qword [0x18014a578]
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 0x18005c41a
movzx eax, byte [rbp + 0x1f8]
lea r8d, [rax*4 + 0x200003]
jmp 0x18005bc53
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bd60
cmp byte [rsp + 0x58], 0
je 0x18005bd60
or ebx, 0x20000e
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180058980
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 0x18005c41a
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bdc2
cmp byte [rsp + 0x58], 0
je 0x18005bdc2
or ebx, 0x20000f
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.180058980
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 0x18005c41a
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005bdfc
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 0x18005bc56
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005be37
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 0x18005bc56
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180030cc0
test al, al
je 0x18005be64
cmp byte [rsp + 0x5c], 0
jne 0x18005be64
cmp byte [rsp + 0x55], 0
jne 0x18005be64
or ebx, 0x200008
jmp 0x18005bb79
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180030cc0
mov r8d, dword [rsp + 0x5c]
test al, al
je 0x18005bf2c
test r8b, r8b
jne 0x18005bf2c
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005bebc
cmp byte [rsp + 0x54], r8b
je 0x18005becf
lea rdx, [rsi + 0x54]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x68]
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005bc56
cmp byte [rbp - 0x60], 0
je 0x18005bebc
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe17], 0
je 0x18005bec1
cmp byte [r12 + 0xe16], 0
jne 0x18005bec1
cmp byte [r12 + 0xe14], 0
jne 0x18005bec1
lea rdx, [rsi + 0x54]
mov r8d, 0x600004
mov rcx, rsi
call fcn.180058980
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005bc56
test r15b, r15b
jne 0x18005c37c
test r14b, r14b
jne 0x18005c37c
test dil, dil
je 0x18005bfa5
test dword [rbp + 0x1e8], 0x100000
je 0x18005bf81
mov eax, dword [rsi + 0x10]
test eax, eax
jg 0x18005bf6e
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 0x18005c41d
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 0x18005c429
movzx eax, byte [rsp + 0x7c]
test al, al
jne 0x18005c354
test r12b, r12b
jne 0x18005c354
test r13b, r13b
je 0x18005bfe3
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 0x18005c41a
movzx r12d, byte [rsp + 0x55]
test r12b, r12b
jne 0x18005c1a3
cmp byte [rsp + 0x7d], r12b
jne 0x18005c1a3
cmp byte [rsp + 0x60], r12b
je 0x18005bb99
mov rcx, qword [0x18014a578]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18005c039
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18005bb99
mov rcx, qword [0x18014a578]
jmp 0x18005c040
lea rbx, [0x1800f619d]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18005c047
test rcx, rcx
je 0x18005c05b
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 0x18005c0e6
mov rdi, rax
mov r15d, dword [rbp + 0x1e8]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.180023810
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x1f8], r12d
je 0x18005c0e2
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call fcn.18005a0d0
test al, al
je 0x18005c0dd
movzx eax, word [rbp + 0x1f8]
mov word [rdi], ax
inc r14d
add rdi, 2
cmp byte [rbx], r12b
jne 0x18005c090
mov r15, qword [rbp - 0x80]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18005c179
mov eax, dword [rsi + 0xc]
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
cmp ecx, edx
je 0x18005c11d
cmp ecx, eax
jle 0x18005c10d
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005c116
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005c11d
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18005c125
mov dword [rsi + 0x54], eax
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800588e0
mov r9d, r14d
mov r8, r15
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180058380
test al, al
je 0x18005c172
mov edi, dword [rsi + 0x54]
lea rcx, [rsi + 0x74]
xor edx, edx
call fcn.180059bc0
test rax, rax
je 0x18005c16a
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 0x18005c190
mov rax, qword [0x18014a578]
test rax, rax
je 0x18005c190
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 0x18005c41a
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xb8], 0
je 0x18005c302
mov edi, dword [rsi + 0x5c]
mov eax, dword [rsi + 0x58]
cmp eax, edi
je 0x18005c1cf
mov r14d, edi
cmovl r14d, eax
cmovge edi, eax
xor r13d, r13d
jmp 0x18005c1d8
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 0x18005c20a
cmp rdx, r8
jae 0x18005c22d
movzx eax, word [rdx]
test ax, ax
je 0x18005c22d
add rdx, 2
cmp ax, r10w
jae 0x18005c220
inc ecx
jmp 0x18005c200
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18005c200
inc ecx
mov rax, qword [0x18014a578]
test rax, rax
je 0x18005c241
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 0x18005c2bc
mov r13d, 0x80
test r11, r11
je 0x18005c282
cmp r10, r11
jae 0x18005c2b9
movzx eax, word [r10]
test ax, ax
je 0x18005c2b9
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18005c29f
mov byte [r9], r8b
inc r9
jmp 0x18005c2b4
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.1800239c0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005c278
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x18014a578]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18005c2e7
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x18014a578]
test r15, r15
je 0x18005c2f7
test rax, rax
je 0x18005c2f7
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005c305
xor r13d, r13d
test r12b, r12b
je 0x18005bb99
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005c327
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 0x18005bb99
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800588e0
mov byte [rsi + 0x6a], 0
mov r12, qword [rsp + 0x68]
jmp 0x18005c41a
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058980
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005bb88
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 0x18005c3a9
test r14b, r14b
jne 0x18005c3a9
test al, al
je 0x18005c3cd
cmp byte [r12 + 0xe14], r14b
jne 0x18005c3d8
mov byte [rsp + 0x56], 1
cmp byte [r12 + 0x7c], 0
je 0x18005c413
test cl, cl
jne 0x18005c413
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 0x18005c41a
cmp byte [r12 + 0xe14], 0
jne 0x18005c3a9
test r8b, r8b
jne 0x18005bb99
mov dword [rbp + 0x1f8], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1f8]
call fcn.18005a0d0
test al, al
je 0x18005bb99
mov r8d, dword [rbp + 0x1f8]
jmp 0x18005bc56
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 0x18005c439
test cl, cl
je 0x18005c439
mov al, 1
jmp 0x18005c43b
xor al, al
or r15b, al
mov dword [rsp + 0x50], r15d
mov r13d, dword [rsp + 0x74]
lea rcx, [0x1800f619d]
xor edi, edi
mov qword [rbp - 0x58], rdi
mov dword [rbp + 0x1f8], edi
cmp dword [r12 + 0x3f00], r13d
jne 0x18005cbfc
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005c716
test r14b, r14b
je 0x18005c67c
test dword [rbp + 0x1e8], 0x100000
je 0x18005c4ef
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.180059d10
mov r9, rax
test rax, rax
je 0x18005c4d5
test ebx, ebx
jle 0x18005c4d5
mov edx, edi
nop dword [rax]
mov rax, qword [rsi + 0x20]
movzx ecx, word [rax + rdx*2]
mov word [r9 + rdx*2], cx
inc rdx
cmp rdx, rbx
jl 0x18005c4c0
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.1800582b0
mov qword [rsi + 0x58], rdi
mov dword [rsi + 0x54], edi
jmp 0x18005c67c
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 0x18005c513
inc rax
test ecx, ecx
jne 0x18005c500
test edx, edx
je 0x18005c67c
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 0x18005c635
movsxd rdi, r12d
add rdi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
test rdi, rdi
je 0x18005c55c
cmp rbx, rdi
jae 0x18005c581
cmp byte [rbx], 0
je 0x18005c581
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023810
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c581
inc r14d
jmp 0x18005c552
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18005c5c5
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18005c5c5
mov rax, qword [0x18014a578]
test rax, rax
je 0x18005c5af
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 0x18005c627
nop word [rax + rax]
test r14, r14
je 0x18005c5fa
cmp rbx, r14
jae 0x18005c627
cmp byte [rbx], 0
je 0x18005c627
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023810
movsxd rcx, eax
add rbx, rcx
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x18005c627
mov word [rdi], ax
add rdi, 2
cmp rdi, r12
jb 0x18005c5f0
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.18005a010
nop
test r13, r13
je 0x18005c671
mov rax, qword [0x18014a578]
test rax, rax
je 0x18005c667
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 0x18005c6b5
test ecx, ecx
je 0x18005c6a0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005c6a5
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x28]
call fcn.18003b6a0
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 0x18005c712
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18005c70d
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18005c6f2
mov byte [r9], r8b
inc r9
jmp 0x18005c708
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.1800239c0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005c6d5
mov r15d, dword [rsp + 0x5c]
mov byte [r9], 0
test r14b, r14b
je 0x18005c7bd
cmp byte [rsp + 0x56], 0
je 0x18005c736
mov edi, dword [rbp + 0x1e8]
test dil, 0x20
jne 0x18005c7c3
mov r14, qword [rbp + 0x1d0]
mov r12d, dword [rsp + 0x78]
mov rdi, qword [rbp - 0x58]
mov ecx, dword [rbp + 0x1f8]
test rdi, rdi
je 0x18005cbeb
test r12b, r12b
je 0x18005cbb7
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 0x18005cbbd
mov edi, dword [rbp + 0x1e8]
test edi, 0x801c0
je 0x18005cb63
xor r14d, r14d
mov ebx, r14d
lea r12d, [r14 + 1]
test dil, 0x40
je 0x18005c7fd
mov r8d, r12d
xor edx, edx
mov ecx, 0x200
call fcn.180030cc0
test al, al
je 0x18005c7fd
lea eax, [r14 + 0x40]
mov ebx, 0x200
jmp 0x18005c866
test dil, dil
jns 0x18005c848
mov r8d, r12d
xor edx, edx
mov ecx, 0x203
call fcn.180030cc0
test al, al
je 0x18005c825
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
jmp 0x18005c86c
mov r8d, r12d
xor edx, edx
mov ecx, 0x204
call fcn.180030cc0
test al, al
je 0x18005c848
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
jmp 0x18005c86c
mov eax, 0x80000
test eax, edi
je 0x18005c859
cmp byte [rsi + 0xe86], bl
jne 0x18005c866
mov ecx, 0x100
test ecx, edi
mov eax, r14d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x18005cb63
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 0x18005c8a3
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 0x18005c8dc
cmp rcx, r8
jae 0x18005c8ff
movzx eax, word [rcx]
test ax, ax
je 0x18005c8ff
add rcx, 2
cmp ax, r10w
jae 0x18005c8f2
inc ebx
jmp 0x18005c8d2
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18005c8d2
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 0x18005c91a
cmp rcx, r8
jae 0x18005c93f
movzx eax, word [rcx]
test ax, ax
je 0x18005c93f
add rcx, 2
cmp ax, r10w
jae 0x18005c931
inc r15d
jmp 0x18005c910
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18005c910
mov dword [rbp + 0x48], r15d
movsxd rax, dword [rsi + 0x5c]
lea rcx, [rdx + rax*2]
mov r12d, r14d
nop
test rcx, rcx
je 0x18005c95a
cmp rdx, rcx
jae 0x18005c97f
movzx eax, word [rdx]
test ax, ax
je 0x18005c97f
add rdx, 2
cmp ax, r10w
jae 0x18005c971
inc r12d
jmp 0x18005c950
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x18005c950
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 0x18005c99c
test r13b, r13b
je 0x18005c9e4
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rcx]
test rdi, rdi
je 0x18005c9ae
cmp rbx, rdi
jae 0x18005c9d3
cmp byte [rbx], 0
je 0x18005c9d3
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023810
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c9d3
inc r14d
jmp 0x18005c9a4
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 0x18005c9f2
test r13b, r13b
je 0x18005ca3a
cmp eax, ecx
jne 0x18005c9fc
mov r14d, dword [rsi + 0x54]
jmp 0x18005ca36
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rax]
test rdi, rdi
je 0x18005ca0e
cmp rbx, rdi
jae 0x18005ca33
cmp byte [rbx], 0
je 0x18005ca33
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023810
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005ca33
inc r14d
jmp 0x18005ca04
mov eax, dword [rbp + 0x48]
mov dword [rsi + 0x58], r14d
movsxd rcx, dword [rbp + 0x4c]
cmp ecx, r12d
jne 0x18005ca4c
test r13b, r13b
je 0x18005cb6a
cmp ecx, eax
jne 0x18005caa0
mov r14d, dword [rsi + 0x58]
mov dword [rsi + 0x5c], r14d
test r13b, r13b
je 0x18005cb6a
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov rcx, rsi
call fcn.18005a2b0
mov ebx, dword [rbp + 0x38]
mov eax, dword [rbp - 0x18]
mov r12d, dword [rsp + 0x78]
cmp ebx, eax
jle 0x18005cafb
test r12b, r12b
je 0x18005cafb
sub ebx, eax
add ebx, dword [rsi + 0x18]
mov ecx, dword [rsi + 0x1c]
cmp ebx, ecx
jle 0x18005caf8
test ecx, ecx
je 0x18005cae3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005cae8
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rcx]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rdi, rdi
je 0x18005caba
cmp rbx, rdi
jae 0x18005ca54
cmp byte [rbx], 0
je 0x18005ca54
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023810
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005ca54
inc r14d
jmp 0x18005cab0
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003b730
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 0x18005cb43
cmp byte [rdi], 0
je 0x18005cb43
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180023810
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005cb43
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005cb16
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 0x18005cb6f
mov r12d, dword [rsp + 0x78]
jmp 0x18005cb74
mov r12d, dword [rsp + 0x78]
mov r15d, dword [rsp + 0x5c]
mov r14, qword [rbp + 0x1d0]
test r15b, r15b
jne 0x18005c742
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 0x18005cba4
inc rax
test ecx, ecx
jne 0x18005cb91
test edx, edx
je 0x18005c742
mov rdi, r9
mov ecx, dword [rsi + 0x10]
jmp 0x18005c74c
mov edx, dword [rbp + 0x1d8]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18005cbe6
jbe 0x18005cbe0
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 0x18005cc14
cmp dword [r12 + 0x3f00], r13d
jne 0x18005cc14
call fcn.180027850
mov r11d, dword [rsp + 0x58]
test r11b, r11b
jne 0x18005cceb
mov r8d, 1
mov edx, r13d
lea rcx, [rbp - 0x70]
call fcn.1800258e0
mov rax, qword [0x18014a578]
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.180023a80
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.1800255f0
movaps xmm15, xmm10
addss xmm15, xmm7
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 0x18005cd30
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 0x18005cd6f
mov r13, qword [rsi + 0x30]
mov qword [rbp + 0x1d0], r13
jmp 0x18005cd76
mov r13, qword [rbp + 0x1d0]
movzx eax, byte [rbp + 0x1c8]
test al, al
jne 0x18005cf68
test r15b, r15b
jne 0x18005cf68
test r11b, r11b
je 0x18005cdf9
mov ecx, edi
movzx edx, byte [r13]
lea r14, [r13 + 1]
test dl, dl
je 0x18005cdc6
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 0x18005cdb0
dec r14
movzx eax, byte [r14]
cmp al, 0xa
je 0x18005cdd7
cmp al, 0xd
je 0x18005cdd7
inc ecx
movss dword [rbp - 0x58], xmm10
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c00]
movss dword [rsp + 0x78], xmm8
jmp 0x18005ce33
mov eax, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], eax
jne 0x18005ce0d
movsxd r14, dword [rsi + 0x10]
jmp 0x18005ce1e
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r14 + r13], 0
jne 0x18005ce14
add r14, r13
mov rax, r14
sub rax, r13
cmp rax, 0x200000
jge 0x18005d85c
mov rax, qword [0x18014a578]
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.180023a80
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 0x18005d85c
test r14, r14
jne 0x18005cead
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x18005cea0
add rcx, r13
cmp r13, rcx
je 0x18005d85c
test r10, r10
jne 0x18005cec3
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
xorps xmm12, xmm12
ucomiss xmm2, xmm12
jp 0x18005ced8
jne 0x18005ced8
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x70], xmm1
test r8, r8
je 0x18005cf31
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x18005cef7
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm1
jae 0x18005cf0c
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x68]
ja 0x18005cf1d
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x64]
ja 0x18005cf2e
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.18004b4c0
jmp 0x18005d860
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 0x18005cfa2
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 0x18005cfc4
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 0x18005d012
cmp cx, 0xa
jne 0x18005d006
inc r10d
cmp r8d, 0xffffffff
jne 0x18005cff3
cmp rax, r9
jb 0x18005cff3
mov r8d, r10d
dec edx
test edx, edx
jle 0x18005d012
cmp edi, 0xffffffff
jne 0x18005d006
cmp rax, rbx
jb 0x18005d006
mov edi, r10d
dec edx
test edx, edx
jle 0x18005d012
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18005cfd6
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp edi, 0xffffffff
cmove edi, r10d
mov rdx, r9
cmp r9, r15
jbe 0x18005d042
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005d042
mov rdx, rax
cmp rax, r15
ja 0x18005d030
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 0x18005d0b0
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005d087
maxss xmm1, xmm12
movaps xmm12, xmm4
jmp 0x18005d0ab
cmp ecx, 0xd
je 0x18005d0ab
cmp ecx, dword [r8]
jge 0x18005d09c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005d0a2
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x18005d070
maxss xmm12, xmm1
movss xmm0, dword [r12 + 0x3c00]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test edi, edi
js 0x18005d169
mov rdx, rbx
cmp rbx, r15
jbe 0x18005d0f2
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005d0f2
mov rdx, rax
cmp rax, r15
ja 0x18005d0e0
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm4
movaps xmm7, xmm4
cmp rdx, rbx
jae 0x18005d150
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005d125
maxss xmm2, xmm7
movaps xmm7, xmm4
jmp 0x18005d14b
cmp ecx, 0xd
je 0x18005d14b
cmp ecx, dword [r8]
jge 0x18005d13a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x18005d140
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm7, xmm0
cmp rdx, rbx
jb 0x18005d110
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 0x18005d18e
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 0x18005d2c2
cmp byte [rsi + 0xe84], 0
je 0x18005d2c2
test dword [rbp + 0x1e8], 0x1000
jne 0x18005d20a
movaps xmm0, xmm10
mulss xmm0, dword [0x18010b1c8]
subss xmm10, dword [r12 + 0x381c]
movss xmm2, dword [rsi + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x18005d1ea
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x18005d1f8
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x18005d20f
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm0
jmp 0x18005d20f
xor eax, eax
mov dword [rsi + 0x50], eax
test r11b, r11b
je 0x18005d2bb
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c00]
comiss xmm9, xmm0
jbe 0x18005d237
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x18005d269
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm11
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x18005d269
movaps xmm9, xmm13
subss xmm9, xmm11
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm4, xmm9
jbe 0x18005d27e
movaps xmm2, xmm4
jmp 0x18005d295
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 0x18005d53a
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 0x18005d2fd
movss xmm1, dword [0x18010b21c]
jmp 0x18005d305
movss xmm1, dword [0x18010b1e4]
mov rax, qword [0x18014a578]
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.180023a80
mov r15d, eax
xorps xmm4, xmm4
test r11b, r11b
je 0x18005d34b
movss dword [rbp - 4], xmm4
xorps xmm10, xmm10
jmp 0x18005d354
movss xmm10, dword [0x18010b260]
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 0x18005d540
movss xmm6, dword [0x18010b1dc]
nop word [rax + rax]
movss xmm2, dword [r12 + 0x3c00]
movaps xmm0, xmm14
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x18005d533
movss xmm5, dword [rbp - 0x50]
comiss xmm5, xmm8
jbe 0x18005d3db
cmp rbx, rdi
jae 0x18005d517
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005d517
cmp rbx, rdi
jb 0x18005d3c0
jmp 0x18005d517
mov rdx, qword [r12 + 0x3bf8]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, rdi
jae 0x18005d431
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18005d427
cmp ecx, 0xd
je 0x18005d420
cmp ecx, dword [rdx]
jge 0x18005d413
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005d418
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, rdi
jb 0x18005d3f3
jmp 0x18005d431
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x18005d461
cmp dword [rdx], 0x20
jle 0x18005d44d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005d452
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 0x18005d517
comiss xmm14, xmm2
jbe 0x18005d517
comiss xmm1, xmm3
jbe 0x18005d517
comiss xmm15, xmm7
jbe 0x18005d517
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.1800468b0
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 0x18005d390
mov r11d, dword [rsp + 0x58]
jmp 0x18005d540
movss xmm9, dword [rbp - 0x78]
mov r13, qword [rbp + 0x1d0]
test r11b, r11b
jne 0x18005d55e
mov rax, r14
sub rax, r13
cmp rax, 0x200000
jge 0x18005d6b3
mov rax, qword [0x18014a578]
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.180023a80
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 0x18005d6b7
test r14, r14
jne 0x18005d5fe
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x18005d5f2
add rcx, r13
cmp r13, rcx
je 0x18005d6b7
test r10, r10
jne 0x18005d614
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x18005d624
jne 0x18005d624
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x70], xmm1
test r8, r8
je 0x18005d67d
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x18005d643
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm1
jae 0x18005d658
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x68]
ja 0x18005d669
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x64]
ja 0x18005d67a
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.18004b4c0
xorps xmm4, xmm4
jmp 0x18005d6b7
mov rbx, qword [rbp - 0x48]
cmp byte [rbp + 0x1c8], 0
je 0x18005d856
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rsi + 0xe80]
movss dword [rsi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x18005d706
comiss xmm4, xmm0
jae 0x18005d706
movss xmm1, dword [0x18010b230]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x18010b204]
comiss xmm1, xmm0
jae 0x18005d706
xor cl, cl
jmp 0x18005d708
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 [0x18010b1dc]
movss dword [rbp - 0x34], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x18010b21c]
addss xmm2, xmm8
movss dword [rbp - 0x30], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x18010b23c]
movss dword [rbp - 0x2c], xmm1
movss xmm13, dword [rbp - 0x50]
test cl, cl
je 0x18005d813
comiss xmm1, xmm13
jbe 0x18005d813
movss xmm3, dword [rbp + 0x1f0]
comiss xmm3, xmm0
jbe 0x18005d813
comiss xmm2, dword [rbp - 0x20]
jbe 0x18005d813
movss xmm0, dword [rbp + 0x1f8]
comiss xmm0, xmm6
jbe 0x18005d813
mov rax, qword [0x18014a578]
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.180023a80
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x1c8]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 0x290]
call fcn.180046640
cmp byte [rsp + 0x5c], 0
jne 0x18005d869
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 0x18005d869
movss xmm13, dword [rbp - 0x50]
xorps xmm12, xmm12
movss xmm8, dword [0x18010b21c]
mov ebx, dword [rbp - 0x5c]
test bl, bl
je 0x18005d875
call fcn.180030030
cmp byte [rsp + 0x58], 0
je 0x18005d91f
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.180054ac0
mov ebx, dword [r12 + 0x4720]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4720], eax
call fcn.18002ad80
mov eax, dword [r12 + 0x4744]
and eax, 0x80
mov edi, dword [rbp + 0x90]
or edi, eax
mov dword [r12 + 0x4720], ebx
call fcn.180033360
mov ebx, dword [rbp - 0x5c]
cmp dword [r12 + 0x473c], 0
jne 0x18005d91f
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 0x18005da9a
test bl, bl
jne 0x18005da9a
mov rdi, qword [0x18014a578]
mov rsi, qword [rdi + 0x3ea0]
xor eax, eax
mov qword [rdi + 0x5c30], rax
mov qword [rdi + 0x5c28], rax
test r14, r14
jne 0x18005d980
mov r14, r13
cmp r13, 0xffffffffffffffff
jae 0x18005d980
movzx ecx, byte [r14]
test cl, cl
je 0x18005d980
lea rax, [r14 + 1]
cmp cl, 0x23
jne 0x18005d977
cmp byte [rax], cl
je 0x18005d980
mov r14, rax
cmp rax, 0xffffffffffffffff
jb 0x18005d962
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 0x18005d9ba
lea rcx, [0x1800fc36c]
call fcn.180039410
mov byte [rdi + 0x5c3c], 1
lea r8, [0x1800fcb45]
lea rdx, [0x1800fcb44]
lea rcx, [rbp - 0x78]
call fcn.180039450
mov eax, dword [rsi + 0x180]
mov ecx, dword [rdi + 0x5c40]
cmp ecx, eax
jle 0x18005d9e9
mov dword [rdi + 0x5c40], eax
mov ecx, eax
mov esi, dword [rsi + 0x180]
sub esi, ecx
lea r15, [0x1800f619d]
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 0x18005da27
cmp rbx, r14
je 0x18005da7e
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c3c], 0
lea edx, [rsi*4]
jne 0x18005da40
mov edx, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.180039410
mov byte [rdi + 0x5c3c], 0
cmp byte [rbx], 0xa
jne 0x18005da73
lea rcx, [0x1800fc36c]
call fcn.180039410
mov byte [rdi + 0x5c3c], r12b
cmp rbx, r14
je 0x18005da7e
lea r13, [rbx + 1]
jmp 0x18005da00
lea r8, [0x1800fcb49]
lea rdx, [0x1800fcb48]
lea rcx, [rbp - 0x78]
call fcn.180039450
mov r12, qword [rsp + 0x68]
movss xmm0, dword [rbp]
comiss xmm0, xmm12
jbe 0x18005dad9
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.180024350
movzx edx, byte [rsp + 0x7f]
mov ecx, dword [rbp + 0x1e8]
test dl, dl
je 0x18005db05
bt ecx, 0x1b
jb 0x18005db05
mov rax, qword [0x18014a578]
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 0x18005a9ba