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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x280
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov qword [rbp - 0x58], r8
mov r13, rcx
mov qword [rbp - 0x20], rcx
mov rbx, qword [0x1800e5340]
mov r15, rbx
mov qword [rsp + 0x78], rbx
mov rax, qword [rbx + 0x3ea0]
mov byte [rax + 0xb0], 1
mov r14, qword [rbx + 0x3ea0]
mov qword [rbp - 0x38], r14
cmp byte [r14 + 0xb3], 0
jne 0x180050571
mov r12d, dword [rbp + 0x1e8]
mov edi, r12d
shr edi, 0x1a
and dil, 1
mov dword [rsp + 0x64], edi
mov eax, r12d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x68], eax
mov eax, r12d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x50], eax
mov eax, r12d
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x6c], eax
mov eax, r12d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x68], eax
test dil, dil
je 0x1800501ea
call fcn.18002c210
mov rbx, qword [0x1800e5340]
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.18001c940
mov esi, eax
mov dword [rbp - 0x7c], eax
cmp dword [rbx + 0x3ee8], eax
jne 0x18005022a
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.1800332c0
mov rbx, qword [0x1800e5340]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x180050250
movzx edx, byte [rcx]
test dl, dl
je 0x180050250
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180050247
cmp byte [rax], dl
je 0x180050250
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180050233
movss xmm0, dword [rbx + 0x3c00]
xor eax, eax
movss xmm1, dword [0x1800addc8]
movss dword [rbp - 0x2c], xmm1
movss xmm10, dword [0x1800addb8]
xorps xmm9, xmm9
cmp r13, rcx
jne 0x18005027e
xorps xmm7, xmm7
jmp 0x1800502c7
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm10
movaps xmm2, xmm0
lea rdx, [rbp - 0x78]
mov rcx, qword [rbx + 0x3bf8]
call fcn.1800434c0
movss xmm0, dword [rbp - 0x78]
addss xmm0, dword [0x1800adcc4]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x74]
movss dword [rbp - 0x28], xmm7
test dil, dil
je 0x1800502e2
movss xmm0, dword [r15 + 0x3c00]
mulss xmm0, dword [0x1800add4c]
movss xmm6, dword [r15 + 0x3820]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.18002c070
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1e0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.18002c0f0
comiss xmm7, xmm9
jbe 0x180050325
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3834]
jmp 0x180050328
xorps xmm1, xmm1
movss xmm12, dword [r14 + 0xfc]
movss dword [rbp - 0x4c], xmm12
movaps xmm0, xmm12
movss xmm7, dword [rbp - 0x74]
movss dword [rbp - 0x30], xmm7
addss xmm0, xmm7
movss xmm8, dword [r14 + 0xf8]
movss dword [rbp - 0x3c], xmm8
movaps xmm13, xmm8
movss xmm11, dword [rbp - 0x78]
addss xmm13, xmm11
movss dword [rbp - 0x40], xmm13
movss dword [rbp - 0x18], xmm8
movss dword [rbp - 0x14], xmm12
movss dword [rbp - 0x10], xmm13
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm12
addss xmm2, xmm7
addss xmm1, xmm11
addss xmm1, xmm8
movss dword [rbp + 0x70], xmm8
movss dword [rbp + 0x74], xmm12
movss dword [rbp + 0x78], xmm1
movss dword [rbp + 0x7c], xmm2
mov rbx, r14
mov qword [rbp - 0x48], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
subss xmm2, xmm12
subss xmm1, xmm8
movss dword [rbp - 0x78], xmm1
movss dword [rbp - 0x74], xmm2
lea rcx, [rbp - 0x78]
movaps xmm1, xmm6
call fcn.18002bcb0
test dil, dil
je 0x180050634
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.18002be20
test al, al
je 0x18005056c
mov r13d, dword [r15 + 0x4744]
movups xmm0, xmmword [r15 + 0x473c]
movups xmmword [rbp + 0x98], xmm0
movss dword [r14 + 0xf8], xmm8
movss dword [r14 + 0xfc], xmm12
mov rbx, qword [0x1800e5340]
mov dword [rbp + 0x70], 3
movups xmm0, xmmword [rbx + 0x38d8]
movups xmmword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x47e8]
lea rdx, [rbp + 0x70]
call fcn.180033a20
movups xmm0, xmmword [r15 + 0x3918]
movups xmmword [rbx + 0x38d8], xmm0
movss xmm1, dword [r15 + 0x3824]
mov ecx, 7
call fcn.18001d280
movss xmm1, dword [r15 + 0x3828]
mov ecx, 8
call fcn.18001d280
mov rbx, qword [0x1800e5340]
lea rcx, [rbx + 0x47f8]
movss xmm1, dword [rbx + 0x37e8]
movss xmm0, dword [rbx + 0x37ec]
mov dword [rbp - 0x78], 2
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x78]
call fcn.180033930
xor r12d, r12d
mov qword [rbx + 0x37e8], r12
movss xmm1, dword [rbp - 0xc]
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x4c], xmm12
subss xmm1, xmm12
movss xmm13, dword [rbp - 0x10]
movss dword [rbp - 0x40], xmm13
movaps xmm0, xmm13
movss xmm8, dword [rbp - 0x18]
movss dword [rbp - 0x3c], xmm8
subss xmm0, xmm8
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
lea r8, [rbp - 0x78]
mov edx, esi
mov rcx, qword [rbp - 0x20]
call fcn.180023d40
movzx ebx, al
lea ecx, [r12 + 3]
call fcn.18001d390
mov r8, qword [0x1800e5340]
movsxd rax, dword [r8 + 0x47e8]
cmp eax, 1
jl 0x180050563
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 0x1800505d5
call fcn.180023f20
call fcn.18002c340
xor al, al
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.18007ba50
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
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 [rbx + 0xf8]
addss xmm0, dword [r15 + 0x381c]
movss dword [rbx + 0xf8], xmm0
movss xmm1, dword [r15 + 0x3820]
addss xmm1, dword [rbx + 0xfc]
movss dword [rbx + 0xfc], xmm1
subss xmm11, dword [rbx + 0xa4]
jmp 0x180050686
bt r12d, 0x1c
jb 0x18005067c
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.18002be20
test al, al
je 0x180050571
movss xmm13, dword [rbp - 0x10]
movss dword [rbp - 0x40], xmm13
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x4c], xmm12
movss xmm8, dword [rbp - 0x18]
movss dword [rbp - 0x3c], xmm8
mov r13d, dword [r15 + 0x4744]
xor r12d, r12d
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.180020c10
movzx ecx, al
mov byte [rsp + 0x70], al
test al, al
je 0x1800506a7
mov dword [r15 + 0x4a28], 1
mov rdi, qword [0x1800e5340]
test esi, esi
je 0x1800506c3
cmp dword [rdi + 0x4bc0], esi
jne 0x1800506c3
add rdi, 0x4bb8
jmp 0x1800506c6
mov rdi, r12
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f00]
cmp eax, esi
je 0x1800506fc
cmp dword [r15 + 0x489c], esi
je 0x1800506f5
cmp dword [r15 + 0x4890], esi
jne 0x1800506fc
cmp dword [r15 + 0x48b8], 2
jne 0x1800506fc
mov byte [rsp + 0x52], 1
jmp 0x180050701
mov byte [rsp + 0x52], 0
test cl, cl
je 0x180050714
cmp byte [r15 + 0x3738], 0
je 0x180050714
mov r12b, 1
jmp 0x180050717
xor r12b, r12b
mov byte [rsp + 0x51], r12b
mov r8d, dword [rsp + 0x64]
test r8b, r8b
je 0x180050787
test rdi, rdi
je 0x180050787
test eax, eax
jne 0x180050787
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.18001c940
mov ebx, eax
mov rcx, qword [0x1800e5340]
cmp dword [rcx + 0x3ee8], eax
jne 0x180050774
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1800332c0
cmp dword [r15 + 0x3f30], ebx
jne 0x180050782
mov sil, 1
jmp 0x180050794
mov r8d, dword [rsp + 0x64]
xor sil, sil
test r8b, r8b
je 0x18005080a
test rdi, rdi
je 0x18005080a
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.18001c940
mov ebx, eax
mov rcx, qword [0x1800e5340]
cmp dword [rcx + 0x3ee8], eax
jne 0x1800507dd
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1800332c0
mov r8d, dword [rsp + 0x64]
cmp dword [r15 + 0x3f00], ebx
jne 0x18005080a
mov cl, 1
mov byte [rsp + 0x59], cl
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov rax, qword [rbp - 0x48]
movss xmm10, dword [rax + 0x80]
jmp 0x180050832
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
xor cl, cl
mov byte [rsp + 0x59], cl
test r8b, r8b
je 0x18005082e
mov rax, qword [rbp - 0x48]
movss xmm10, dword [rax + 0x80]
jmp 0x180050832
mov byte [rsp + 0x59], cl
test rdi, rdi
je 0x180050847
movzx eax, r8b
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x180050847
mov r15b, 1
jmp 0x18005084a
xor r15b, r15b
test r12b, r12b
jne 0x180050874
test sil, sil
jne 0x180050874
cmp byte [rsp + 0x52], sil
jne 0x180050874
test r13b, r13b
jne 0x180050874
mov byte [rsp + 0x50], r13b
test cl, cl
jne 0x180050879
mov byte [rsp + 0x60], cl
mov rax, qword [rsp + 0x78]
jmp 0x18005088e
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0x78]
mov edx, dword [rbp - 0x7c]
cmp dword [rax + 0x3f00], edx
jne 0x180050897
test r15b, r15b
je 0x180050ad9
lea rdi, [rax + 0x4bb8]
mov dword [rdi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x58]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800508b3
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x1800508ea
test ecx, ecx
je 0x1800508d5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800508da
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.180034460
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov rsi, qword [rbp - 0x58]
mov rdx, rsi
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rbp - 0x7c]
cmp dword [rdi + 8], r14d
jne 0x180050931
test r15b, r15b
jne 0x180050931
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x180050931
cmp byte [rdi + 0x48], r15b
je 0x180050934
movsxd r8, ebx
mov rdx, rsi
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180050934
xor r12b, r12b
mov dword [rdi + 8], r14d
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180050967
test ecx, ecx
je 0x18005094f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050954
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.1800344f0
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x180050990
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, [rdi + 0x28]
call fcn.180034460
xor ecx, ecx
mov dword [rdi + 0x28], ecx
mov byte [rdi + 0x48], cl
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x1800509d9
cmp byte [rsi], 0
je 0x1800509d7
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x1800509d7
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800509a8
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov rax, qword [rbp - 0x58]
sub esi, eax
mov dword [rdi + 0x10], esi
mov r8d, dword [rsp + 0x64]
test r12b, r12b
je 0x180050a1c
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x180050a63
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], ecx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], ecx
mov byte [rdi + 0x68], 0
movzx eax, r8b
xor al, 1
mov byte [rdi + 0x6b], al
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], ecx
test r8b, r8b
jne 0x180050abb
mov ecx, dword [rbp + 0x1e8]
test cl, 0x10
mov eax, dword [rsp + 0x54]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x78]
cmp byte [rsp + 0x52], r8b
je 0x180050aa2
test r12b, r12b
je 0x180050a9e
test byte [rax + 0x48a0], 4
jne 0x180050aa2
mov byte [rsp + 0x54], cl
test r13b, r13b
jne 0x180050ab7
cmp byte [rsp + 0x51], r13b
je 0x180050abb
cmp byte [rax + 0xe14], r13b
je 0x180050abb
mov byte [rsp + 0x54], cl
mov r13d, dword [rbp + 0x1e8]
mov r14, qword [rbp - 0x38]
movzx r12d, byte [rsp + 0x51]
bt r13d, 0xd
jae 0x180050ae0
mov byte [rdi + 0x60], 1
jmp 0x180050ae0
mov r13d, dword [rbp + 0x1e8]
mov rsi, qword [rsp + 0x78]
mov r15d, dword [rbp - 0x7c]
movzx ebx, byte [rsp + 0x50]
cmp dword [rsi + 0x3f00], r15d
je 0x180050b2b
test bl, bl
je 0x180050b1e
mov rdx, r14
mov ecx, r15d
call fcn.1800209d0
mov rdx, r14
mov ecx, r15d
call fcn.18002da80
mov rcx, r14
call fcn.180028d30
mov r8d, dword [rsp + 0x64]
cmp dword [rsi + 0x3f00], r15d
jne 0x180050c38
test r12b, r12b
je 0x180050b4e
mov rax, qword [0x1800e5340]
mov dword [rax + 0x4558], r15d
mov dword [rax + 0x4554], r15d
mov word [rax + 0x455c], 0
mov eax, dword [rsi + 0x4710]
or eax, 3
mov dword [rsi + 0x4710], eax
test r8b, r8b
jne 0x180050b67
test r13b, r13b
jns 0x180050b70
or eax, 0xc
mov dword [rsi + 0x4710], eax
mov rax, qword [0x1800e5340]
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 0x180050bd8
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 0x180050bff
mov rax, qword [0x1800e5340]
mov dword [rax + 0x3f4c], r15d
mov dword [rax + 0x3f48], r15d
mov word [rax + 0x3f50], 0
cmp dword [rsi + 0x3f00], r15d
jne 0x180050c38
test rdi, rdi
jne 0x180050c12
call fcn.180020b20
cmp dword [rsi + 0x3f00], r15d
jne 0x180050c38
cmp byte [rsi + 0x3738], 0
je 0x180050c44
cmp byte [rsp + 0x60], 0
jne 0x180050c44
test bl, bl
jne 0x180050c44
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x180050c4a
test rdi, rdi
je 0x180050c48
cmp byte [rsp + 0x59], 0
je 0x180050c48
mov cl, 1
jmp 0x180050c4a
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x54]
test rdi, rdi
je 0x180050c6e
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180050c65
test r13b, r13b
je 0x180050c6e
test cl, cl
je 0x180050c6e
mov r15b, 1
jmp 0x180050c71
xor r15b, r15b
mov dword [rsp + 0x54], r15d
movzx r12d, r15b
mov byte [rbp - 0x61], 0
mov byte [rsp + 0x60], 0
mov eax, dword [rsp + 0x68]
test al, al
je 0x180050d71
test rdi, rdi
je 0x180050d71
test cl, cl
jne 0x180050ca5
test r15b, r15b
je 0x180050d7a
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180050cd4
test ecx, ecx
je 0x180050cbc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050cc1
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.1800344f0
mov dword [rdi + 0x18], 0x21
mov rax, qword [rbp - 0x58]
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x180050d25
cmp byte [rsi], 0
je 0x180050d21
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x180050d21
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180050cf2
mov rax, qword [rbp - 0x58]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, eax
mov dword [rdi + 0x10], esi
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
mov r15d, edx
cmp ecx, ebx
cmovne r15d, r12d
mov dword [rsp + 0x54], r15d
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x68]
test cl, cl
jne 0x180050d8e
test r15b, r15b
jne 0x180050d8e
mov r12, qword [rsp + 0x78]
mov ebx, dword [rbp - 0x7c]
cmp dword [r12 + 0x3f00], ebx
jne 0x180050da8
jmp 0x180050d96
mov ebx, dword [rbp - 0x7c]
mov r12, qword [rsp + 0x78]
test al, al
jne 0x180050da8
test rdi, rdi
je 0x180050da8
cmp byte [rdi + 0x48], al
mov byte [rbp - 0x62], 1
jne 0x180050dac
mov byte [rbp - 0x62], 0
cmp byte [rbp - 0x50], 0
je 0x180050e46
mov rdx, qword [r12 + 0x3bf8]
cmp dword [rdx + 0x18], 0x2a
ja 0x180050dca
mov r8, qword [rdx + 0x38]
jmp 0x180050dee
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180050de2
mov r8, qword [rdx + 0x38]
jmp 0x180050dee
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5a48]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3bf8]
mov edx, dword [rax + 0x5c]
mov dword [rcx + 0x5c], edx
mov rax, qword [r12 + 0x3bf8]
mov edx, dword [rax + 0x60]
mov dword [rcx + 0x60], edx
mov rax, qword [r12 + 0x3bf8]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3bf8]
mov rdx, qword [rax + 0x40]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rcx + 0x10], eax
call fcn.1800290f0
xor ecx, ecx
mov dword [rbp - 0x38], ecx
movss xmm0, dword [0x1800adc94]
cmp dword [r12 + 0x3f00], ebx
jne 0x180051347
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x38], eax
mov byte [rdi + 0xe86], cl
mov dword [rdi + 0x4c], 0x20
mov esi, dword [rbp + 0x1e8]
mov dword [rdi + 0xe88], esi
cmp byte [r12 + 0xe04], cl
sete al
mov byte [r12 + 0x3f0d], al
mov ecx, 1
mov dword [r12 + 0x5dbc], ecx
movss xmm1, dword [r12 + 0xdfc]
subss xmm1, xmm8
subss xmm1, dword [r12 + 0x381c]
addss xmm1, dword [rdi + 0x50]
cmp byte [rsp + 0x64], 0
je 0x180050edd
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xfc]
jmp 0x180050eeb
movss xmm2, dword [r12 + 0x3c00]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0x79]
test r13b, r13b
je 0x180050f15
xor r13d, r13d
mov dword [rdi + 0x58], r13d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r13b
mov byte [rdi + 0xe85], cl
jmp 0x1800511af
movzx eax, byte [rsp + 0x70]
test al, al
je 0x1800510b0
cmp word [r12 + 0x3742], 2
jb 0x1800510b0
cmp byte [r12 + 0xe15], 0
jne 0x1800510b0
cmp byte [rdi + 0x6b], 0
je 0x180050f4b
movaps xmm2, xmm9
mov rcx, rdi
call fcn.18004e2d0
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
movzx ecx, word [r12 + 0x3742]
sub ecx, 2
test cl, 1
jne 0x180051020
test eax, eax
je 0x180050f8c
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x180050f8c
xor cl, cl
jmp 0x180050f8e
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180050f9a
test cl, cl
jne 0x180050fbd
lea rdx, [rdi + 0x54]
mov r8d, 0x20000c
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180050fd8
cmp dword [rdi + 0x58], eax
jne 0x180050fd5
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180050fd8
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004de60
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x18005100f
cmp ecx, eax
jle 0x180050fff
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180051008
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x18005100f
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x18005119d
mov dword [rdi + 0x54], eax
jmp 0x18005119d
mov rcx, qword [rdi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004e790
cmp bx, 0xa
je 0x18005109e
cmp byte [rsp + 0x64], 0
je 0x18005109e
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], ecx
mov dword [rdi + 0x54], ecx
mov byte [rdi + 0xe84], 0
mov esi, dword [rbp + 0x1e8]
jmp 0x18005119d
cmp byte [r12 + 0x3738], 0
je 0x180051138
cmp byte [rdi + 0xe85], 0
jne 0x180051138
test al, al
je 0x1800511ac
cmp byte [r12 + 0xe15], 0
je 0x18005110c
cmp byte [rdi + 0x6b], 0
je 0x1800510e1
movaps xmm2, xmm9
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x1800510f2
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18004e2d0
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18005119d
cmp byte [rdi + 0x6b], 0
je 0x180051116
movaps xmm2, xmm9
mov rcx, rdi
call fcn.18004e2d0
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x18005119d
cmp byte [r12 + 0xe04], 0
je 0x1800511ac
cmp byte [rdi + 0xe85], 0
jne 0x1800511ac
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm9
jp 0x180051170
jne 0x180051170
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm9
jp 0x180051170
je 0x1800511ac
cmp byte [rdi + 0x6b], 0
je 0x18005117a
movaps xmm2, xmm9
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180051188
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.18004e2d0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, 1
xor r13d, r13d
cmp byte [rdi + 0xe85], 0
je 0x1800511ca
cmp byte [r12 + 0xe04], 0
jne 0x1800511ca
mov byte [rdi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x1800511e0
cmp byte [r12 + 0xe16], 0
je 0x1800511f0
test r14b, r14b
je 0x1800511f4
cmp byte [r12 + 0xe17], 0
je 0x1800511f4
mov bl, 1
jmp 0x1800511f6
xor bl, bl
bt esi, 0xa
jae 0x180051267
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.180029c20
test al, al
mov eax, dword [rsp + 0x68]
je 0x18005126b
test bl, bl
jne 0x18005126b
cmp byte [r12 + 0xe15], bl
jne 0x18005126b
test al, al
jne 0x18005126b
mov dword [rsp + 0x5c], 9
mov dword [rsp + 0x20], 2
mov edx, esi
lea rcx, [rsp + 0x5c]
call fcn.18004fc60
test al, al
je 0x180051267
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x5c]
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x68]
cmp dword [r12 + 0x37b0], 0
jle 0x180051347
test bl, bl
jne 0x180051315
test al, al
jne 0x180051315
cmp byte [rsp + 0x52], al
jne 0x180051315
mov esi, r13d
mov rbx, r13
mov r15d, dword [rbp + 0x1e8]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12 + 0x37b8]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x5c], ecx
cmp ecx, 9
je 0x180051300
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rsp + 0x5c]
call fcn.18004fc60
test al, al
je 0x180051300
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x5c]
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37b0]
jl 0x1800512b0
mov r15d, dword [rsp + 0x54]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x18005133f
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.1800344f0
mov dword [r12 + 0x37b0], r13d
xor r14b, r14b
mov byte [rbp - 0x80], r14b
lea rcx, [0x180083236]
mov r13d, dword [rbp - 0x7c]
cmp dword [r12 + 0x3f00], r13d
jne 0x180051fea
cmp byte [r12 + 0x3f0c], r14b
jne 0x180051fea
cmp byte [rsp + 0x58], r14b
jne 0x180051fea
movaps xmm0, xmm7
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 [rsp + 0x5c], ecx
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe15]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx esi, byte [r12 + 0x79]
mov byte [rbp - 0x60], sil
test sil, sil
je 0x180051401
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x52], al
cmp byte [r12 + 0xe17], 0
je 0x18005140e
cmp byte [r12 + 0xe14], 0
jne 0x18005140e
test al, al
jne 0x18005140e
mov byte [rsp + 0x51], r14b
jmp 0x180051413
movzx eax, byte [r12 + 0xe14]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x51], 0
mov r8d, r14d
mov edx, r13d
mov ecx, 0xa39
call fcn.18002bad0
test al, al
jne 0x18005143b
mov r8d, r14d
mov edx, r13d
mov ecx, 0x220a
call fcn.18002bad0
test al, al
je 0x180051467
mov r15d, dword [rsp + 0x68]
mov r12d, dword [rbp - 0x50]
mov r14d, dword [rsp + 0x64]
test r15b, r15b
jne 0x180051475
test r12b, r12b
jne 0x180051475
test r14b, r14b
je 0x180051460
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180051475
mov byte [rsp + 0x59], 1
jmp 0x18005147a
mov r14d, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x68]
mov r12d, dword [rbp - 0x50]
mov byte [rsp + 0x59], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.18002bad0
test al, al
jne 0x1800514a2
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.18002bad0
test al, al
je 0x1800514ba
test r12b, r12b
jne 0x1800514ba
test r14b, r14b
je 0x1800514b4
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x1800514ba
mov byte [rbp - 0x63], 1
jmp 0x1800514be
mov byte [rbp - 0x63], 0
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.18002bad0
test al, al
jne 0x1800514ec
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.18002bad0
test al, al
je 0x1800514f6
test r15b, r15b
mov byte [rsp + 0x70], r12b
je 0x1800514fb
mov byte [rsp + 0x70], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.18002bad0
mov r14d, dword [rsp + 0x6c]
test al, al
je 0x180051522
test r15b, r15b
jne 0x180051522
test r14b, r14b
mov byte [rbp - 0x64], r12b
jne 0x180051526
mov byte [rbp - 0x64], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.18002bad0
test al, al
jne 0x180051553
test sil, sil
je 0x18005155d
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.18002bad0
test al, al
je 0x18005155d
test r15b, r15b
jne 0x18005155d
test r14b, r14b
jne 0x180051560
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.18002bad0
movzx r13d, al
mov rax, qword [rsp + 0x78]
test byte [rax + 8], 2
je 0x18005158a
test byte [rax + 0xc], 1
je 0x18005158a
mov sil, 1
jmp 0x18005158d
xor sil, sil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.180029c20
test al, al
jne 0x1800515be
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.180029c20
test al, al
jne 0x1800515be
xor r15b, r15b
jmp 0x1800515c2
movzx r15d, r14b
test sil, sil
je 0x1800515ed
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180029c20
test al, al
jne 0x1800515f0
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180029c20
test al, al
jne 0x1800515f0
xor r14b, r14b
mov r8d, 1
mov edx, dword [rbp - 0x7c]
mov ecx, 0x20e
call fcn.18002bad0
test al, al
jne 0x180051628
test sil, sil
je 0x180051623
mov r8d, 1
mov edx, dword [rbp - 0x7c]
mov ecx, 0x26c
call fcn.18002bad0
test al, al
jne 0x180051628
xor sil, sil
jmp 0x18005162b
mov sil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x18005168b
cmp byte [rsp + 0x51], 0
je 0x18005164d
mov eax, 0x200004
jmp 0x18005165f
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004e790
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x78]
jmp 0x180051fb8
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x1800516c5
cmp byte [rsp + 0x51], 0
je 0x1800516af
mov ecx, 0x200005
or ebx, ecx
jmp 0x180051661
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x180051661
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x180051758
cmp byte [rsp + 0x64], 0
je 0x180051758
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe14], 0
je 0x180051726
mov rdx, qword [rbp - 0x48]
movss xmm0, dword [rdx + 0x80]
subss xmm0, dword [r12 + 0x3c00]
maxss xmm0, xmm9
movss dword [rdx + 0x90], xmm0
xor eax, eax
mov dword [rdx + 0x98], eax
mov dword [rdx + 0xa0], eax
jmp 0x180051fb8
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180051fb8
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x1800517dc
cmp byte [rsp + 0x64], 0
je 0x1800517dc
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe14], 0
je 0x1800517ca
mov rax, qword [0x1800e5340]
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 0x180051fb8
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200003]
jmp 0x180051733
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x18005183f
cmp byte [rsp + 0x64], 0
je 0x18005183f
or ebx, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x5c]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x78]
mulss xmm0, dword [r12 + 0x3c00]
subss xmm10, xmm0
jmp 0x180051fb8
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x1800518a2
cmp byte [rsp + 0x64], 0
je 0x1800518a2
or ebx, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x5c]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x78]
mulss xmm0, dword [r12 + 0x3c00]
addss xmm10, xmm0
jmp 0x180051fb8
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x1800518dc
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe14], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x180051736
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x180051917
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe14], 0
cmovne r8d, eax
jmp 0x180051736
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180029c20
test al, al
je 0x180051944
cmp byte [rsp + 0x68], 0
jne 0x180051944
cmp byte [rsp + 0x59], 0
jne 0x180051944
or ebx, 0x200008
jmp 0x180051661
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180029c20
mov r8d, dword [rsp + 0x68]
test al, al
je 0x180051a0c
test r8b, r8b
jne 0x180051a0c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x18005199c
cmp byte [rsp + 0x52], r8b
je 0x1800519af
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x78]
or ebx, 0x200009
mov r8d, ebx
jmp 0x180051736
cmp byte [rbp - 0x60], 0
je 0x18005199c
mov r12, qword [rsp + 0x78]
cmp byte [r12 + 0xe17], 0
je 0x1800519a1
cmp byte [r12 + 0xe16], 0
jne 0x1800519a1
cmp byte [r12 + 0xe14], 0
jne 0x1800519a1
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.18004e790
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x180051736
test r15b, r15b
jne 0x180051f22
test r14b, r14b
jne 0x180051f22
test sil, sil
je 0x180051a7b
test dword [rbp + 0x1e8], 0x100000
je 0x180051a5c
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x180051a4a
xor r13b, r13b
mov dword [rsp + 0x54], r13d
mov byte [rsp + 0x50], r13b
mov byte [rsp + 0x58], 1
test eax, eax
setg r14b
mov byte [rbp - 0x80], r14b
mov r12, qword [rsp + 0x78]
jmp 0x180051fbb
mov r14b, 1
mov byte [rbp - 0x80], r14b
mov byte [rsp + 0x58], r14b
xor r15b, r15b
xor cl, cl
mov byte [rsp + 0x50], cl
mov r12, qword [rsp + 0x78]
jmp 0x180051fc5
movzx eax, byte [rbp - 0x64]
test al, al
jne 0x180051efa
test r12b, r12b
jne 0x180051efa
test r13b, r13b
je 0x180051ab8
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x78]
jmp 0x180051fb8
movzx r12d, byte [rsp + 0x59]
test r12b, r12b
jne 0x180051cea
cmp byte [rbp - 0x63], r12b
jne 0x180051cea
cmp byte [rsp + 0x70], r12b
je 0x180051681
mov rcx, qword [0x1800e5340]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x180051b0d
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x180051681
mov rcx, qword [0x1800e5340]
jmp 0x180051b14
lea rbx, [0x180083236]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180051b20
test rcx, rcx
je 0x180051b34
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 - 0x78], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x180051bae
mov rsi, rax
mov r15d, dword [rbp + 0x1e8]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.18001cc60
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x6c], r12d
je 0x180051baa
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rsp + 0x6c]
call fcn.18004fc60
test al, al
je 0x180051ba5
movzx eax, word [rsp + 0x6c]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x180051b60
mov r15, qword [rbp - 0x78]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180051cc0
mov ecx, dword [rdi + 0xc]
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x180051bf4
mov edx, eax
cmp eax, ecx
jle 0x180051bd9
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x180051be7
mov dword [rdi + 0x5c], ecx
mov r9d, ecx
mov r8d, r9d
mov eax, edx
cmp edx, r9d
jne 0x180051bf4
mov dword [rdi + 0x54], edx
mov r9d, dword [rdi + 0x54]
cmp r9d, ecx
jle 0x180051c03
mov dword [rdi + 0x54], ecx
mov r9d, ecx
mov ecx, dword [rdi + 0xc]
cmp eax, r8d
je 0x180051c34
mov edx, eax
cmp eax, ecx
jle 0x180051c16
mov dword [rdi + 0x58], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x180051c24
mov dword [rdi + 0x5c], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x180051c34
mov dword [rdi + 0x54], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180051c3c
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x180051c78
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x180051c60
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18004e610
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
jmp 0x180051c71
sub eax, r8d
mov r9d, eax
call fcn.18004e610
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.18004e140
test al, al
je 0x180051cb9
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.18004f750
test rax, rax
je 0x180051cb1
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x180051cd7
mov rax, qword [0x1800e5340]
test rax, rax
je 0x180051cd7
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 + 0x78]
jmp 0x180051fb8
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0xb8], 0
je 0x180051e42
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x180051d16
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r13d, r13d
jmp 0x180051d1f
xor r13d, r13d
mov r14d, r13d
mov esi, dword [rdi + 0xc]
mov rcx, qword [rdi + 0x20]
movsxd rax, esi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
test r8, r8
je 0x180051d4a
cmp rdx, r8
jae 0x180051d6d
movzx eax, word [rdx]
test ax, ax
je 0x180051d6d
add rdx, 2
cmp ax, r10w
jae 0x180051d60
inc ecx
jmp 0x180051d40
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180051d40
inc ecx
mov rax, qword [0x1800e5340]
test rax, rax
je 0x180051d81
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 [rdi + 0x20]
movsxd rcx, esi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x180051dfc
mov r13d, 0x80
test r11, r11
je 0x180051dc2
cmp r10, r11
jae 0x180051df9
movzx eax, word [r10]
test ax, ax
je 0x180051df9
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180051ddf
mov byte [r9], r8b
inc r9
jmp 0x180051df4
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001ce10
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180051db8
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x1800e5340]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x180051e27
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x1800e5340]
test r15, r15
je 0x180051e37
test rax, rax
je 0x180051e37
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180051e45
xor r13d, r13d
test r12b, r12b
je 0x180051681
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180051e67
mov dword [rdi + 0x58], r13d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
mov r8d, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, r8d
je 0x180051681
mov ecx, dword [rdi + 0xc]
cmp eax, ecx
jle 0x180051e8a
mov dword [rdi + 0x58], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180051e95
mov dword [rdi + 0x5c], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180051e9d
mov dword [rdi + 0x54], eax
cmp dword [rdi + 0x54], ecx
jle 0x180051ea5
mov dword [rdi + 0x54], ecx
cmp eax, r8d
je 0x180051eec
lea rdx, [rdi + 0x54]
mov rcx, rdi
jge 0x180051ed8
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18004e610
mov eax, dword [rdi + 0x58]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x78]
jmp 0x180051fb8
sub eax, r8d
mov r9d, eax
call fcn.18004e610
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x78]
jmp 0x180051fb8
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.18004e790
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180051670
mov edx, dword [rbp + 0x1e8]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x64]
mov r12, qword [rsp + 0x78]
test cl, cl
je 0x180051f4f
test r14b, r14b
jne 0x180051f4f
test al, al
je 0x180051f73
cmp byte [r12 + 0xe14], r14b
jne 0x180051f7e
mov byte [rsp + 0x60], 1
cmp byte [r12 + 0x7c], 0
je 0x180051fb3
test cl, cl
jne 0x180051fb3
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], cl
jmp 0x180051fb8
cmp byte [r12 + 0xe14], 0
jne 0x180051f4f
test r8b, r8b
jne 0x180051681
mov dword [rsp + 0x5c], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x5c]
call fcn.18004fc60
test al, al
je 0x180051681
mov r8d, dword [rsp + 0x5c]
jmp 0x180051736
mov byte [rsp + 0x58], 1
xor r14b, r14b
mov r15d, dword [rsp + 0x54]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180051fd5
test cl, cl
je 0x180051fd5
mov al, 1
jmp 0x180051fd7
xor al, al
or r15b, al
mov dword [rsp + 0x54], r15d
mov r13d, dword [rbp - 0x7c]
lea rcx, [0x180083236]
xor esi, esi
mov qword [rbp - 0x78], rsi
mov dword [rsp + 0x6c], esi
cmp dword [r12 + 0x3f00], r13d
jne 0x180052778
mov r15d, dword [rsp + 0x68]
test r15b, r15b
jne 0x1800522a5
test r14b, r14b
je 0x18005220b
test dword [rbp + 0x1e8], 0x100000
je 0x18005207f
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x6c], esi
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.18004f8a0
mov r9, rax
test rax, rax
je 0x180052065
test ebx, ebx
jle 0x180052065
mov edx, esi
mov rax, qword [rdi + 0x20]
movzx ecx, word [rax + rdx*2]
mov word [r9 + rdx*2], cx
inc rdx
cmp rdx, rbx
jl 0x180052050
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.18004e070
mov qword [rdi + 0x58], rsi
mov dword [rdi + 0x54], esi
jmp 0x18005220b
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x58]
mov r8, r9
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800520a3
inc rax
test ecx, ecx
jne 0x180052090
test edx, edx
je 0x18005220b
mov qword [rbp - 0x78], r9
mov r12d, dword [rdi + 0x38]
dec r12d
mov dword [rsp + 0x6c], r12d
mov qword [rbp + 0x70], rsi
mov r15d, esi
mov r13, rsi
mov qword [rbp + 0x78], rsi
test r12d, r12d
jle 0x1800521c5
movsxd rsi, r12d
add rsi, r9
mov rbx, r9
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x1800520ea
cmp rbx, rsi
jae 0x180052111
cmp byte [rbx], 0
je 0x180052111
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x180052111
inc r14d
jmp 0x1800520e0
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x180052155
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x180052155
mov rax, qword [0x1800e5340]
test rax, rax
je 0x18005213f
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 + 0x78], rax
mov dword [rbp + 0x74], ebx
mov dword [rbp + 0x70], r15d
movsxd r14, r12d
add r14, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x1800521b9
nop word [rax + rax]
test r14, r14
je 0x18005218a
cmp rbx, r14
jae 0x1800521b9
cmp byte [rbx], 0
je 0x1800521b9
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rbx, rcx
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x1800521b9
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x180052180
xor eax, eax
mov word [rsi], ax
mov r12d, dword [rsp + 0x6c]
xor esi, esi
lea r9d, [r15 - 1]
test r12d, r12d
cmovle r9d, esi
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.18004fba0
nop
test r13, r13
je 0x180052201
mov rax, qword [0x1800e5340]
test rax, rax
je 0x1800521f7
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 [rbp - 0x80]
mov r15d, dword [rsp + 0x68]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x180052244
test ecx, ecx
je 0x18005222f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180052234
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.180034460
mov dword [rdi + 0x28], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x1800522a1
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18005229c
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x180052281
mov byte [r9], r8b
inc r9
jmp 0x180052297
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001ce10
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180052264
mov r15d, dword [rsp + 0x68]
mov byte [r9], 0
test r14b, r14b
je 0x180052341
cmp byte [rsp + 0x60], 0
je 0x1800522c5
mov esi, dword [rbp + 0x1e8]
test sil, 0x20
jne 0x180052347
mov r12d, dword [rbp - 0x68]
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x78]
mov ecx, dword [rsp + 0x6c]
test rsi, rsi
je 0x180052768
test r12b, r12b
je 0x180052736
xor edx, edx
mov qword [rbp + 0x40], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov dword [rbp + 0x30], 0x40000
mov eax, dword [rbp + 0x1e8]
mov dword [rbp + 0x34], eax
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x50], ecx
lea eax, [rcx + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovle eax, ecx
mov dword [rbp + 0x54], eax
mov qword [rbp + 0x38], rdx
lea rcx, [rbp + 0x30]
call rdx
mov r14, qword [rbp + 0x48]
mov qword [rbp - 0x58], r14
mov edx, dword [rbp + 0x54]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x50], ecx
cmovl ecx, dword [rbp + 0x50]
jmp 0x18005273b
mov esi, dword [rbp + 0x1e8]
test esi, 0x801c0
je 0x1800526e7
xor r14d, r14d
mov ebx, r14d
lea r12d, [r14 + 1]
test sil, 0x40
je 0x180052381
mov r8d, r12d
xor edx, edx
mov ecx, 0x200
call fcn.180029c20
test al, al
je 0x180052381
lea eax, [r14 + 0x40]
mov ebx, 0x200
jmp 0x1800523ea
test sil, sil
jns 0x1800523cc
mov r8d, r12d
xor edx, edx
mov ecx, 0x203
call fcn.180029c20
test al, al
je 0x1800523a9
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
jmp 0x1800523f0
mov r8d, r12d
xor edx, edx
mov ecx, 0x204
call fcn.180029c20
test al, al
je 0x1800523cc
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
jmp 0x1800523f0
mov eax, 0x80000
test eax, esi
je 0x1800523dd
cmp byte [rdi + 0xe86], bl
jne 0x1800523ea
mov ecx, 0x100
test ecx, esi
mov eax, r14d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x1800526e7
mov dword [rbp + 8], r14d
mov qword [rbp + 0x21], r14
mov dword [rbp + 0x29], r14d
mov word [rbp + 0x2d], r14w
mov byte [rbp + 0x2f], r14b
mov dword [rbp - 8], eax
mov dword [rbp - 4], esi
mov qword [rbp], r14
test r15b, r15b
mov rax, qword [rbp - 0x58]
jne 0x180052424
mov rax, qword [rdi + 0x30]
mov dword [rbp + 0xc], ebx
mov qword [rbp + 0x10], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x1c], eax
mov byte [rbp + 0x20], r14b
mov rdx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r14d
mov r9d, 0x800
test r8, r8
je 0x18005245d
cmp rcx, r8
jae 0x180052480
movzx eax, word [rcx]
test ax, ax
je 0x180052480
add rcx, 2
cmp ax, r10w
jae 0x180052473
inc ebx
jmp 0x180052453
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180052453
mov dword [rbp + 0x24], ebx
movsxd rax, dword [rdi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r15d, r14d
test r8, r8
je 0x18005249b
cmp rcx, r8
jae 0x1800524c0
movzx eax, word [rcx]
test ax, ax
je 0x1800524c0
add rcx, 2
cmp ax, r10w
jae 0x1800524b2
inc r15d
jmp 0x180052491
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180052491
mov dword [rbp + 0x28], r15d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [rdx + rax*2]
mov r12d, r14d
nop
test rcx, rcx
je 0x1800524da
cmp rdx, rcx
jae 0x1800524ff
movzx eax, word [rdx]
test ax, ax
je 0x1800524ff
add rdx, 2
cmp ax, r10w
jae 0x1800524f1
inc r12d
jmp 0x1800524d0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x1800524d0
mov dword [rbp + 0x2c], r12d
lea rcx, [rbp - 8]
call r14
movzx r13d, byte [rbp + 0x20]
movsxd rcx, dword [rbp + 0x24]
cmp ecx, ebx
jne 0x18005251c
test r13b, r13b
je 0x180052566
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
test rsi, rsi
je 0x18005252e
cmp rbx, rsi
jae 0x180052555
cmp byte [rbx], 0
je 0x180052555
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x180052555
inc r14d
jmp 0x180052524
mov dword [rdi + 0x54], r14d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 0x24]
xor r14d, r14d
movsxd rax, dword [rbp + 0x28]
cmp eax, r15d
jne 0x180052574
test r13b, r13b
je 0x1800525be
cmp eax, ecx
jne 0x18005257e
mov r14d, dword [rdi + 0x54]
jmp 0x1800525ba
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rax]
test rsi, rsi
je 0x180052590
cmp rbx, rsi
jae 0x1800525b7
cmp byte [rbx], 0
je 0x1800525b7
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x1800525b7
inc r14d
jmp 0x180052586
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x58], r14d
movsxd rcx, dword [rbp + 0x2c]
cmp ecx, r12d
jne 0x1800525d0
test r13b, r13b
je 0x1800526ed
cmp ecx, eax
jne 0x180052623
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x1800526ed
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18004fe80
mov ebx, dword [rbp + 0x18]
mov eax, dword [rbp - 0x38]
mov r12d, dword [rbp - 0x68]
cmp ebx, eax
jle 0x18005267d
test r12b, r12b
je 0x18005267d
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x18005267a
test ecx, ecx
je 0x180052665
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005266a
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x18005263a
cmp rbx, rsi
jae 0x1800525d8
cmp byte [rbx], 0
je 0x1800525d8
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x1800525d8
inc r14d
jmp 0x180052630
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.1800344f0
mov dword [rdi + 0x18], ebx
mov rsi, qword [rbp + 0x10]
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rdi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x1800526c7
cmp byte [rsi], 0
je 0x1800526c7
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.18001cc60
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x1800526c7
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180052698
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x1800526f1
mov r12d, dword [rbp - 0x68]
jmp 0x1800526f6
mov r12d, dword [rbp - 0x68]
mov r15d, dword [rsp + 0x68]
mov r14, qword [rbp - 0x58]
test r15b, r15b
jne 0x1800522cd
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r14
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180052723
inc rax
test ecx, ecx
jne 0x180052710
test edx, edx
je 0x1800522cd
mov rsi, r9
mov ecx, dword [rdi + 0x10]
jmp 0x1800522d5
mov edx, 0x20
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x180052764
jbe 0x18005275e
lea r8, [rbx - 1]
mov rdx, rsi
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 [rbp - 0x61], 1
xor esi, esi
mov r13d, dword [rbp - 0x7c]
mov r15d, dword [rsp + 0x54]
mov r12, qword [rsp + 0x78]
cmp byte [rsp + 0x58], 0
je 0x18005278e
cmp dword [r12 + 0x3f00], r13d
jne 0x18005278e
call fcn.180020b20
mov r11d, dword [rsp + 0x64]
test r11b, r11b
jne 0x180052853
mov r8d, 1
mov edx, r13d
lea rcx, [rbp - 0x18]
call fcn.18001eac0
movss xmm9, dword [0x1800adccc]
movaps xmm1, xmm9
mov ecx, 7
call fcn.18001d190
mov r8d, eax
movss xmm0, dword [r12 + 0x3824]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x10]
movaps xmm0, xmm8
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.18001e830
movaps xmm15, xmm8
addss xmm15, xmm11
movss dword [rbp + 0x90], xmm15
movaps xmm14, xmm12
addss xmm14, xmm7
movss dword [rbp + 0x94], xmm14
movaps xmm0, xmm8
addss xmm0, dword [r12 + 0x381c]
movss dword [rbp - 0x78], xmm0
movaps xmm1, xmm12
addss xmm1, dword [r12 + 0x3820]
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x68], xmm15
movss dword [rsp + 0x6c], xmm14
mov r11d, dword [rsp + 0x64]
mov r8, qword [rbp - 0x48]
jmp 0x1800528a2
movaps xmm2, xmm11
addss xmm2, xmm8
movss dword [rbp - 0x68], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x90], xmm2
movaps xmm1, xmm7
addss xmm1, xmm12
movss dword [rsp + 0x6c], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x94], xmm1
mov r8, qword [rbp - 0x48]
movsd xmm0, qword [r8 + 0xf8]
movsd qword [rbp - 0x78], xmm0
movss xmm9, dword [0x1800adccc]
lea rax, [rbp - 0x78]
movss dword [rbp + 0x8c], xmm12
movss dword [rbp + 0x88], xmm8
movsd xmm0, qword [rax]
movsd qword [rbp + 0x68], xmm0
xorps xmm4, xmm4
movss dword [rbp - 0x38], xmm4
xorps xmm8, xmm8
movss dword [rsp + 0x5c], xmm8
cmp byte [rbp - 0x62], 0
je 0x1800528e4
mov r13, qword [rdi + 0x30]
mov qword [rbp - 0x58], r13
jmp 0x1800528e8
mov r13, qword [rbp - 0x58]
movzx eax, byte [rsp + 0x50]
test al, al
jne 0x180052ab7
test r15b, r15b
jne 0x180052ab7
test r11b, r11b
je 0x180052959
mov ecx, esi
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x180052927
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x180052912
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180052937
cmp al, 0xd
je 0x180052937
inc ecx
movss dword [rbp - 0x38], xmm11
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c00]
movss dword [rsp + 0x5c], xmm8
jmp 0x180052992
mov eax, dword [rbp - 0x7c]
cmp dword [r12 + 0x3f00], eax
jne 0x18005296c
movsxd rsi, dword [rdi + 0x10]
jmp 0x18005297d
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + r13], 0
jne 0x180052973
add rsi, r13
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x18005332b
movss xmm8, dword [0x1800adccc]
movaps xmm1, xmm8
xor ecx, ecx
call fcn.18001d190
mov r9d, eax
mov r8, qword [r8 + 0x290]
lea rdx, [rbp + 0x88]
test r11b, r11b
mov r15d, 0
cmovne rdx, r15
mov rcx, rsi
movss xmm2, dword [r12 + 0x3c00]
mov r10, qword [r12 + 0x3bf8]
test eax, 0xff000000
je 0x180053345
test rsi, rsi
jne 0x1800529fc
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], r15b
jne 0x1800529f0
add rcx, r13
cmp r13, rcx
je 0x180053345
test r10, r10
jne 0x180052a12
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm9, xmm9
ucomiss xmm2, xmm9
jp 0x180052a27
jne 0x180052a27
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm1
test rdx, rdx
je 0x180052a7d
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x180052a46
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x180052a5a
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x180052a6a
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x180052a7a
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x68]
mov rdx, r8
mov rcx, r10
call fcn.1800438d0
jmp 0x180053349
movsxd rsi, dword [rdi + 0x10]
add rsi, r13
mov r15, qword [rdi + 0x20]
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r10d, r10d
mov r9d, r10d
mov r14d, r10d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r10d
test al, al
je 0x180052af1
movsxd rax, dword [rdi + 0x54]
lea r9, [r15 + rax*2]
lea edx, [r10 + 1]
lea r8d, [r10 - 1]
mov r13d, dword [rsp + 0x54]
test r13b, r13b
je 0x180052b13
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea r14, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x180052b61
cmp cx, 0xa
jne 0x180052b55
inc r10d
cmp r8d, 0xffffffff
jne 0x180052b42
cmp rax, r9
jb 0x180052b42
mov r8d, r10d
dec edx
test edx, edx
jle 0x180052b61
cmp ebx, 0xffffffff
jne 0x180052b55
cmp rax, r14
jb 0x180052b55
mov ebx, r10d
dec edx
test edx, edx
jle 0x180052b61
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180052b25
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r10d
mov rdx, r9
cmp r9, r15
jbe 0x180052b92
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180052b92
mov rdx, rax
cmp rax, r15
ja 0x180052b80
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 0x180052c00
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180052bd7
maxss xmm1, xmm12
movaps xmm12, xmm4
jmp 0x180052bfb
cmp ecx, 0xd
je 0x180052bfb
cmp ecx, dword [r8]
jge 0x180052bec
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180052bf2
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x180052bc0
maxss xmm12, xmm1
movss xmm0, dword [r12 + 0x3c00]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test ebx, ebx
js 0x180052cb9
mov rdx, r14
cmp r14, r15
jbe 0x180052c42
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180052c42
mov rdx, rax
cmp rax, r15
ja 0x180052c30
movaps xmm3, xmm0
divss xmm3, dword [r8 + 0x14]
movaps xmm2, xmm4
movaps xmm6, xmm4
cmp rdx, r14
jae 0x180052ca0
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180052c75
maxss xmm2, xmm6
movaps xmm6, xmm4
jmp 0x180052c9b
cmp ecx, 0xd
je 0x180052c9b
cmp ecx, dword [r8]
jge 0x180052c8a
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180052c90
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm6, xmm0
cmp rdx, r14
jb 0x180052c60
movss xmm0, dword [r12 + 0x3c00]
movd xmm7, ebx
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
maxss xmm6, xmm2
mov r11d, dword [rsp + 0x64]
test r11b, r11b
je 0x180052cde
movss dword [rbp - 0x38], xmm11
movd xmm8, r10d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm0
movss dword [rsp + 0x5c], xmm8
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x180052e13
cmp byte [rdi + 0xe84], 0
je 0x180052e13
test dword [rbp + 0x1e8], 0x1000
jne 0x180052d58
movaps xmm0, xmm11
mulss xmm0, dword [0x1800adc80]
subss xmm11, dword [r12 + 0x381c]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x180052d38
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x180052d46
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x180052d5d
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x180052d5d
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x180052e0c
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x3c00]
movss xmm3, dword [rbp - 0x30]
comiss xmm10, xmm0
jbe 0x180052d8a
movaps xmm10, xmm4
maxss xmm10, xmm0
jmp 0x180052dbb
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm10
jb 0x180052dbb
movaps xmm10, xmm13
subss xmm10, xmm3
addss xmm10, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm4, xmm10
jbe 0x180052dd0
movaps xmm2, xmm4
jmp 0x180052de6
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm3
maxss xmm2, xmm4
minss xmm2, xmm10
mov rax, qword [rbp - 0x48]
movss xmm0, dword [rax + 0x80]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x6c]
addss xmm1, xmm0
movss dword [rbp + 0x6c], xmm1
movss dword [rax + 0x80], xmm2
mov byte [rdi + 0xe84], 0
movss xmm11, dword [rdi + 0x50]
test r13b, r13b
je 0x180053050
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r14, [r15 + rax*2]
test r8b, r8b
je 0x180052e4a
movaps xmm1, xmm9
jmp 0x180052e52
movss xmm1, dword [0x1800adc98]
mov ecx, 0x2f
call fcn.18001d190
mov r15d, eax
xorps xmm4, xmm4
test r11b, r11b
je 0x180052e72
movss dword [rbp - 0x2c], xmm4
xorps xmm10, xmm10
jmp 0x180052e7b
movss xmm10, dword [0x1800adcf8]
movss xmm9, dword [rbp + 0x68]
addss xmm6, xmm9
subss xmm6, xmm11
movss xmm8, dword [rbp + 0x6c]
addss xmm8, xmm7
subss xmm8, xmm4
cmp rbx, r14
jae 0x180053056
movss xmm7, dword [0x1800adc94]
nop dword [rax]
movss xmm2, dword [r12 + 0x3c00]
movaps xmm0, xmm14
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x180053049
movss xmm5, dword [rbp - 0x4c]
comiss xmm5, xmm8
jbe 0x180052efb
cmp rbx, r14
jae 0x18005302d
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005302d
cmp rbx, r14
jb 0x180052ee0
jmp 0x18005302d
mov rdx, qword [r12 + 0x3bf8]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, r14
jae 0x180052f51
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180052f47
cmp ecx, 0xd
je 0x180052f40
cmp ecx, dword [rdx]
jge 0x180052f33
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180052f38
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x180052f13
jmp 0x180052f51
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x180052f81
cmp dword [rdx], 0x20
jle 0x180052f6d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180052f72
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm8
addss xmm6, xmm4
movss xmm2, dword [rbp - 0x2c]
subss xmm2, dword [r12 + 0x3c00]
addss xmm2, xmm8
movss xmm3, dword [rbp - 0x3c]
maxss xmm6, xmm3
maxss xmm2, xmm5
movss dword [rbp + 0x70], xmm6
movss dword [rbp + 0x74], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp + 0x78], xmm1
movss dword [rbp + 0x7c], xmm0
comiss xmm0, xmm5
jbe 0x18005302d
comiss xmm14, xmm2
jbe 0x18005302d
comiss xmm1, xmm3
jbe 0x18005302d
comiss xmm15, xmm6
jbe 0x18005302d
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm4
mov r9d, r15d
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x70]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x290]
call fcn.18003f840
movss xmm0, dword [rbp - 0x68]
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0x6c], xmm0
movss xmm9, dword [rbp + 0x68]
xorps xmm4, xmm4
movaps xmm6, xmm9
subss xmm6, xmm11
addss xmm8, dword [r12 + 0x3c00]
cmp rbx, r14
jb 0x180052eb0
mov r11d, dword [rsp + 0x64]
jmp 0x180053056
movss xmm9, dword [rbp + 0x68]
mov r13, qword [rbp - 0x58]
test r11b, r11b
jne 0x180053071
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x1800531b1
movss xmm8, dword [0x1800adccc]
movaps xmm1, xmm8
xor ecx, ecx
call fcn.18001d190
mov r9d, eax
mov rbx, qword [rbp - 0x48]
mov r8, qword [rbx + 0x290]
mov rcx, rsi
subss xmm9, xmm11
movss dword [rbp - 0x78], xmm9
movss xmm0, dword [rbp + 0x6c]
xorps xmm4, xmm4
subss xmm0, xmm4
movss dword [rbp - 0x74], xmm0
movss xmm2, dword [r12 + 0x3c00]
mov r10, qword [r12 + 0x3bf8]
lea rdx, [rbp + 0x88]
test r11b, r11b
mov r15d, 0
cmovne rdx, r15
test eax, 0xff000000
je 0x1800531c1
test rsi, rsi
jne 0x1800530fc
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rcx + r13], r15b
jne 0x1800530f0
add rcx, r13
cmp r13, rcx
je 0x1800531c1
test r10, r10
jne 0x180053112
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x180053122
jne 0x180053122
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm1
test rdx, rdx
je 0x180053178
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x180053141
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x180053155
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x180053165
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x180053175
movss dword [rbp - 0xc], xmm0
test rdx, rdx
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 - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x78]
mov rdx, r8
mov rcx, r10
call fcn.1800438d0
xorps xmm4, xmm4
jmp 0x1800531c1
movss xmm8, dword [0x1800adccc]
mov rbx, qword [rbp - 0x48]
xor r15d, r15d
cmp byte [rsp + 0x50], 0
je 0x180053339
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x18005320e
comiss xmm4, xmm0
jae 0x18005320e
movss xmm1, dword [0x1800adcd4]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x1800adcb8]
comiss xmm1, xmm0
jae 0x18005320e
xor cl, cl
jmp 0x180053210
mov cl, 1
movss xmm0, dword [rbp + 0x68]
addss xmm0, xmm12
subss xmm0, xmm11
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x6c]
addss xmm0, xmm13
xorps xmm9, xmm9
subss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x70], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3c00]
addss xmm0, dword [0x1800adc94]
movss dword [rbp + 0x74], xmm0
movaps xmm2, xmm6
addss xmm2, xmm8
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x1800adcdc]
movss dword [rbp + 0x7c], xmm1
movss xmm12, dword [rbp - 0x4c]
test cl, cl
je 0x1800532e2
comiss xmm1, xmm12
jbe 0x1800532e2
movss xmm3, dword [rsp + 0x6c]
comiss xmm3, xmm0
jbe 0x1800532e2
comiss xmm2, dword [rbp - 0x3c]
jbe 0x1800532e2
movss xmm0, dword [rbp - 0x68]
comiss xmm0, xmm6
jbe 0x1800532e2
movss dword [rbp - 0x78], xmm6
movss dword [rbp - 0x74], xmm1
movaps xmm1, xmm8
xor ecx, ecx
call fcn.18001d190
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x290]
call fcn.18003f5d0
movss xmm13, dword [rbp - 0x40]
cmp byte [rsp + 0x68], 0
jne 0x180053349
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 0x180053349
movss xmm8, dword [0x1800adccc]
xor r15d, r15d
jmp 0x180053345
movss xmm12, dword [rbp - 0x4c]
movss xmm13, dword [rbp - 0x40]
xorps xmm9, xmm9
mov ebx, dword [rbp - 0x50]
test bl, bl
je 0x180053355
call fcn.180029190
cmp byte [rsp + 0x64], 0
je 0x1800533f5
movss xmm0, dword [rbp - 0x38]
movss dword [rbp - 0x78], xmm0
movss xmm0, dword [rsp + 0x5c]
addss xmm0, dword [r12 + 0x3820]
movss dword [rbp - 0x74], xmm0
lea rcx, [rbp - 0x78]
call fcn.18004b810
mov ebx, dword [r12 + 0x4720]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4720], eax
call fcn.180023f20
mov eax, dword [r12 + 0x4744]
and eax, 0x80
mov edi, dword [rbp + 0xa0]
or edi, eax
mov dword [r12 + 0x4720], ebx
call fcn.18002c340
mov ebx, dword [rbp - 0x50]
cmp dword [r12 + 0x473c], 0
jne 0x1800533f5
mov eax, dword [rbp - 0x7c]
mov dword [r12 + 0x473c], eax
mov eax, dword [rbp + 0x9c]
mov dword [r12 + 0x4740], eax
mov dword [r12 + 0x4744], edi
cmp byte [r12 + 0x5c08], 0
je 0x18005357b
test bl, bl
jne 0x18005357b
mov rdi, qword [0x1800e5340]
mov r14, qword [rdi + 0x3ea0]
mov qword [rdi + 0x5c30], r15
mov qword [rdi + 0x5c28], r15
test rsi, rsi
jne 0x180053453
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x180053453
movzx ecx, byte [rsi]
test cl, cl
je 0x180053453
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18005344a
cmp byte [rax], cl
je 0x180053453
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180053436
movss xmm0, dword [rdi + 0x3820]
addss xmm0, dword [rdi + 0x5c38]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x6c]
movss dword [rdi + 0x5c38], xmm1
comiss xmm1, xmm0
jbe 0x18005348d
lea rcx, [0x180085c58]
call fcn.180031a90
mov byte [rdi + 0x5c3c], 1
lea r8, [0x1800a95f9]
lea rdx, [0x1800a95f8]
lea rcx, [rbp + 0x68]
call fcn.180031ad0
mov eax, dword [r14 + 0x180]
mov ecx, dword [rdi + 0x5c40]
cmp ecx, eax
jle 0x1800534bd
mov dword [rdi + 0x5c40], eax
mov ecx, eax
mov r14d, dword [r14 + 0x180]
sub r14d, ecx
lea r15, [0x180083236]
mov r12d, 1
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
sub r8, r13
mov edx, 0xa
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r13, rbx
jne 0x180053507
cmp rbx, rsi
je 0x18005355f
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c3c], 0
lea edx, [r14*4]
jne 0x180053521
mov edx, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.180031a90
mov byte [rdi + 0x5c3c], 0
cmp byte [rbx], 0xa
jne 0x180053554
lea rcx, [0x180085c58]
call fcn.180031a90
mov byte [rdi + 0x5c3c], r12b
cmp rbx, rsi
je 0x18005355f
lea r13, [rbx + 1]
jmp 0x1800534e0
lea r8, [0x1800a95f1]
lea rdx, [0x1800a95f0]
lea rcx, [rbp + 0x68]
call fcn.180031ad0
mov r12, qword [rsp + 0x78]
movss xmm0, dword [rbp - 0x28]
comiss xmm0, xmm9
jbe 0x1800535b2
addss xmm13, dword [r12 + 0x3834]
addss xmm12, dword [r12 + 0x3820]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm13, xmm12
movq rcx, xmm13
call fcn.18001d600
movzx edx, byte [rbp - 0x61]
mov ecx, dword [rbp + 0x1e8]
test dl, dl
je 0x1800535dd
bt ecx, 0x1b
jb 0x1800535dd
mov rax, qword [0x1800e5340]
mov word [rax + 0x3f10], 0x101
or dword [rax + 0x4744], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x60]
cmovne eax, ecx
jmp 0x180050573