Function at 0x180059f30
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 [0x1801485a8]
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 0x18005a3d8
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 0x18005a031
call fcn.180032c50
mov rbx, qword [0x1801485a8]
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.180022f10
mov edi, eax
mov dword [rsp + 0x74], eax
cmp dword [rbx + 0x3ee8], eax
jne 0x18005a072
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.18003a430
mov rbx, qword [0x1801485a8]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x18005a09d
nop dword [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18005a09d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18005a094
cmp byte [rax], dl
je 0x18005a09d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18005a080
movss xmm0, dword [rbx + 0x3c00]
xor eax, eax
movss xmm1, dword [0x180109a1c]
movss dword [rbp - 4], xmm1
movss xmm9, dword [0x1801099f4]
xorps xmm12, xmm12
cmp r13, rcx
jne 0x18005a0cb
xorps xmm7, xmm7
jmp 0x18005a11d
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.18004aad0
movss xmm0, dword [rbp + 0x1c8]
addss xmm0, dword [0x1801098d8]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp + 0x1cc]
movss dword [rbp], xmm7
test sil, sil
je 0x18005a138
movss xmm0, dword [r15 + 0x3c00]
mulss xmm0, dword [0x180109970]
movss xmm6, dword [r15 + 0x3820]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180032ab0
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1c8]
call fcn.180032b30
comiss xmm7, xmm12
jbe 0x18005a17e
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3834]
jmp 0x18005a181
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.180032640
test sil, sil
je 0x18005a48c
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.1800327b0
test al, al
je 0x18005a3d3
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 [0x1801485a8]
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.18003ac90
movups xmm0, xmmword [r15 + 0x3918]
movups xmmword [rbx + 0x38d8], xmm0
movss xmm1, dword [r15 + 0x3824]
mov ecx, 7
call fcn.180023a80
movss xmm1, dword [r15 + 0x3828]
mov ecx, 8
call fcn.180023a80
mov rbx, qword [0x1801485a8]
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.18003aba0
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.18002a5c0
movzx ebx, al
lea ecx, [r12 + 3]
call fcn.180023b00
mov r8, qword [0x1801485a8]
movsxd rax, dword [r8 + 0x47e8]
cmp eax, 1
jl 0x18005a3ca
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 0x18005a42d
call fcn.18002a7a0
call fcn.180032d80
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 0x18005a4da
bt r12d, 0x1c
jb 0x18005a4d0
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.1800327b0
test al, al
je 0x18005a3d8
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.180027360
movzx ecx, al
mov byte [rsp + 0x60], al
test al, al
je 0x18005a4fb
mov dword [r15 + 0x4a28], 1
mov rsi, qword [0x1801485a8]
test edi, edi
je 0x18005a517
cmp dword [rsi + 0x4bc0], edi
jne 0x18005a517
add rsi, 0x4bb8
jmp 0x18005a51a
mov rsi, r12
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f00]
cmp eax, edi
je 0x18005a552
cmp dword [r15 + 0x489c], edi
je 0x18005a549
cmp dword [r15 + 0x4890], edi
jne 0x18005a552
cmp dword [r15 + 0x48b8], 2
jne 0x18005a552
mov byte [rbp + 0x1f8], 1
jmp 0x18005a559
mov byte [rbp + 0x1f8], 0
test cl, cl
je 0x18005a56c
cmp byte [r15 + 0x3738], 0
je 0x18005a56c
mov r12b, 1
jmp 0x18005a56f
xor r12b, r12b
mov byte [rbp + 0x1c8], r12b
mov r8d, dword [rsp + 0x58]
test r8b, r8b
je 0x18005a5e1
test rsi, rsi
je 0x18005a5e1
test eax, eax
jne 0x18005a5e1
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.180022f10
mov ebx, eax
mov rcx, qword [0x1801485a8]
cmp dword [rcx + 0x3ee8], eax
jne 0x18005a5ce
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18003a430
cmp dword [r15 + 0x3f30], ebx
jne 0x18005a5dc
mov dil, 1
jmp 0x18005a5ee
mov r8d, dword [rsp + 0x58]
xor dil, dil
test r8b, r8b
je 0x18005a666
test rsi, rsi
je 0x18005a666
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.180022f10
mov ebx, eax
mov rcx, qword [0x1801485a8]
cmp dword [rcx + 0x3ee8], eax
jne 0x18005a637
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18003a430
mov r8d, dword [rsp + 0x58]
cmp dword [r15 + 0x3f00], ebx
jne 0x18005a666
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 0x18005a690
mov byte [rbp + 0x1f0], 0
mov byte [rsp + 0x50], 0
xor cl, cl
mov byte [rsp + 0x55], cl
test r8b, r8b
je 0x18005a68c
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x80]
jmp 0x18005a690
mov byte [rsp + 0x55], cl
test rsi, rsi
je 0x18005a6a5
movzx eax, r8b
xor al, 1
cmp byte [rsi + 0x6b], al
je 0x18005a6a5
mov r15b, 1
jmp 0x18005a6a8
xor r15b, r15b
test r12b, r12b
jne 0x18005a6d4
test dil, dil
jne 0x18005a6d4
cmp byte [rbp + 0x1f8], dil
jne 0x18005a6d4
test r13b, r13b
jne 0x18005a6d4
mov byte [rsp + 0x54], r13b
test cl, cl
jne 0x18005a6d9
mov byte [rsp + 0x56], cl
mov rax, qword [rsp + 0x68]
jmp 0x18005a6ef
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 0x18005a6f8
test r15b, r15b
je 0x18005a958
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 0x18005a717
lea edi, [rbx + 1]
mov ecx, dword [rsi + 0x3c]
cmp edi, ecx
jle 0x18005a74e
test ecx, ecx
je 0x18005a739
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a73e
mov eax, 8
mov edx, edi
cmp eax, edi
cmovg edx, eax
lea rcx, [rsi + 0x38]
call fcn.18003b0c0
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 0x18005a799
test r15b, r15b
jne 0x18005a799
mov r12b, 1
cmp dword [rsi + 0x10], ebx
jne 0x18005a799
cmp byte [rsi + 0x48], r15b
je 0x18005a79c
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 0x18005a79c
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 0x18005a7d6
test ecx, ecx
je 0x18005a7c1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a7c6
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003b150
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x18005a7fb
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.18003b0c0
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 0x18005a856
cmp byte [rdi], 0
je 0x18005a84d
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180023230
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005a84d
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005a820
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 0x18005a895
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 0x18005a8dc
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 0x18005a938
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 0x18005a91d
test r12b, r12b
je 0x18005a919
test byte [rax + 0x48a0], 4
jne 0x18005a91d
mov byte [rsp + 0x50], cl
test r13b, r13b
jne 0x18005a934
cmp byte [rbp + 0x1c8], r13b
je 0x18005a938
cmp byte [rax + 0xe14], r13b
je 0x18005a938
mov byte [rsp + 0x50], cl
mov r13d, dword [rbp + 0x1e8]
mov r14, qword [rbp - 0x80]
movzx r12d, byte [rbp + 0x1c8]
bt r13d, 0xd
jae 0x18005a95f
mov byte [rsi + 0x60], 1
jmp 0x18005a95f
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 0x18005a9ab
test bl, bl
je 0x18005a99e
mov rdx, r14
mov ecx, r15d
call fcn.180027120
mov rdx, r14
mov ecx, r15d
call fcn.180034980
mov rcx, r14
call fcn.18002f6f0
mov r8d, dword [rsp + 0x58]
cmp dword [rdi + 0x3f00], r15d
jne 0x18005aaba
test r12b, r12b
je 0x18005a9ce
mov rax, qword [0x1801485a8]
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 0x18005a9e7
test r13b, r13b
jns 0x18005a9f0
or eax, 0xc
mov dword [rdi + 0x4710], eax
mov rax, qword [0x1801485a8]
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 0x18005aa58
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 0x18005aa7f
mov rax, qword [0x1801485a8]
mov dword [rax + 0x3f4c], r15d
mov dword [rax + 0x3f48], r15d
mov word [rax + 0x3f50], 0
cmp dword [rdi + 0x3f00], r15d
jne 0x18005aaba
test rsi, rsi
jne 0x18005aa92
call fcn.180027270
cmp dword [rdi + 0x3f00], r15d
jne 0x18005aaba
cmp byte [rdi + 0x3738], 0
je 0x18005aac6
cmp byte [rsp + 0x56], 0
jne 0x18005aac6
test bl, bl
jne 0x18005aac6
mov byte [rbp + 0x1f0], 1
mov cl, 1
jmp 0x18005aacc
test rsi, rsi
je 0x18005aaca
cmp byte [rsp + 0x55], 0
je 0x18005aaca
mov cl, 1
jmp 0x18005aacc
xor cl, cl
mov byte [rbp + 0x1c8], cl
mov r13d, dword [rsp + 0x50]
test rsi, rsi
je 0x18005aaf2
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005aae9
test r13b, r13b
je 0x18005aaf2
test cl, cl
je 0x18005aaf2
mov r15b, 1
jmp 0x18005aaf5
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 0x18005ac08
test rsi, rsi
je 0x18005ac08
test cl, cl
jne 0x18005ab2a
test r15b, r15b
je 0x18005ac11
mov r14d, dword [rbp + 0x1d8]
inc r14d
mov ecx, dword [rsi + 0x1c]
cmp r14d, ecx
jle 0x18005ab62
test ecx, ecx
je 0x18005ab4b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005ab50
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003b150
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 0x18005abba
cmp byte [rdi], 0
je 0x18005abb3
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180023230
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005abb3
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005ab86
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 0x18005ac27
test r15b, r15b
jne 0x18005ac27
mov r12, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], r14d
jne 0x18005ac44
jmp 0x18005ac31
mov r14d, dword [rsp + 0x74]
mov r12, qword [rsp + 0x68]
test al, al
jne 0x18005ac44
test rsi, rsi
je 0x18005ac44
cmp byte [rsi + 0x48], al
mov byte [rsp + 0x7e], 1
jne 0x18005ac49
mov byte [rsp + 0x7e], 0
cmp byte [rbp - 0x5c], 0
je 0x18005ad1c
mov rdx, qword [r12 + 0x3bf8]
cmp dword [rdx + 0x18], 0x2a
ja 0x18005ac67
mov r8, qword [rdx + 0x38]
jmp 0x18005ac8b
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18005ac7f
mov r8, qword [rdx + 0x38]
jmp 0x18005ac8b
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 [0x1801485a8]
mov rcx, rdi
call fcn.18002f9b0
lea rcx, [rbx + 0x4808]
lea rdx, [rbp - 0x18]
call fcn.18003ae20
mov rax, qword [rbx + 0x3ea0]
mov rdx, qword [rdi + 0x40]
mov rdx, qword [rdx + 8]
mov rcx, qword [rax + 0x290]
call fcn.1800439f0
xor ecx, ecx
mov dword [rbp - 0x18], ecx
mov ebx, 0x20000c
movss xmm0, dword [0x1801098a0]
cmp dword [r12 + 0x3f00], r14d
jne 0x18005b270
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 0x18005adb9
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xfc]
jmp 0x18005adc7
movss xmm2, dword [r12 + 0x3c00]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0x79]
test r13b, r13b
je 0x18005adf1
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 0x18005b0e6
movzx eax, byte [rsp + 0x60]
test al, al
je 0x18005afa2
cmp word [r12 + 0x3742], 2
jb 0x18005afa2
cmp byte [r12 + 0xe15], 0
jne 0x18005afa2
cmp byte [rsi + 0x6b], 0
je 0x18005ae37
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057af0
movss xmm2, dword [rbp - 0x2c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057f30
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 0x18005af12
test eax, eax
je 0x18005ae7b
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x18005ae7b
xor cl, cl
jmp 0x18005ae7d
mov cl, 1
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005ae89
test cl, cl
jne 0x18005aea9
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005aec4
cmp dword [rsi + 0x58], eax
jne 0x18005aec1
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005aec4
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180057bd0
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 0x18005aefb
cmp ecx, eax
jle 0x18005aeeb
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005aef4
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005aefb
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18005af97
mov dword [rsi + 0x54], eax
mov edi, dword [rbp + 0x1e8]
jmp 0x18005b0d4
mov rcx, qword [rsi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800583a0
cmp bx, 0xa
je 0x18005af90
cmp byte [rsp + 0x58], 0
je 0x18005af90
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 0x18005b0d4
cmp byte [r12 + 0x3738], 0
je 0x18005b058
cmp byte [rsi + 0xe85], 0
jne 0x18005b058
test al, al
je 0x18005b0e3
cmp byte [r12 + 0xe15], 0
je 0x18005b019
cmp byte [rsi + 0x6b], 0
je 0x18005afeb
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057af0
movss xmm2, dword [rbp - 0x2c]
lea rbx, [rsi + 0x5c]
mov eax, dword [rbx]
cmp dword [rsi + 0x58], eax
jne 0x18005affc
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057f30
mov ecx, 0x54
mov rdx, rsi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x18005b0d4
cmp byte [rsi + 0x6b], 0
je 0x18005b033
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057af0
movss xmm2, dword [rbp - 0x2c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057f30
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 0x18005b0d4
cmp byte [r12 + 0xe04], 0
je 0x18005b0e3
cmp byte [rsi + 0xe85], 0
jne 0x18005b0e3
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm12
jp 0x18005b094
jne 0x18005b094
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm12
jp 0x18005b094
je 0x18005b0e3
cmp byte [rsi + 0x6b], 0
je 0x18005b0ae
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180057af0
movss xmm2, dword [rbp - 0x2c]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b0bc
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.180057f30
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 0x18005b101
cmp byte [r12 + 0xe04], 0
jne 0x18005b101
mov byte [rsi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x18005b117
cmp byte [r12 + 0xe16], 0
je 0x18005b127
test r14b, r14b
je 0x18005b12b
cmp byte [r12 + 0xe17], 0
je 0x18005b12b
mov bl, 1
jmp 0x18005b12d
xor bl, bl
bt edi, 0xa
jae 0x18005b19b
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.1800306e0
test al, al
mov eax, dword [rsp + 0x5c]
je 0x18005b19f
test bl, bl
jne 0x18005b19f
cmp byte [r12 + 0xe15], bl
jne 0x18005b19f
test al, al
jne 0x18005b19f
mov dword [rbp - 0x80], 9
mov dword [rsp + 0x20], 2
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.180059af0
test al, al
je 0x18005b19b
lea rdx, [rsi + 0x54]
mov r8d, dword [rbp - 0x80]
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x5c]
cmp dword [r12 + 0x37b0], 0
jle 0x18005b270
test bl, bl
jne 0x18005b23e
test al, al
jne 0x18005b23e
cmp byte [rbp + 0x1f8], al
jne 0x18005b23e
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 0x18005b229
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call fcn.180059af0
test al, al
je 0x18005b229
lea rdx, [rsi + 0x54]
mov r8d, dword [rbp + 0x1f8]
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x37b0]
jl 0x18005b1d3
mov r15d, dword [rsp + 0x50]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x18005b268
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.18003b150
mov dword [r12 + 0x37b0], r13d
xor r14b, r14b
mov byte [rsp + 0x70], r14b
lea rcx, [0x1800f50ea]
mov r13d, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], r13d
jne 0x18005be6f
cmp byte [r12 + 0x3f0c], r14b
jne 0x18005be6f
cmp byte [rbp + 0x1f0], r14b
jne 0x18005be6f
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 0x18005b330
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x54], al
cmp byte [r12 + 0xe17], 0
je 0x18005b33d
cmp byte [r12 + 0xe14], 0
jne 0x18005b33d
test al, al
jne 0x18005b33d
mov byte [rbp + 0x1f8], r14b
jmp 0x18005b344
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.180032460
test al, al
jne 0x18005b36c
mov r8d, r14d
mov edx, r13d
mov ecx, 0x220a
call fcn.180032460
test al, al
je 0x18005b398
mov r15d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x5c]
mov r14d, dword [rsp + 0x58]
test r15b, r15b
jne 0x18005b3a6
test r12b, r12b
jne 0x18005b3a6
test r14b, r14b
je 0x18005b391
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005b3a6
mov byte [rsp + 0x55], 1
jmp 0x18005b3ab
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.180032460
test al, al
jne 0x18005b3d3
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.180032460
test al, al
je 0x18005b3ec
test r12b, r12b
jne 0x18005b3ec
test r14b, r14b
je 0x18005b3e5
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005b3ec
mov byte [rsp + 0x7d], 1
jmp 0x18005b3f1
mov byte [rsp + 0x7d], 0
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.180032460
test al, al
jne 0x18005b41f
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.180032460
test al, al
je 0x18005b429
test r15b, r15b
mov byte [rsp + 0x60], r12b
je 0x18005b42e
mov byte [rsp + 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.180032460
mov r14d, dword [rbp - 0x58]
test al, al
je 0x18005b455
test r15b, r15b
jne 0x18005b455
test r14b, r14b
mov byte [rsp + 0x7c], r12b
jne 0x18005b45a
mov byte [rsp + 0x7c], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.180032460
test al, al
jne 0x18005b487
test dil, dil
je 0x18005b491
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.180032460
test al, al
je 0x18005b491
test r15b, r15b
jne 0x18005b491
test r14b, r14b
jne 0x18005b494
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.180032460
movzx r13d, al
mov rax, qword [rsp + 0x68]
test byte [rax + 8], 2
je 0x18005b4be
test byte [rax + 0xc], 1
je 0x18005b4be
mov dil, 1
jmp 0x18005b4c1
xor dil, dil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.1800306e0
test al, al
jne 0x18005b4f2
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.1800306e0
test al, al
jne 0x18005b4f2
xor r15b, r15b
jmp 0x18005b4f6
movzx r15d, r14b
test dil, dil
je 0x18005b521
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1800306e0
test al, al
jne 0x18005b524
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1800306e0
test al, al
jne 0x18005b524
xor r14b, r14b
mov r8d, 1
mov edx, dword [rsp + 0x74]
mov ecx, 0x20e
call fcn.180032460
test al, al
jne 0x18005b55e
test dil, dil
je 0x18005b559
mov r8d, 1
mov edx, dword [rsp + 0x74]
mov ecx, 0x26c
call fcn.180032460
test al, al
jne 0x18005b55e
xor dil, dil
jmp 0x18005b561
mov dil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b5c3
cmp byte [rbp + 0x1f8], 0
je 0x18005b585
mov eax, 0x200004
jmp 0x18005b597
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.1800583a0
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x18005be3a
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b5ff
cmp byte [rbp + 0x1f8], 0
je 0x18005b5e9
mov ecx, 0x200005
or ebx, ecx
jmp 0x18005b599
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x54], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x18005b599
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b698
cmp byte [rsp + 0x58], 0
je 0x18005b698
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005b664
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 0x18005be3a
movzx eax, byte [rbp + 0x1f8]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x18005be3a
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b71e
cmp byte [rsp + 0x58], 0
je 0x18005b71e
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe14], 0
je 0x18005b70a
mov rax, qword [0x1801485a8]
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 0x18005be3a
movzx eax, byte [rbp + 0x1f8]
lea r8d, [rax*4 + 0x200003]
jmp 0x18005b673
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b780
cmp byte [rsp + 0x58], 0
je 0x18005b780
or ebx, 0x20000e
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.1800583a0
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 0x18005be3a
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b7e2
cmp byte [rsp + 0x58], 0
je 0x18005b7e2
or ebx, 0x20000f
lea rdx, [rsi + 0x54]
mov r8d, ebx
mov rcx, rsi
call fcn.1800583a0
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 0x18005be3a
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b81c
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 0x18005b676
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b857
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 0x18005b676
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.1800306e0
test al, al
je 0x18005b884
cmp byte [rsp + 0x5c], 0
jne 0x18005b884
cmp byte [rsp + 0x55], 0
jne 0x18005b884
or ebx, 0x200008
jmp 0x18005b599
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.1800306e0
mov r8d, dword [rsp + 0x5c]
test al, al
je 0x18005b94c
test r8b, r8b
jne 0x18005b94c
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005b8dc
cmp byte [rsp + 0x54], r8b
je 0x18005b8ef
lea rdx, [rsi + 0x54]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x68]
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005b676
cmp byte [rbp - 0x60], 0
je 0x18005b8dc
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe17], 0
je 0x18005b8e1
cmp byte [r12 + 0xe16], 0
jne 0x18005b8e1
cmp byte [r12 + 0xe14], 0
jne 0x18005b8e1
lea rdx, [rsi + 0x54]
mov r8d, 0x600004
mov rcx, rsi
call fcn.1800583a0
mov byte [rsi + 0xe84], 1
mov dword [rsi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x18005b676
test r15b, r15b
jne 0x18005bd9c
test r14b, r14b
jne 0x18005bd9c
test dil, dil
je 0x18005b9c5
test dword [rbp + 0x1e8], 0x100000
je 0x18005b9a1
mov eax, dword [rsi + 0x10]
test eax, eax
jg 0x18005b98e
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 0x18005be3d
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 0x18005be49
movzx eax, byte [rsp + 0x7c]
test al, al
jne 0x18005bd74
test r12b, r12b
jne 0x18005bd74
test r13b, r13b
je 0x18005ba03
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 0x18005be3a
movzx r12d, byte [rsp + 0x55]
test r12b, r12b
jne 0x18005bbc3
cmp byte [rsp + 0x7d], r12b
jne 0x18005bbc3
cmp byte [rsp + 0x60], r12b
je 0x18005b5b9
mov rcx, qword [0x1801485a8]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18005ba59
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18005b5b9
mov rcx, qword [0x1801485a8]
jmp 0x18005ba60
lea rbx, [0x1800f50ea]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18005ba67
test rcx, rcx
je 0x18005ba7b
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 0x18005bb06
mov rdi, rax
mov r15d, dword [rbp + 0x1e8]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x1f8]
call fcn.180023230
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x1f8], r12d
je 0x18005bb02
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rbp + 0x1f8]
call fcn.180059af0
test al, al
je 0x18005bafd
movzx eax, word [rbp + 0x1f8]
mov word [rdi], ax
inc r14d
add rdi, 2
cmp byte [rbx], r12b
jne 0x18005bab0
mov r15, qword [rbp - 0x80]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18005bb99
mov eax, dword [rsi + 0xc]
mov edx, dword [rsi + 0x5c]
mov ecx, dword [rsi + 0x58]
cmp ecx, edx
je 0x18005bb3d
cmp ecx, eax
jle 0x18005bb2d
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005bb36
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005bb3d
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x18005bb45
mov dword [rsi + 0x54], eax
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058300
mov r9d, r14d
mov r8, r15
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180057da0
test al, al
je 0x18005bb92
mov edi, dword [rsi + 0x54]
lea rcx, [rsi + 0x74]
xor edx, edx
call fcn.1800595e0
test rax, rax
je 0x18005bb8a
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 0x18005bbb0
mov rax, qword [0x1801485a8]
test rax, rax
je 0x18005bbb0
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 0x18005be3a
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xb8], 0
je 0x18005bd22
mov edi, dword [rsi + 0x5c]
mov eax, dword [rsi + 0x58]
cmp eax, edi
je 0x18005bbef
mov r14d, edi
cmovl r14d, eax
cmovge edi, eax
xor r13d, r13d
jmp 0x18005bbf8
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 0x18005bc2a
cmp rdx, r8
jae 0x18005bc4d
movzx eax, word [rdx]
test ax, ax
je 0x18005bc4d
add rdx, 2
cmp ax, r10w
jae 0x18005bc40
inc ecx
jmp 0x18005bc20
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18005bc20
inc ecx
mov rax, qword [0x1801485a8]
test rax, rax
je 0x18005bc61
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 0x18005bcdc
mov r13d, 0x80
test r11, r11
je 0x18005bca2
cmp r10, r11
jae 0x18005bcd9
movzx eax, word [r10]
test ax, ax
je 0x18005bcd9
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18005bcbf
mov byte [r9], r8b
inc r9
jmp 0x18005bcd4
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.1800233e0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005bc98
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x1801485a8]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x18005bd07
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x1801485a8]
test r15, r15
je 0x18005bd17
test rax, rax
je 0x18005bd17
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005bd25
xor r13d, r13d
test r12b, r12b
je 0x18005b5b9
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005bd47
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 0x18005b5b9
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180058300
mov byte [rsi + 0x6a], 0
mov r12, qword [rsp + 0x68]
jmp 0x18005be3a
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.1800583a0
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005b5a8
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 0x18005bdc9
test r14b, r14b
jne 0x18005bdc9
test al, al
je 0x18005bded
cmp byte [r12 + 0xe14], r14b
jne 0x18005bdf8
mov byte [rsp + 0x56], 1
cmp byte [r12 + 0x7c], 0
je 0x18005be33
test cl, cl
jne 0x18005be33
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 0x18005be3a
cmp byte [r12 + 0xe14], 0
jne 0x18005bdc9
test r8b, r8b
jne 0x18005b5b9
mov dword [rbp + 0x1f8], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1f8]
call fcn.180059af0
test al, al
je 0x18005b5b9
mov r8d, dword [rbp + 0x1f8]
jmp 0x18005b676
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 0x18005be59
test cl, cl
je 0x18005be59
mov al, 1
jmp 0x18005be5b
xor al, al
or r15b, al
mov dword [rsp + 0x50], r15d
mov r13d, dword [rsp + 0x74]
lea rcx, [0x1800f50ea]
xor edi, edi
mov qword [rbp - 0x58], rdi
mov dword [rbp + 0x1f8], edi
cmp dword [r12 + 0x3f00], r13d
jne 0x18005c61c
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005c136
test r14b, r14b
je 0x18005c09c
test dword [rbp + 0x1e8], 0x100000
je 0x18005bf0f
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.180059730
mov r9, rax
test rax, rax
je 0x18005bef5
test ebx, ebx
jle 0x18005bef5
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 0x18005bee0
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.180057cd0
mov qword [rsi + 0x58], rdi
mov dword [rsi + 0x54], edi
jmp 0x18005c09c
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 0x18005bf33
inc rax
test ecx, ecx
jne 0x18005bf20
test edx, edx
je 0x18005c09c
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 0x18005c055
movsxd rdi, r12d
add rdi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
test rdi, rdi
je 0x18005bf7c
cmp rbx, rdi
jae 0x18005bfa1
cmp byte [rbx], 0
je 0x18005bfa1
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023230
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005bfa1
inc r14d
jmp 0x18005bf72
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18005bfe5
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18005bfe5
mov rax, qword [0x1801485a8]
test rax, rax
je 0x18005bfcf
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 0x18005c047
nop word [rax + rax]
test r14, r14
je 0x18005c01a
cmp rbx, r14
jae 0x18005c047
cmp byte [rbx], 0
je 0x18005c047
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023230
movsxd rcx, eax
add rbx, rcx
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x18005c047
mov word [rdi], ax
add rdi, 2
cmp rdi, r12
jb 0x18005c010
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.180059a30
nop
test r13, r13
je 0x18005c091
mov rax, qword [0x1801485a8]
test rax, rax
je 0x18005c087
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 0x18005c0d5
test ecx, ecx
je 0x18005c0c0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005c0c5
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x28]
call fcn.18003b0c0
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 0x18005c132
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18005c12d
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18005c112
mov byte [r9], r8b
inc r9
jmp 0x18005c128
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.1800233e0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005c0f5
mov r15d, dword [rsp + 0x5c]
mov byte [r9], 0
test r14b, r14b
je 0x18005c1dd
cmp byte [rsp + 0x56], 0
je 0x18005c156
mov edi, dword [rbp + 0x1e8]
test dil, 0x20
jne 0x18005c1e3
mov r14, qword [rbp + 0x1d0]
mov r12d, dword [rsp + 0x78]
mov rdi, qword [rbp - 0x58]
mov ecx, dword [rbp + 0x1f8]
test rdi, rdi
je 0x18005c60b
test r12b, r12b
je 0x18005c5d7
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 0x18005c5dd
mov edi, dword [rbp + 0x1e8]
test edi, 0x801c0
je 0x18005c583
xor r14d, r14d
mov ebx, r14d
lea r12d, [r14 + 1]
test dil, 0x40
je 0x18005c21d
mov r8d, r12d
xor edx, edx
mov ecx, 0x200
call fcn.1800306e0
test al, al
je 0x18005c21d
lea eax, [r14 + 0x40]
mov ebx, 0x200
jmp 0x18005c286
test dil, dil
jns 0x18005c268
mov r8d, r12d
xor edx, edx
mov ecx, 0x203
call fcn.1800306e0
test al, al
je 0x18005c245
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
jmp 0x18005c28c
mov r8d, r12d
xor edx, edx
mov ecx, 0x204
call fcn.1800306e0
test al, al
je 0x18005c268
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
jmp 0x18005c28c
mov eax, 0x80000
test eax, edi
je 0x18005c279
cmp byte [rsi + 0xe86], bl
jne 0x18005c286
mov ecx, 0x100
test ecx, edi
mov eax, r14d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x18005c583
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 0x18005c2c3
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 0x18005c2fc
cmp rcx, r8
jae 0x18005c31f
movzx eax, word [rcx]
test ax, ax
je 0x18005c31f
add rcx, 2
cmp ax, r10w
jae 0x18005c312
inc ebx
jmp 0x18005c2f2
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18005c2f2
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 0x18005c33a
cmp rcx, r8
jae 0x18005c35f
movzx eax, word [rcx]
test ax, ax
je 0x18005c35f
add rcx, 2
cmp ax, r10w
jae 0x18005c351
inc r15d
jmp 0x18005c330
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18005c330
mov dword [rbp + 0x48], r15d
movsxd rax, dword [rsi + 0x5c]
lea rcx, [rdx + rax*2]
mov r12d, r14d
nop
test rcx, rcx
je 0x18005c37a
cmp rdx, rcx
jae 0x18005c39f
movzx eax, word [rdx]
test ax, ax
je 0x18005c39f
add rdx, 2
cmp ax, r10w
jae 0x18005c391
inc r12d
jmp 0x18005c370
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x18005c370
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 0x18005c3bc
test r13b, r13b
je 0x18005c404
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rcx]
test rdi, rdi
je 0x18005c3ce
cmp rbx, rdi
jae 0x18005c3f3
cmp byte [rbx], 0
je 0x18005c3f3
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023230
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c3f3
inc r14d
jmp 0x18005c3c4
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 0x18005c412
test r13b, r13b
je 0x18005c45a
cmp eax, ecx
jne 0x18005c41c
mov r14d, dword [rsi + 0x54]
jmp 0x18005c456
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rax]
test rdi, rdi
je 0x18005c42e
cmp rbx, rdi
jae 0x18005c453
cmp byte [rbx], 0
je 0x18005c453
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023230
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c453
inc r14d
jmp 0x18005c424
mov eax, dword [rbp + 0x48]
mov dword [rsi + 0x58], r14d
movsxd rcx, dword [rbp + 0x4c]
cmp ecx, r12d
jne 0x18005c46c
test r13b, r13b
je 0x18005c58a
cmp ecx, eax
jne 0x18005c4c0
mov r14d, dword [rsi + 0x58]
mov dword [rsi + 0x5c], r14d
test r13b, r13b
je 0x18005c58a
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov rcx, rsi
call fcn.180059cd0
mov ebx, dword [rbp + 0x38]
mov eax, dword [rbp - 0x18]
mov r12d, dword [rsp + 0x78]
cmp ebx, eax
jle 0x18005c51b
test r12b, r12b
je 0x18005c51b
sub ebx, eax
add ebx, dword [rsi + 0x18]
mov ecx, dword [rsi + 0x1c]
cmp ebx, ecx
jle 0x18005c518
test ecx, ecx
je 0x18005c503
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005c508
mov rbx, qword [rbp + 0x30]
lea rdi, [rbx + rcx]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rdi, rdi
je 0x18005c4da
cmp rbx, rdi
jae 0x18005c474
cmp byte [rbx], 0
je 0x18005c474
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180023230
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x18005c474
inc r14d
jmp 0x18005c4d0
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x18]
call fcn.18003b150
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 0x18005c563
cmp byte [rdi], 0
je 0x18005c563
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180023230
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x18005c563
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005c536
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 0x18005c58f
mov r12d, dword [rsp + 0x78]
jmp 0x18005c594
mov r12d, dword [rsp + 0x78]
mov r15d, dword [rsp + 0x5c]
mov r14, qword [rbp + 0x1d0]
test r15b, r15b
jne 0x18005c162
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 0x18005c5c4
inc rax
test ecx, ecx
jne 0x18005c5b1
test edx, edx
je 0x18005c162
mov rdi, r9
mov ecx, dword [rsi + 0x10]
jmp 0x18005c16c
mov edx, dword [rbp + 0x1d8]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18005c606
jbe 0x18005c600
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 0x18005c634
cmp dword [r12 + 0x3f00], r13d
jne 0x18005c634
call fcn.180027270
mov r11d, dword [rsp + 0x58]
test r11b, r11b
jne 0x18005c70b
mov r8d, 1
mov edx, r13d
lea rcx, [rbp - 0x70]
call fcn.180025300
mov rax, qword [0x1801485a8]
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.1800234a0
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.180025010
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 0x18005c750
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 0x18005c78f
mov r13, qword [rsi + 0x30]
mov qword [rbp + 0x1d0], r13
jmp 0x18005c796
mov r13, qword [rbp + 0x1d0]
movzx eax, byte [rbp + 0x1c8]
test al, al
jne 0x18005c988
test r15b, r15b
jne 0x18005c988
test r11b, r11b
je 0x18005c819
mov ecx, edi
movzx edx, byte [r13]
lea r14, [r13 + 1]
test dl, dl
je 0x18005c7e6
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 0x18005c7d0
dec r14
movzx eax, byte [r14]
cmp al, 0xa
je 0x18005c7f7
cmp al, 0xd
je 0x18005c7f7
inc ecx
movss dword [rbp - 0x58], xmm10
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c00]
movss dword [rsp + 0x78], xmm8
jmp 0x18005c853
mov eax, dword [rsp + 0x74]
cmp dword [r12 + 0x3f00], eax
jne 0x18005c82d
movsxd r14, dword [rsi + 0x10]
jmp 0x18005c83e
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r14 + r13], 0
jne 0x18005c834
add r14, r13
mov rax, r14
sub rax, r13
cmp rax, 0x200000
jge 0x18005d27c
mov rax, qword [0x1801485a8]
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.1800234a0
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 0x18005d27c
test r14, r14
jne 0x18005c8cd
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x18005c8c0
add rcx, r13
cmp r13, rcx
je 0x18005d27c
test r10, r10
jne 0x18005c8e3
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
xorps xmm12, xmm12
ucomiss xmm2, xmm12
jp 0x18005c8f8
jne 0x18005c8f8
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x70], xmm1
test r8, r8
je 0x18005c951
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x18005c917
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm1
jae 0x18005c92c
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x68]
ja 0x18005c93d
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x64]
ja 0x18005c94e
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.18004aee0
jmp 0x18005d280
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 0x18005c9c2
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 0x18005c9e4
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 0x18005ca32
cmp cx, 0xa
jne 0x18005ca26
inc r10d
cmp r8d, 0xffffffff
jne 0x18005ca13
cmp rax, r9
jb 0x18005ca13
mov r8d, r10d
dec edx
test edx, edx
jle 0x18005ca32
cmp edi, 0xffffffff
jne 0x18005ca26
cmp rax, rbx
jb 0x18005ca26
mov edi, r10d
dec edx
test edx, edx
jle 0x18005ca32
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18005c9f6
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp edi, 0xffffffff
cmove edi, r10d
mov rdx, r9
cmp r9, r15
jbe 0x18005ca62
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005ca62
mov rdx, rax
cmp rax, r15
ja 0x18005ca50
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 0x18005cad0
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005caa7
maxss xmm1, xmm12
movaps xmm12, xmm4
jmp 0x18005cacb
cmp ecx, 0xd
je 0x18005cacb
cmp ecx, dword [r8]
jge 0x18005cabc
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005cac2
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x18005ca90
maxss xmm12, xmm1
movss xmm0, dword [r12 + 0x3c00]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test edi, edi
js 0x18005cb89
mov rdx, rbx
cmp rbx, r15
jbe 0x18005cb12
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005cb12
mov rdx, rax
cmp rax, r15
ja 0x18005cb00
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm4
movaps xmm7, xmm4
cmp rdx, rbx
jae 0x18005cb70
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005cb45
maxss xmm2, xmm7
movaps xmm7, xmm4
jmp 0x18005cb6b
cmp ecx, 0xd
je 0x18005cb6b
cmp ecx, dword [r8]
jge 0x18005cb5a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x18005cb60
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm7, xmm0
cmp rdx, rbx
jb 0x18005cb30
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 0x18005cbae
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 0x18005cce2
cmp byte [rsi + 0xe84], 0
je 0x18005cce2
test dword [rbp + 0x1e8], 0x1000
jne 0x18005cc2a
movaps xmm0, xmm10
mulss xmm0, dword [0x180109888]
subss xmm10, dword [r12 + 0x381c]
movss xmm2, dword [rsi + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x18005cc0a
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x18005cc18
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x18005cc2f
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm0
jmp 0x18005cc2f
xor eax, eax
mov dword [rsi + 0x50], eax
test r11b, r11b
je 0x18005ccdb
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c00]
comiss xmm9, xmm0
jbe 0x18005cc57
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x18005cc89
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm11
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x18005cc89
movaps xmm9, xmm13
subss xmm9, xmm11
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm4, xmm9
jbe 0x18005cc9e
movaps xmm2, xmm4
jmp 0x18005ccb5
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 0x18005cf5a
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 0x18005cd1d
movss xmm1, dword [0x1801098e0]
jmp 0x18005cd25
movss xmm1, dword [0x1801098a8]
mov rax, qword [0x1801485a8]
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.1800234a0
mov r15d, eax
xorps xmm4, xmm4
test r11b, r11b
je 0x18005cd6b
movss dword [rbp - 4], xmm4
xorps xmm10, xmm10
jmp 0x18005cd74
movss xmm10, dword [0x180109918]
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 0x18005cf60
movss xmm6, dword [0x1801098a0]
nop word [rax + rax]
movss xmm2, dword [r12 + 0x3c00]
movaps xmm0, xmm14
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x18005cf53
movss xmm5, dword [rbp - 0x50]
comiss xmm5, xmm8
jbe 0x18005cdfb
cmp rbx, rdi
jae 0x18005cf37
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005cf37
cmp rbx, rdi
jb 0x18005cde0
jmp 0x18005cf37
mov rdx, qword [r12 + 0x3bf8]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, rdi
jae 0x18005ce51
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18005ce47
cmp ecx, 0xd
je 0x18005ce40
cmp ecx, dword [rdx]
jge 0x18005ce33
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005ce38
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, rdi
jb 0x18005ce13
jmp 0x18005ce51
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x18005ce81
cmp dword [rdx], 0x20
jle 0x18005ce6d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005ce72
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 0x18005cf37
comiss xmm14, xmm2
jbe 0x18005cf37
comiss xmm1, xmm3
jbe 0x18005cf37
comiss xmm15, xmm7
jbe 0x18005cf37
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.1800462d0
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 0x18005cdb0
mov r11d, dword [rsp + 0x58]
jmp 0x18005cf60
movss xmm9, dword [rbp - 0x78]
mov r13, qword [rbp + 0x1d0]
test r11b, r11b
jne 0x18005cf7e
mov rax, r14
sub rax, r13
cmp rax, 0x200000
jge 0x18005d0d3
mov rax, qword [0x1801485a8]
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.1800234a0
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 0x18005d0d7
test r14, r14
jne 0x18005d01e
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x18005d012
add rcx, r13
cmp r13, rcx
je 0x18005d0d7
test r10, r10
jne 0x18005d034
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x18005d044
jne 0x18005d044
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x70], xmm1
test r8, r8
je 0x18005d09d
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x18005d063
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm1
jae 0x18005d078
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x68]
ja 0x18005d089
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x64]
ja 0x18005d09a
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.18004aee0
xorps xmm4, xmm4
jmp 0x18005d0d7
mov rbx, qword [rbp - 0x48]
cmp byte [rbp + 0x1c8], 0
je 0x18005d276
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rsi + 0xe80]
movss dword [rsi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x18005d126
comiss xmm4, xmm0
jae 0x18005d126
movss xmm1, dword [0x1801098e8]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x1801098c8]
comiss xmm1, xmm0
jae 0x18005d126
xor cl, cl
jmp 0x18005d128
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 [0x1801098a0]
movss dword [rbp - 0x34], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x1801098e0]
addss xmm2, xmm8
movss dword [rbp - 0x30], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x1801098f4]
movss dword [rbp - 0x2c], xmm1
movss xmm13, dword [rbp - 0x50]
test cl, cl
je 0x18005d233
comiss xmm1, xmm13
jbe 0x18005d233
movss xmm3, dword [rbp + 0x1f0]
comiss xmm3, xmm0
jbe 0x18005d233
comiss xmm2, dword [rbp - 0x20]
jbe 0x18005d233
movss xmm0, dword [rbp + 0x1f8]
comiss xmm0, xmm6
jbe 0x18005d233
mov rax, qword [0x1801485a8]
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.1800234a0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x1c8]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 0x290]
call fcn.180046060
cmp byte [rsp + 0x5c], 0
jne 0x18005d289
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 0x18005d289
movss xmm13, dword [rbp - 0x50]
xorps xmm12, xmm12
movss xmm8, dword [0x1801098e0]
mov ebx, dword [rbp - 0x5c]
test bl, bl
je 0x18005d295
call fcn.18002fa50
cmp byte [rsp + 0x58], 0
je 0x18005d33f
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.1800544e0
mov ebx, dword [r12 + 0x4720]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4720], eax
call fcn.18002a7a0
mov eax, dword [r12 + 0x4744]
and eax, 0x80
mov edi, dword [rbp + 0x90]
or edi, eax
mov dword [r12 + 0x4720], ebx
call fcn.180032d80
mov ebx, dword [rbp - 0x5c]
cmp dword [r12 + 0x473c], 0
jne 0x18005d33f
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 0x18005d4ba
test bl, bl
jne 0x18005d4ba
mov rdi, qword [0x1801485a8]
mov rsi, qword [rdi + 0x3ea0]
xor eax, eax
mov qword [rdi + 0x5c30], rax
mov qword [rdi + 0x5c28], rax
test r14, r14
jne 0x18005d3a0
mov r14, r13
cmp r13, 0xffffffffffffffff
jae 0x18005d3a0
movzx ecx, byte [r14]
test cl, cl
je 0x18005d3a0
lea rax, [r14 + 1]
cmp cl, 0x23
jne 0x18005d397
cmp byte [rax], cl
je 0x18005d3a0
mov r14, rax
cmp rax, 0xffffffffffffffff
jb 0x18005d382
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 0x18005d3da
lea rcx, [0x1800fad90]
call fcn.180038e30
mov byte [rdi + 0x5c3c], 1
lea r8, [0x1800fb675]
lea rdx, [0x1800fb674]
lea rcx, [rbp - 0x78]
call fcn.180038e70
mov eax, dword [rsi + 0x180]
mov ecx, dword [rdi + 0x5c40]
cmp ecx, eax
jle 0x18005d409
mov dword [rdi + 0x5c40], eax
mov ecx, eax
mov esi, dword [rsi + 0x180]
sub esi, ecx
lea r15, [0x1800f50ea]
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 0x18005d447
cmp rbx, r14
je 0x18005d49e
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c3c], 0
lea edx, [rsi*4]
jne 0x18005d460
mov edx, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.180038e30
mov byte [rdi + 0x5c3c], 0
cmp byte [rbx], 0xa
jne 0x18005d493
lea rcx, [0x1800fad90]
call fcn.180038e30
mov byte [rdi + 0x5c3c], r12b
cmp rbx, r14
je 0x18005d49e
lea r13, [rbx + 1]
jmp 0x18005d420
lea r8, [0x1800fb671]
lea rdx, [0x1800fb670]
lea rcx, [rbp - 0x78]
call fcn.180038e70
mov r12, qword [rsp + 0x68]
movss xmm0, dword [rbp]
comiss xmm0, xmm12
jbe 0x18005d4f9
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.180023d70
movzx edx, byte [rsp + 0x7f]
mov ecx, dword [rbp + 0x1e8]
test dl, dl
je 0x18005d525
bt ecx, 0x1b
jb 0x18005d525
mov rax, qword [0x1801485a8]
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 0x18005a3da