Function at 0x180047840
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 - 0x1a8]
sub rsp, 0x270
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 [0x180077010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov qword [rbp - 0x50], r8
mov r15, rcx
mov qword [rbp - 0x20], rcx
mov rbx, qword [0x180077ba8]
mov r12, rbx
mov qword [rsp + 0x60], rbx
mov rax, qword [rbx + 0x1c20]
mov byte [rax + 0x90], 1
mov rdi, qword [rbx + 0x1c20]
mov qword [rbp - 0x48], rdi
cmp byte [rdi + 0x93], 0
jne 0x180047e33
mov r14d, dword [rbp + 0x1d8]
mov dword [rsp + 0x6c], r14d
mov esi, r14d
shr esi, 0x1a
and sil, 1
mov dword [rsp + 0x58], esi
mov eax, r14d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x5c], eax
mov eax, r14d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x58], eax
mov eax, r14d
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x70], eax
mov eax, r14d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x78], eax
test sil, sil
je 0x18004794e
call fcn.180025580
mov rbx, qword [0x180077ba8]
movsxd rcx, dword [rdi + 0xc8]
mov rax, qword [rdi + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
mov rcx, r15
call fcn.180019150
mov r13d, eax
mov dword [rbp - 0x5c], eax
cmp dword [rbx + 0x1c6c], eax
jne 0x18004797f
mov dword [rbx + 0x1c70], eax
cmp dword [rbx + 0x1ca8], r13d
jne 0x18004798f
mov byte [rbx + 0x1cac], 1
cmp dword [rbx + 0x1c54], r13d
jne 0x1800479af
mov r8, r15
mov edx, 0xb
mov ecx, r13d
call fcn.18002c150
mov rbx, qword [0x180077ba8]
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x1800479d5
movzx edx, byte [rcx]
test dl, dl
je 0x1800479d5
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1800479cc
cmp byte [rax], dl
je 0x1800479d5
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1800479b8
movss xmm0, dword [rbx + 0x1990]
movss xmm1, dword [0x18006e6e0]
movss dword [rbp - 0x2c], xmm1
movss xmm10, dword [0x18006e6d0]
xorps xmm8, xmm8
cmp r15, rcx
jne 0x180047a01
xorps xmm7, xmm7
jmp 0x180047a45
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm10
movaps xmm2, xmm0
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x1988]
call fcn.18003bfa0
movss xmm0, dword [rbp - 0x70]
addss xmm0, dword [0x18006e604]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x6c]
movss dword [rbp - 0x28], xmm7
test sil, sil
je 0x180047a61
movss xmm0, dword [r12 + 0x1990]
mulss xmm0, dword [0x18006e650]
movss xmm6, dword [r12 + 0x15b0]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180025400
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1d0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.180025480
comiss xmm7, xmm8
jbe 0x180047aa6
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x15c4]
jmp 0x180047aa9
xorps xmm1, xmm1
movss xmm14, dword [rdi + 0xdc]
movss dword [rbp - 0x74], xmm14
movaps xmm0, xmm14
movss xmm7, dword [rbp - 0x6c]
movss dword [rbp - 0x24], xmm7
addss xmm0, xmm7
movss xmm11, dword [rdi + 0xd8]
movss dword [rbp - 0x38], xmm11
movaps xmm9, xmm11
movss xmm12, dword [rbp - 0x70]
addss xmm9, xmm12
movss dword [rbp - 0x34], xmm9
movss dword [rbp - 0x18], xmm11
movss dword [rbp - 0x14], xmm14
movss dword [rbp - 0x10], xmm9
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm14
addss xmm2, xmm7
addss xmm1, xmm12
addss xmm1, xmm11
movss dword [rbp + 0x70], xmm11
movss dword [rbp + 0x74], xmm14
movss dword [rbp + 0x78], xmm1
movss dword [rbp + 0x7c], xmm2
mov rbx, rdi
mov qword [rbp - 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
subss xmm2, xmm14
subss xmm1, xmm11
test sil, sil
je 0x180047ef9
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm2
movaps xmm1, xmm6
lea rcx, [rbp - 0x70]
call fcn.180025010
mov r9d, 0x100
lea r8, [rbp - 0x18]
mov edx, r13d
lea rcx, [rbp + 0x70]
call fcn.180025160
test al, al
je 0x180047e2e
mov r15d, dword [r12 + 0x1ce0]
movups xmm0, xmmword [r12 + 0x1cd8]
movups xmmword [rbp + 0x88], xmm0
movss dword [rdi + 0xd8], xmm11
movss dword [rdi + 0xdc], xmm14
mov rbx, qword [0x180077ba8]
mov dword [rbp + 0x70], 3
movups xmm0, xmmword [rbx + 0x1668]
movups xmmword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x1d88]
lea rdx, [rbp + 0x70]
call fcn.18002c9f0
movups xmm0, xmmword [r12 + 0x16a8]
movups xmmword [rbx + 0x1668], xmm0
movss xmm1, dword [r12 + 0x15b4]
mov ecx, 7
call fcn.1800199d0
movss xmm1, dword [r12 + 0x15b8]
mov ecx, 8
call fcn.1800199d0
mov rbx, qword [0x180077ba8]
lea rcx, [rbx + 0x1d98]
movss xmm1, dword [rbx + 0x1578]
movss xmm0, dword [rbx + 0x157c]
mov dword [rbp - 0x70], 2
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x68], xmm0
lea rdx, [rbp - 0x70]
call fcn.18002c900
xor r14d, r14d
mov qword [rbx + 0x1578], r14
movss xmm1, dword [rbp - 0xc]
movss xmm14, dword [rbp - 0x14]
movss dword [rbp - 0x74], xmm14
subss xmm1, xmm14
movss xmm6, dword [rbp - 0x10]
movss dword [rbp - 0x34], xmm6
movaps xmm0, xmm6
movss xmm11, dword [rbp - 0x18]
movss dword [rbp - 0x38], xmm11
subss xmm0, xmm11
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
mov dword [rsp + 0x20], 4
mov r9b, 1
lea r8, [rbp - 0x70]
mov edx, r13d
mov rcx, qword [rbp - 0x20]
call fcn.18001f550
movzx r11d, al
mov r8, qword [0x180077ba8]
movsxd rcx, dword [r8 + 0x1d98]
lea rdx, [rcx + rcx*2]
mov r9, qword [r8 + 0x1da0]
movsxd rcx, dword [r9 + rdx*4 - 0xc]
lea r10, [rcx + rcx*2]
lea rbx, [0x180055c90]
mov ecx, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x180047d1c
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x180047cfd
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1570], eax
jmp 0x180047d1c
cmp eax, 2
jne 0x180047d1c
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1570], eax
mov eax, dword [r9 + rdx*4 - 4]
mov dword [rcx + r8 + 0x1574], eax
movsxd rcx, dword [r8 + 0x1d98]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d98], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1da0]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
mov r9d, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x180047d85
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x180047d68
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x180047d85
cmp eax, 2
jne 0x180047d85
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1574], eax
movsxd rcx, dword [r8 + 0x1d98]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d98], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1da0]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
mov r9d, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x180047dee
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x180047dd1
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x180047dee
cmp eax, 2
jne 0x180047dee
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1574], eax
dec dword [r8 + 0x1d98]
movsxd rax, dword [r8 + 0x1d88]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d90]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x1638], xmm0
dec dword [r8 + 0x1d88]
test r11b, r11b
jne 0x180047e97
call fcn.18001f840
call fcn.1800256b0
xor al, al
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.180050ed0
lea r11, [rsp + 0x270]
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 [r12 + 0x1c20]
mov qword [rbp - 0x70], rbx
movsx ecx, word [rbx + 0x132]
mov eax, dword [rbx + 0x12c]
bts ecx, eax
mov word [rbx + 0x132], cx
movss xmm0, dword [rbx + 0xd8]
addss xmm0, dword [r12 + 0x15ac]
movss dword [rbx + 0xd8], xmm0
movss xmm1, dword [r12 + 0x15b0]
addss xmm1, dword [rbx + 0xdc]
movss dword [rbx + 0xdc], xmm1
subss xmm12, dword [rbx + 0x84]
jmp 0x180047f61
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x3c], xmm2
movaps xmm1, xmm6
lea rcx, [rbp - 0x40]
call fcn.180025010
bt r14d, 0x1c
jb 0x180047f56
mov r9d, 0x100
lea r8, [rbp - 0x18]
mov edx, r13d
lea rcx, [rbp + 0x70]
call fcn.180025160
test al, al
je 0x180047e33
movss xmm0, dword [rbp - 0x10]
movss dword [rbp - 0x34], xmm0
movss xmm14, dword [rbp - 0x14]
movss dword [rbp - 0x74], xmm14
movss xmm11, dword [rbp - 0x18]
movss dword [rbp - 0x38], xmm11
mov r15d, dword [r12 + 0x1ce0]
xor r14d, r14d
mov edx, r13d
lea rcx, [rbp - 0x18]
call fcn.18001b420
movzx edx, al
mov byte [rsp + 0x68], al
mov eax, 1
test dl, dl
je 0x180047f85
mov dword [r12 + 0x1fb0], eax
mov rdi, qword [0x180077ba8]
add rdi, 0x2130
cmp dword [rdi], r13d
cmovne rdi, r14
shr r15d, 8
and r15b, al
mov dword [rbp - 0x80], r15d
mov eax, dword [r12 + 0x1c6c]
cmp eax, r13d
je 0x180047fd6
cmp dword [r12 + 0x1e3c], r13d
je 0x180047fd1
cmp dword [r12 + 0x1e30], r13d
jne 0x180047fd6
cmp dword [r12 + 0x1e58], 2
jne 0x180047fd6
mov r13b, 1
jmp 0x180047fd9
xor r13b, r13b
mov byte [rsp + 0x51], r13b
test dl, dl
je 0x180047ff2
cmp byte [r12 + 0x420], 0
je 0x180047ff2
mov r14b, 1
jmp 0x180047ff5
xor r14b, r14b
mov byte [rsp + 0x53], r14b
test sil, sil
je 0x18004805c
test rdi, rdi
je 0x18004805c
test eax, eax
jne 0x18004805c
movsxd rcx, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180019150
mov ebx, eax
mov rcx, qword [0x180077ba8]
cmp dword [rcx + 0x1c54], eax
jne 0x18004804d
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002c150
cmp dword [r12 + 0x1ca8], ebx
jne 0x18004805c
mov sil, 1
jmp 0x18004806c
xor sil, sil
mov ecx, dword [rsp + 0x58]
test cl, cl
je 0x1800480df
test rdi, rdi
je 0x1800480df
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 0xc8]
mov rax, qword [rax + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180019150
mov ebx, eax
mov rcx, qword [0x180077ba8]
cmp dword [rcx + 0x1c54], eax
jne 0x1800480b5
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002c150
mov ecx, dword [rsp + 0x58]
cmp dword [r12 + 0x1c6c], ebx
jne 0x1800480df
mov bl, 1
mov byte [rsp + 0x50], bl
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x74], 0
mov rax, qword [rbp - 0x70]
movss xmm10, dword [rax + 0x60]
jmp 0x180048103
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x74], 0
xor bl, bl
mov byte [rsp + 0x50], bl
test cl, cl
je 0x1800480ff
mov rax, qword [rbp - 0x70]
movss xmm10, dword [rax + 0x60]
jmp 0x180048103
mov byte [rsp + 0x50], bl
test rdi, rdi
je 0x180048117
movzx eax, cl
xor al, 1
cmp byte [rdi + 0x63], al
je 0x180048117
mov r12b, 1
jmp 0x18004811a
xor r12b, r12b
test r14b, r14b
jne 0x180048142
test sil, sil
jne 0x180048142
test r13b, r13b
jne 0x180048142
test r15b, r15b
jne 0x180048142
test bl, bl
jne 0x180048145
mov byte [rsp + 0x54], r13b
mov rax, qword [rsp + 0x60]
mov r14d, dword [rbp - 0x5c]
jmp 0x18004815c
mov r13b, 1
mov byte [rsp + 0x54], 1
mov rax, qword [rsp + 0x60]
mov r14d, dword [rbp - 0x5c]
cmp dword [rax + 0x1c6c], r14d
jne 0x180048165
test r12b, r12b
je 0x180048374
lea rdi, [rax + 0x2130]
mov dword [rdi + 0xe78], 0xbe99999a
mov rax, 0xffffffffffffffff
mov r14, qword [rbp - 0x50]
lea rax, [rax + 1]
cmp byte [r14 + rax], 0
jne 0x180048181
lea ebx, [rax + 1]
mov ecx, dword [rdi + 0x34]
cmp ebx, ecx
jle 0x1800481ba
test ecx, ecx
je 0x1800481a5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800481aa
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x30]
call fcn.18002d160
mov dword [rdi + 0x30], ebx
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x21
jge 0x1800481fb
test ecx, ecx
je 0x1800481e3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800481e8
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.18002d1f0
mov dword [rdi + 0x10], 0x21
mov ecx, dword [rdi + 0x24]
test ecx, ecx
jns 0x180048224
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 + 0x20]
call fcn.18002d160
xor r8d, r8d
mov dword [rdi + 0x20], r8d
mov byte [rdi + 0x40], r8b
mov rsi, r14
mov r15, qword [rdi + 0x18]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x180048272
cmp byte [rsi], 0
je 0x18004826f
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180019470
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x18004826f
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180048242
xor r8d, r8d
mov word [rbx], r8w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
sub esi, dword [rbp - 0x50]
mov dword [rdi + 8], esi
mov r14d, dword [rbp - 0x5c]
cmp dword [rdi], r14d
jne 0x1800482bd
test r12b, r12b
jne 0x1800482bd
mov dl, 1
mov ecx, ebx
cmp dword [rdi + 0x4c], ebx
cmovl ecx, dword [rdi + 0x4c]
mov dword [rdi + 0x4c], ecx
mov ecx, ebx
cmp dword [rdi + 0x50], ebx
cmovl ecx, dword [rdi + 0x50]
mov dword [rdi + 0x50], ecx
cmp dword [rdi + 0x54], ebx
cmovl ebx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ebx
mov ecx, dword [rsp + 0x58]
jmp 0x18004830d
xor dl, dl
mov dword [rdi], r14d
mov qword [rdi + 0x48], 0
mov dword [rdi + 0xe6a], 0x630000
mov dword [rdi + 0xe70], r8d
mov dword [rdi + 0xe74], 0x3e7
mov qword [rdi + 0x50], 0
mov word [rdi + 0x61], 1
mov dword [rdi + 0x68], r8d
mov byte [rdi + 0x60], dl
mov ecx, dword [rsp + 0x58]
movzx eax, cl
xor al, 1
mov byte [rdi + 0x63], al
mov byte [rdi + 0x58], dl
mov dword [rdi + 0x5c], r8d
mov esi, dword [rsp + 0x6c]
test cl, cl
jne 0x180048363
test sil, 0x10
mov eax, dword [rsp + 0x74]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x60]
cmp byte [rsp + 0x51], 0
je 0x180048349
test dl, dl
je 0x180048345
test byte [rax + 0x1e40], 4
jne 0x180048349
mov byte [rsp + 0x74], cl
cmp byte [rbp - 0x80], 0
jne 0x18004835f
cmp byte [rsp + 0x53], 0
je 0x180048363
cmp byte [rax + 0x140], 0
je 0x180048363
mov byte [rsp + 0x74], cl
movzx ebx, byte [rsp + 0x50]
bt esi, 0xd
jae 0x180048378
mov byte [rdi + 0x58], 1
jmp 0x180048378
mov esi, dword [rsp + 0x6c]
mov r15, qword [rsp + 0x60]
cmp dword [r15 + 0x1c6c], r14d
je 0x18004841b
test r13b, r13b
je 0x180048412
mov rdx, qword [rbp - 0x48]
mov ecx, r14d
call fcn.18001b2a0
call fcn.180026e60
mov rcx, rdx
call fcn.180024710
mov eax, dword [r15 + 0x1c80]
or eax, 3
mov dword [r15 + 0x1c80], eax
mov ecx, dword [rsp + 0x58]
test cl, cl
jne 0x1800483ca
test sil, sil
jns 0x1800483d4
or eax, 0xc
mov dword [r15 + 0x1c80], eax
or dword [r15 + 0x1c84], 2
mov rax, qword [r15 + 0x1c88]
or rax, 0x180
mov qword [r15 + 0x1c88], rax
test cl, cl
je 0x1800483ff
or rax, 0x60
mov qword [r15 + 0x1c88], rax
test esi, 0x440
je 0x180048412
or rax, 1
mov qword [r15 + 0x1c88], rax
cmp dword [r15 + 0x1c6c], r14d
jne 0x180048488
test rdi, rdi
jne 0x180048488
mov rdx, qword [0x180077ba8]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
xor esi, esi
test ecx, ecx
je 0x180048455
mov dword [rdx + 0x1c74], esi
mov word [rdx + 0x1c7b], si
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], esi
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], rsi
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], rsi
jmp 0x18004848a
xor esi, esi
cmp dword [r15 + 0x1c6c], r14d
jne 0x1800484b2
cmp byte [r15 + 0x420], 0
je 0x1800484bb
cmp byte [rsp + 0x54], 0
jne 0x1800484bb
test r13b, r13b
jne 0x1800484bb
mov byte [rsp + 0x52], 1
mov cl, 1
jmp 0x1800484c1
test rdi, rdi
je 0x1800484bf
test bl, bl
je 0x1800484bf
mov cl, 1
jmp 0x1800484c1
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x74]
test rdi, rdi
je 0x1800484e4
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x1800484dc
test r13b, r13b
je 0x1800484e4
test cl, cl
je 0x1800484e4
mov dl, 1
jmp 0x1800484e6
xor dl, dl
mov dword [rsp + 0x74], edx
movzx r12d, dl
mov byte [rsp + 0x78], 0
mov byte [rsp + 0x53], 0
mov eax, dword [rsp + 0x5c]
test al, al
je 0x1800485ec
test rdi, rdi
je 0x1800485ec
test cl, cl
jne 0x180048519
test dl, dl
je 0x1800485f4
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x21
jge 0x180048548
test ecx, ecx
je 0x180048530
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180048535
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.18002d1f0
mov dword [rdi + 0x10], 0x21
mov rax, qword [rbp - 0x50]
mov rsi, rax
mov r15, qword [rdi + 0x18]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x180048597
cmp byte [rsi], 0
je 0x180048593
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180019470
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x180048593
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180048566
mov rax, qword [rbp - 0x50]
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
sub esi, eax
mov dword [rdi + 8], esi
mov ecx, ebx
cmp dword [rdi + 0x4c], ebx
cmovl ecx, dword [rdi + 0x4c]
mov dword [rdi + 0x4c], ecx
mov ecx, ebx
cmp dword [rdi + 0x50], ebx
cmovl ecx, dword [rdi + 0x50]
mov dword [rdi + 0x50], ecx
cmp dword [rdi + 0x54], ebx
cmovl ebx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ebx
xor esi, esi
mov edx, esi
cmp ecx, ebx
cmovne edx, r12d
mov dword [rsp + 0x74], edx
mov r15, qword [rsp + 0x60]
movzx ecx, byte [rsp + 0x50]
mov r14d, dword [rbp - 0x5c]
mov eax, dword [rsp + 0x5c]
test cl, cl
jne 0x1800485fd
test dl, dl
jne 0x1800485fd
cmp dword [r15 + 0x1c6c], r14d
jne 0x18004860f
test al, al
jne 0x18004860f
test rdi, rdi
je 0x18004860f
cmp byte [rdi + 0x40], al
mov byte [rbp - 0x60], 1
jne 0x180048613
mov byte [rbp - 0x60], 0
cmp byte [rbp - 0x58], 0
je 0x1800486a7
mov rdx, qword [r15 + 0x1988]
cmp dword [rdx + 0x18], 0x2a
ja 0x180048630
mov r8, qword [rdx + 0x38]
jmp 0x180048654
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180048648
mov r8, qword [rdx + 0x38]
jmp 0x180048654
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r15 + 0x2fb8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r15 + 0x1988]
mov edx, dword [rax + 0x5c]
mov dword [rcx + 0x5c], edx
mov rax, qword [r15 + 0x1988]
mov edx, dword [rax + 0x60]
mov dword [rcx + 0x60], edx
mov rax, qword [r15 + 0x1988]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r15 + 0x1988]
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.180024a10
mov dword [rbp - 0x40], esi
mov ebx, 0x20000c
movss xmm0, dword [0x18006e5bc]
cmp dword [r15 + 0x1c6c], r14d
jne 0x180048c5e
mov eax, dword [rdi + 8]
mov dword [rbp - 0x40], eax
mov byte [rdi + 0xe7e], 0
mov dword [rdi + 0x44], 0x20
mov ecx, dword [rsp + 0x6c]
mov dword [rdi + 0xe80], ecx
movzx edx, byte [r15 + 0x130]
test dl, dl
sete al
mov byte [r15 + 0x1c79], al
mov eax, 1
mov dword [r15 + 0x33a4], eax
movss xmm1, dword [r15 + 0x128]
subss xmm1, xmm11
subss xmm1, dword [r15 + 0x15ac]
addss xmm1, dword [rdi + 0x48]
mov r12d, dword [rsp + 0x58]
test r12b, r12b
je 0x18004873f
movss xmm2, dword [r15 + 0x12c]
mov rax, qword [rbp - 0x70]
subss xmm2, dword [rax + 0xdc]
jmp 0x18004874c
movss xmm2, dword [r15 + 0x1990]
mulss xmm2, xmm0
movzx r14d, byte [r15 + 0xc9]
mov byte [rsp + 0x54], r14b
test r13b, r13b
je 0x18004877d
mov dword [rdi + 0x50], esi
mov eax, dword [rdi + 4]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0x62], 0
lea rax, [rdi + 0xe7d]
mov byte [rax], 1
jmp 0x180048aa7
movzx eax, byte [rsp + 0x68]
test al, al
je 0x1800489f7
cmp word [r15 + 0x42a], 2
jb 0x1800489f7
cmp byte [r15 + 0x141], 0
jne 0x1800489f7
lea rsi, [rdi + 0x4c]
cmp byte [rsi + 0x17], 0
je 0x1800487b5
movaps xmm2, xmm8
mov rcx, rdi
call fcn.180045d60
movsxd rdx, eax
mov dword [rsi], edx
mov dword [rsi + 4], edx
mov dword [rsi + 8], edx
mov byte [rsi + 0x16], 0
movzx ecx, word [r15 + 0x42a]
sub ecx, 2
test cl, 1
jne 0x180048962
test eax, eax
je 0x1800487f9
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rdi + 0x18]
cmp word [rax + rcx*2], 0xa
je 0x1800487f9
xor cl, cl
jmp 0x1800487fb
mov cl, 1
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180048807
test cl, cl
jne 0x180048828
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov edx, dword [rsi]
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180048844
mov eax, dword [rsi + 8]
cmp dword [rsi + 4], eax
jne 0x180048840
mov dword [rsi + 8], edx
mov dword [rsi + 4], edx
jmp 0x180048844
mov dword [rsi], eax
mov edx, eax
lea r9d, [rdx + 1]
movsxd r10, dword [rdi + 4]
cmp r9d, r10d
jge 0x18004890f
movsxd rdx, r9d
mov r11d, dword [rdi + 0xe80]
and r11d, 0x8000
xor esi, esi
movabs r13, 0x800130100002600
mov r12d, 0x3000
movabs r15, 0x700000005
lea r14d, [rsi + 1]
test r11d, r11d
jne 0x1800488f2
test rdx, rdx
jle 0x1800488fd
mov r8, qword [rdi + 0x18]
movzx ecx, word [r8 + rdx*2 - 2]
cmp ecx, 0x3b
ja 0x1800488a5
bt r13, rcx
jb 0x1800488ec
cmp cx, r12w
je 0x1800488ec
sub cx, 0x5b
cmp cx, 0x22
ja 0x1800488be
movzx eax, cx
bt r15, rax
jb 0x1800488ec
movzx ecx, word [r8 + rdx*2]
cmp ecx, 0x3b
ja 0x1800488ce
bt r13, rcx
jb 0x1800488e7
cmp cx, r12w
je 0x1800488e7
sub cx, 0x5b
cmp cx, 0x22
ja 0x1800488ec
movzx eax, cx
bt r15, rax
jae 0x1800488ec
mov eax, r14d
jmp 0x1800488ee
mov eax, esi
test eax, eax
jne 0x1800488fd
inc r9d
inc rdx
cmp rdx, r10
jl 0x180048886
lea rsi, [rdi + 0x4c]
movzx r14d, byte [rsp + 0x54]
mov r15, qword [rsp + 0x60]
cmp r9d, r10d
cmovg r9d, r10d
mov dword [rsi], r9d
mov dword [rdi + 0x54], r9d
mov ecx, dword [rsi + 8]
mov eax, dword [rsi + 4]
cmp eax, ecx
je 0x180048948
cmp eax, r10d
jle 0x180048930
mov dword [rsi + 4], r10d
mov eax, r10d
cmp ecx, r10d
jle 0x18004893f
mov dword [rsi + 8], r10d
mov ecx, r10d
mov r9d, dword [rsi]
cmp eax, ecx
jne 0x180048948
mov dword [rsi], eax
mov r9d, eax
cmp r9d, r10d
jle 0x1800489e9
mov dword [rsi], r10d
lea rax, [rdi + 0xe7d]
xor esi, esi
jmp 0x180048a9d
mov rcx, qword [rdi + 0x18]
movzx ebx, word [rcx + rdx*2]
mov r8d, 0x200004
mov rdx, rsi
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, 0x600005
mov rdx, rsi
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, 0x600001
mov rdx, rsi
mov rcx, rdi
call fcn.180046250
mov dword [rdi + 0xe78], 0xbe99999a
cmp bx, 0xa
je 0x1800489e2
test r12b, r12b
je 0x1800489e2
mov ecx, dword [rdi + 0x50]
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x54], ecx
mov dword [rsi], ecx
mov byte [rdi + 0xe7c], 0
lea rax, [rdi + 0xe7d]
xor esi, esi
jmp 0x180048a9d
lea rbx, [rdi + 0xe7d]
movzx ecx, byte [rbx]
cmp byte [r15 + 0x420], 0
je 0x180048a40
test cl, cl
jne 0x180048a40
test al, al
je 0x180048a3b
cmp byte [rdi + 0x63], cl
je 0x180048a1c
movaps xmm2, xmm8
mov rcx, rdi
call fcn.180045d60
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x62], 0
mov dword [rdi + 0xe78], 0xbe99999a
mov rax, rbx
jmp 0x180048aa7
mov rax, rbx
test dl, dl
je 0x180048aa7
test cl, cl
jne 0x180048aa7
movss xmm0, dword [r15 + 0x3b4]
ucomiss xmm0, xmm8
jp 0x180048a6d
jne 0x180048a6d
movss xmm0, dword [r15 + 0x3b8]
ucomiss xmm0, xmm8
jp 0x180048a6d
je 0x180048aa7
cmp byte [rdi + 0x63], 0
je 0x180048a77
movaps xmm2, xmm8
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180048a85
mov eax, dword [rdi + 0x4c]
mov dword [rdi + 0x50], eax
mov rcx, rdi
call fcn.180045d60
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0xe7c], 1
mov rax, rbx
mov dword [rdi + 0xe78], 0xbe99999a
cmp byte [rax], 0
je 0x180048ab9
cmp byte [r15 + 0x130], 0
jne 0x180048ab9
mov byte [rax], 0
cmp byte [r15 + 0x140], 0
je 0x180048acd
cmp byte [r15 + 0x142], 0
je 0x180048adc
test r14b, r14b
je 0x180048ae0
cmp byte [r15 + 0x143], 0
je 0x180048ae0
mov bl, 1
jmp 0x180048ae2
xor bl, bl
mov r8d, dword [rsp + 0x6c]
bt r8d, 0xa
jae 0x180048b98
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180048b98
call fcn.18001f490
test al, al
mov eax, dword [rsp + 0x5c]
je 0x180048b9c
test bl, bl
jne 0x180048b9c
cmp byte [r15 + 0x141], bl
jne 0x180048b9c
test al, al
jne 0x180048b9c
mov rcx, qword [r15 + 0x1568]
movsxd rax, dword [r15 + 0x1560]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x180048b53
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x180048b98
cmp rcx, rdx
jb 0x180048b41
mov dword [rbp - 0x80], 9
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rbp - 0x80]
call fcn.180047640
test al, al
je 0x180048b93
lea rdx, [rdi + 0x4c]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x5c]
cmp dword [r15 + 0x1560], 0
jle 0x180048c5a
test bl, bl
jne 0x180048c2a
test al, al
jne 0x180048c2a
cmp byte [rsp + 0x51], al
jne 0x180048c2a
xor eax, eax
mov ebx, eax
mov rax, qword [r15 + 0x1568]
movzx ecx, word [rax + rbx]
mov dword [rbp - 0x80], ecx
cmp ecx, 9
jne 0x180048bdd
cmp byte [r15 + 0x141], 0
jne 0x180048c16
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rbp - 0x80]
call fcn.180047640
test al, al
je 0x180048c16
lea rdx, [rdi + 0x4c]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r15 + 0x1560]
mov r8d, dword [rsp + 0x6c]
jl 0x180048bc0
mov ecx, dword [r15 + 0x1564]
xor esi, esi
test ecx, ecx
jns 0x180048c53
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, esi
test eax, eax
cmovg edx, eax
lea rcx, [r15 + 0x1560]
call fcn.18002d1f0
mov dword [r15 + 0x1560], esi
mov r14d, dword [rbp - 0x5c]
xor cl, cl
cmp dword [r15 + 0x1c6c], r14d
jne 0x18004990f
cmp byte [r15 + 0x1c78], cl
jne 0x18004990f
cmp byte [rsp + 0x52], cl
jne 0x18004990f
movaps xmm0, xmm7
subss xmm0, dword [r15 + 0x15b0]
divss xmm0, dword [r15 + 0x1990]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rbp - 0x80], ecx
mov dword [rdi + 0x5c], ecx
movzx eax, byte [r15 + 0x141]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx eax, byte [r15 + 0xc9]
test al, al
je 0x180048cdd
mov r8d, dword [r15 + 0x3c0]
cmp r8d, 0xa
jne 0x180048cdd
mov r9b, 1
jmp 0x180048ceb
mov r8d, dword [r15 + 0x3c0]
xor r9b, r9b
test al, al
je 0x180048d15
movzx r12d, byte [r15 + 0x142]
cmp byte [r15 + 0x143], 0
je 0x180048d1d
cmp byte [r15 + 0x140], 0
jne 0x180048d1d
test r12b, r12b
jne 0x180048d1d
mov r15b, 1
cmp r8d, 8
jmp 0x180048d2e
movzx r12d, byte [r15 + 0x140]
xor r15b, r15b
test al, al
je 0x180048d2a
cmp r8d, 8
jmp 0x180048d2e
cmp r8d, 1
sete r10b
mov byte [rsp + 0x54], r10b
test r10b, r10b
je 0x180048d56
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x88]
test ecx, ecx
js 0x180048d56
call fcn.18001f490
test al, al
jne 0x180048d73
cmp r8d, 2
jne 0x180048d9e
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x180048d9e
call fcn.18001f490
test al, al
je 0x180048d9e
mov esi, dword [rsp + 0x5c]
mov r14d, dword [rbp - 0x58]
mov r11d, dword [rsp + 0x58]
test sil, sil
jne 0x180048dab
test r14b, r14b
jne 0x180048dab
test r11b, r11b
je 0x180048d97
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x180048dab
mov byte [rsp + 0x51], 1
jmp 0x180048db0
mov r11d, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
mov r14d, dword [rbp - 0x58]
mov byte [rsp + 0x51], 0
test r10b, r10b
je 0x180048dcf
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x80]
test ecx, ecx
js 0x180048dcf
call fcn.18001f490
test al, al
jne 0x180048dec
cmp r8d, 1
jne 0x180048e05
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180048e05
call fcn.18001f490
test al, al
je 0x180048e05
test r14b, r14b
jne 0x180048e05
test r11b, r11b
je 0x180048dfe
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x180048e05
mov byte [rsp + 0x68], 1
jmp 0x180048e0a
mov byte [rsp + 0x68], 0
test r10b, r10b
je 0x180048e29
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x84]
test ecx, ecx
js 0x180048e29
call fcn.18001f490
test al, al
jne 0x180048e46
cmp r8d, 2
jne 0x180048e50
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180048e50
call fcn.18001f490
test al, al
je 0x180048e50
test sil, sil
jne 0x180048e50
mov r13b, 1
jmp 0x180048e53
xor r13b, r13b
test r10b, r10b
je 0x180048e86
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x180048e86
call fcn.18001f490
mov r8d, dword [rsp + 0x70]
test al, al
je 0x180048e8b
test sil, sil
jne 0x180048e8b
test r8b, r8b
je 0x180048e8b
mov r14b, 1
jmp 0x180048e93
mov r8d, dword [rsp + 0x70]
xor r14b, r14b
test r10b, r10b
je 0x180048ead
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x8c]
test ecx, ecx
js 0x180048ead
call fcn.18001f490
test al, al
jne 0x180048ecc
test r9b, r9b
je 0x180048edb
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x180048edb
call fcn.18001f490
test al, al
je 0x180048edb
test sil, sil
jne 0x180048edb
test r8b, r8b
je 0x180048edb
mov sil, 1
jmp 0x180048ede
xor sil, sil
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x70]
test ecx, ecx
js 0x180048ef5
call fcn.18001f490
test al, al
jne 0x180048f0c
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x78]
test ecx, ecx
js 0x180048f11
call fcn.18001f490
test al, al
je 0x180048f11
mov r11b, 1
jmp 0x180048f14
xor r11b, r11b
mov r9d, 1
mov edx, r9d
xor ecx, ecx
call fcn.180027f70
comiss xmm0, xmm8
jbe 0x180048f41
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x6c]
test ecx, ecx
js 0x180048f59
call fcn.18001f490
test al, al
je 0x180048f59
mov edx, r9d
mov ecx, 2
call fcn.180027f70
comiss xmm0, xmm8
ja 0x180048f59
xor r10b, r10b
jmp 0x180048f5d
movzx r10d, r9b
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x180048f74
call fcn.18001f490
test al, al
jne 0x180048f88
mov edx, r9d
mov ecx, r9d
call fcn.180027f70
comiss xmm0, xmm8
ja 0x180048f88
xor r9b, r9b
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x40]
test ecx, ecx
js 0x180048fd1
call fcn.18001f490
test al, al
je 0x180048fd1
test r15b, r15b
je 0x180048fab
mov eax, 0x200004
jmp 0x180048fbb
mov eax, 0x200000
test r12b, r12b
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
jmp 0x1800498d4
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x44]
test ecx, ecx
js 0x18004902e
call fcn.18001f490
test al, al
je 0x18004902e
test r15b, r15b
je 0x180049008
mov ecx, 0x200005
or ebx, ecx
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
jmp 0x1800498d4
mov ecx, 0x200001
mov eax, 0x20000d
test r12b, r12b
cmovne ecx, eax
or ebx, ecx
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
jmp 0x1800498d4
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x1800490a8
call fcn.18001f490
test al, al
je 0x1800490a8
cmp byte [rsp + 0x58], 0
je 0x1800490a8
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x140], 0
je 0x180049088
mov rdx, qword [rbp - 0x70]
movss xmm0, dword [rdx + 0x60]
mov r15, rax
subss xmm0, dword [rax + 0x1990]
maxss xmm0, xmm8
movss dword [rdx + 0x70], xmm0
xor eax, eax
mov dword [rdx + 0x78], eax
mov dword [rdx + 0x80], eax
jmp 0x1800498ea
movzx eax, r15b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
jmp 0x1800498d4
mov r8, qword [0x180077ba8]
mov ecx, dword [r8 + 0x4c]
test ecx, ecx
js 0x18004912d
call fcn.18001f490
test al, al
je 0x18004912d
cmp byte [rsp + 0x58], 0
je 0x18004912d
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x140], 0
je 0x18004910d
mov rax, qword [r8 + 0x1c20]
mov rcx, qword [rbp - 0x70]
movss xmm0, dword [rcx + 0x60]
mov r15, qword [rsp + 0x60]
addss xmm0, dword [r15 + 0x1990]
minss xmm0, dword [rax + 0x68]
movss dword [rcx + 0x70], xmm0
xor eax, eax
mov dword [rcx + 0x78], eax
mov dword [rcx + 0x80], eax
jmp 0x1800498ea
movzx eax, r15b
lea r8d, [rax*4 + 0x200003]
or r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
jmp 0x1800498d4
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x50]
test ecx, ecx
js 0x180049194
call fcn.18001f490
mov r15d, dword [rsp + 0x58]
test al, al
je 0x180049199
test r15b, r15b
je 0x180049199
or ebx, 0x20000e
lea rdx, [rdi + 0x4c]
mov r8d, ebx
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r15, qword [rsp + 0x60]
mulss xmm0, dword [r15 + 0x1990]
subss xmm10, xmm0
jmp 0x1800498ea
mov r15d, dword [rsp + 0x58]
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x54]
test ecx, ecx
js 0x1800491fb
call fcn.18001f490
test al, al
je 0x1800491fb
test r15b, r15b
je 0x1800491fb
or ebx, 0x20000f
lea rdx, [rdi + 0x4c]
mov r8d, ebx
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r15, qword [rsp + 0x60]
mulss xmm0, dword [r15 + 0x1990]
addss xmm10, xmm0
jmp 0x1800498ea
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x58]
test ecx, ecx
js 0x180049254
call fcn.18001f490
test al, al
je 0x180049254
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r15, qword [rsp + 0x60]
cmp byte [r15 + 0x140], 0
cmovne ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
jmp 0x1800498ea
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x5c]
test ecx, ecx
js 0x18004928e
call fcn.18001f490
test al, al
je 0x18004928e
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r15, qword [rsp + 0x60]
cmp byte [r15 + 0x140], 0
cmovne r8d, eax
jmp 0x180049232
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x1800492d1
call fcn.18001f490
movzx r8d, byte [rsp + 0x51]
test al, al
je 0x1800492d7
cmp byte [rsp + 0x5c], 0
jne 0x1800492d7
test r8b, r8b
jne 0x1800492d7
or ebx, 0x200008
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
jmp 0x1800498d4
movzx r8d, byte [rsp + 0x51]
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x68]
test ecx, ecx
js 0x18004939c
call fcn.18001f490
test al, al
je 0x18004939c
cmp byte [rsp + 0x5c], 0
jne 0x18004939c
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180049331
test r12b, r12b
je 0x180049341
lea rdx, [rdi + 0x4c]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r15, qword [rsp + 0x60]
or ebx, 0x200009
jmp 0x18004922f
mov r15, qword [rsp + 0x60]
cmp byte [r15 + 0xc9], 0
je 0x180049336
cmp byte [r15 + 0x143], 0
je 0x180049336
cmp byte [r15 + 0x142], 0
jne 0x180049336
cmp byte [r15 + 0x140], 0
jne 0x180049336
lea rdx, [rdi + 0x4c]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180046250
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
or ebx, 0x200009
jmp 0x18004922f
test r11b, r11b
je 0x18004940d
mov edx, dword [rsp + 0x6c]
mov eax, edx
shr eax, 0xb
and al, 1
test r15b, r15b
mov r15, qword [rsp + 0x60]
je 0x1800493c6
movzx ecx, byte [r15 + 0x140]
test al, al
je 0x1800493d5
test cl, cl
jne 0x1800493d9
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x53], 1
jmp 0x1800498ea
test cl, cl
jne 0x1800493c6
cmp byte [rsp + 0x5c], 0
jne 0x1800498ea
mov dword [rbp - 0x80], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x80]
call fcn.180047640
test al, al
je 0x1800498ea
mov r8d, dword [rbp - 0x80]
jmp 0x180049232
test r10b, r10b
je 0x180049421
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x53], 1
jmp 0x1800498e5
test r9b, r9b
je 0x180049436
mov cl, 1
mov byte [rsp + 0x52], cl
mov r15, qword [rsp + 0x60]
jmp 0x1800498ec
test r14b, r14b
jne 0x1800498b0
test sil, sil
jne 0x1800498b0
cmp byte [rsp + 0x54], sil
je 0x18004947d
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x7c]
test ecx, ecx
js 0x18004947d
call fcn.18001f490
test al, al
je 0x18004947d
xor eax, eax
mov dword [rdi + 0x50], eax
mov eax, dword [rdi + 4]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0x62], sil
jmp 0x1800498de
test r8b, r8b
jne 0x1800496aa
cmp byte [rsp + 0x68], r8b
jne 0x1800496aa
test r13b, r13b
je 0x1800498e5
mov rcx, qword [0x180077ba8]
mov rax, qword [rcx + 0x100]
test rax, rax
je 0x1800494c3
mov rcx, qword [rcx + 0x110]
call rax
mov rbx, rax
test rax, rax
jne 0x1800494ca
jmp 0x1800498e5
lea rbx, [0x180055a2e]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1800494d1
mov rcx, qword [0x180077ba8]
test rcx, rcx
je 0x1800494ec
inc dword [rcx + 0x3b0]
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 0x18004956a
mov rsi, rax
mov r15d, dword [rsp + 0x6c]
nop dword [rax]
nop dword [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.180019470
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x48], r12d
je 0x180049566
mov dword [rsp + 0x20], 5
mov edx, r15d
lea rcx, [rbp - 0x48]
call fcn.180047640
test al, al
je 0x180049561
movzx eax, word [rbp - 0x48]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x180049520
mov r15, qword [rbp - 0x80]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180049685
mov edx, dword [rdi + 4]
mov r8d, dword [rdi + 0x54]
mov eax, dword [rdi + 0x50]
mov ecx, edx
cmp eax, r8d
je 0x1800495bc
mov r9d, eax
cmp eax, edx
jle 0x18004959c
mov dword [rdi + 0x50], edx
mov r9d, edx
mov ecx, dword [rdi + 4]
mov r10d, r8d
cmp r8d, edx
jle 0x1800495ad
mov dword [rdi + 0x54], edx
mov r10d, edx
mov ecx, dword [rdi + 4]
mov r8d, r10d
mov eax, r9d
cmp r9d, r10d
jne 0x1800495bc
mov dword [rdi + 0x4c], r9d
mov r9d, dword [rdi + 0x4c]
cmp r9d, edx
jle 0x1800495cb
mov dword [rdi + 0x4c], edx
mov r9d, edx
cmp eax, r8d
je 0x1800495f9
mov edx, eax
cmp eax, ecx
jle 0x1800495db
mov dword [rdi + 0x50], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x1800495e9
mov dword [rdi + 0x54], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x1800495f9
mov dword [rdi + 0x4c], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180049601
mov dword [rdi + 0x4c], ecx
cmp eax, r8d
je 0x18004963d
lea rdx, [rdi + 0x4c]
mov rcx, rdi
jge 0x180049625
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.1800460d0
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x54], eax
jmp 0x180049636
sub eax, r8d
mov r9d, eax
call fcn.1800460d0
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0x62], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x4c]
mov rcx, rdi
call fcn.180045bd0
test al, al
je 0x18004967e
mov esi, dword [rdi + 0x4c]
lea rcx, [rdi + 0x6c]
xor edx, edx
call fcn.180047160
test rax, rax
je 0x180049676
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x4c], r14d
mov byte [rdi + 0x62], r12b
mov byte [rdi + 0xe7c], 1
test r15, r15
je 0x18004969c
mov rax, qword [0x180077ba8]
test rax, rax
je 0x18004969c
dec dword [rax + 0x3b0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800498e5
mov r15, qword [rsp + 0x60]
cmp qword [r15 + 0x108], 0
je 0x180049803
mov eax, dword [rdi + 0x54]
mov ecx, dword [rdi + 0x50]
cmp ecx, eax
je 0x1800496d4
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
xor r12d, r12d
jmp 0x1800496dd
xor r12d, r12d
mov edx, r12d
mov eax, dword [rdi + 4]
movsxd r14, eax
mov rax, qword [rdi + 0x18]
lea r8, [rax + r14*2]
movsxd r15, edx
lea rdx, [rax + r15*2]
mov ecx, r12d
mov r9d, 0x800
mov r13d, 0x80
nop
test r8, r8
je 0x18004970a
cmp rdx, r8
jae 0x18004972d
movzx eax, word [rdx]
test ax, ax
je 0x18004972d
add rdx, 2
cmp ax, r13w
jae 0x180049720
inc ecx
jmp 0x180049700
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180049700
inc ecx
mov rax, qword [0x180077ba8]
test rax, rax
je 0x180049741
inc dword [rax + 0x3b0]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rcx, qword [rdi + 0x18]
lea r11, [rcx + r14*2]
lea r10, [rcx + r15*2]
mov r9, rax
lea r14, [rax + rbx]
lea rbx, [r14 - 1]
cmp rax, rbx
jae 0x1800497b2
nop dword [rax]
test r11, r11
je 0x18004977a
cmp r10, r11
jae 0x1800497b2
movzx eax, word [r10]
test ax, ax
je 0x1800497b2
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180049797
mov byte [r9], r8b
inc r9
jmp 0x1800497ad
mov edx, r14d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180019620
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180049770
mov byte [r9], 0
mov rax, qword [0x180077ba8]
mov r8, qword [rax + 0x108]
test r8, r8
je 0x1800497dd
mov rdx, rsi
mov rcx, qword [rax + 0x110]
call r8
mov rax, qword [0x180077ba8]
test rsi, rsi
je 0x1800497ed
test rax, rax
je 0x1800497ed
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx r8d, byte [rsp + 0x51]
mov r15, qword [rsp + 0x60]
jmp 0x180049806
xor r12d, r12d
test r8b, r8b
je 0x1800498ea
mov eax, dword [rdi + 0x54]
lea rbx, [rdi + 0x4c]
cmp dword [rdi + 0x50], eax
jne 0x18004982b
mov dword [rdi + 0x50], r12d
mov eax, dword [rdi + 4]
mov dword [rdi + 0x54], eax
mov dword [rbx], eax
mov byte [rdi + 0x62], 0
mov byte [rdi + 0xe7c], 1
mov r8d, dword [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r8d
je 0x1800498ea
mov ecx, dword [rdi + 4]
cmp eax, ecx
jle 0x18004984e
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180049859
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180049860
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x180049866
mov dword [rbx], ecx
cmp eax, r8d
je 0x1800498aa
mov rdx, rbx
mov rcx, rdi
jge 0x180049893
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.1800460d0
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], 0
mov byte [rbx + 0x16], 0
jmp 0x1800498ea
sub eax, r8d
mov r9d, eax
call fcn.1800460d0
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], 0
mov byte [rbx + 0x16], 0
jmp 0x1800498ea
movzx r8d, r14b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180046250
mov eax, dword [rdi + 0x4c]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x50], eax
mov dword [rdi + 0xe78], 0xbe99999a
mov byte [rdi + 0xe7c], 1
mov r15, qword [rsp + 0x60]
xor cl, cl
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x1800498ff
cmp byte [rsp + 0x50], 0
je 0x1800498ff
mov al, 1
jmp 0x180049901
xor al, al
mov edx, dword [rsp + 0x74]
or dl, al
mov dword [rsp + 0x74], edx
mov r14d, dword [rbp - 0x5c]
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x70], r13d
cmp dword [r15 + 0x1c6c], r14d
jne 0x18004a079
test cl, cl
je 0x180049b35
cmp byte [rsp + 0x5c], r13b
jne 0x180049b16
mov r9, qword [rdi + 0x38]
mov rax, qword [rbp - 0x50]
mov r8, r9
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180049963
inc rax
test ecx, ecx
jne 0x180049950
test edx, edx
je 0x180049b16
mov r12, r9
mov qword [rbp - 0x48], r9
mov eax, dword [rdi + 0x30]
dec eax
mov dword [rsp + 0x70], eax
mov qword [rbp + 0x70], r13
mov r15d, r13d
mov qword [rbp + 0x78], r13
test eax, eax
jle 0x180049a72
movsxd rbx, eax
add rbx, r9
mov rsi, r9
xor eax, eax
mov r14d, eax
nop dword [rax]
test rbx, rbx
je 0x1800499aa
cmp rsi, rbx
jae 0x1800499cf
cmp byte [rsi], 0
je 0x1800499cf
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180019470
movsxd rcx, eax
add rsi, rcx
cmp dword [rbp - 0x80], 0
je 0x1800499cf
inc r14d
jmp 0x1800499a0
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x180049a13
mov esi, r15d
cmp r15d, 8
mov eax, 8
cmovl esi, eax
test esi, esi
jle 0x180049a13
mov rax, qword [0x180077ba8]
test rax, rax
je 0x1800499fd
inc dword [rax + 0x3b0]
movsxd rcx, esi
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], esi
mov dword [rbp + 0x70], r15d
mov rsi, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180049a68
test rbx, rbx
je 0x180049a3a
cmp rsi, rbx
jae 0x180049a68
cmp byte [rsi], 0
je 0x180049a68
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180019470
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180049a68
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x180049a30
xor eax, eax
mov word [r14], ax
mov eax, dword [rsp + 0x70]
lea ebx, [r15 - 1]
test eax, eax
mov r14d, 0
cmovle ebx, r14d
movsxd rsi, dword [rdi + 4]
lea rcx, [rdi + 0x6c]
mov r9d, ebx
mov r8d, esi
xor edx, edx
call fcn.180047350
mov r9, rax
test rax, rax
je 0x180049ac5
test esi, esi
jle 0x180049ac5
mov edx, r14d
nop word [rax + rax]
mov rcx, qword [rdi + 0x18]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rsi
jl 0x180049ab0
mov r8d, dword [rdi + 4]
xor edx, edx
mov rcx, rdi
call fcn.180045b00
test ebx, ebx
jle 0x180049af2
mov r9d, ebx
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.180045bd0
test al, al
je 0x180049af2
mov dword [rdi + 0x4c], ebx
mov byte [rdi + 0x62], r14b
test r13, r13
je 0x180049b13
mov rax, qword [0x180077ba8]
test rax, rax
je 0x180049b09
dec dword [rax + 0x3b0]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
xor r13d, r13d
mov r15d, dword [rsp + 0x6c]
cmp byte [rsp + 0x53], 0
je 0x180049b28
test r15b, 0x20
jne 0x180049b3a
mov r14, qword [rbp - 0x50]
mov r12d, dword [rbp - 0x78]
jmp 0x180049fcf
mov r15d, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x5c]
test r9b, r9b
jne 0x180049be5
mov byte [rdi + 0x40], 1
mov eax, dword [rdi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x24]
cmp ebx, ecx
jle 0x180049b81
test ecx, ecx
je 0x180049b6c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180049b71
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x20]
call fcn.18002d160
mov dword [rdi + 0x20], ebx
mov r10, qword [rdi + 0x18]
mov r9, qword [rdi + 0x28]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x180049bdc
mov r13d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x180049bd9
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180049bbe
mov byte [r9], r8b
inc r9
jmp 0x180049bd4
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180019620
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180049ba1
xor r13d, r13d
mov byte [r9], 0
mov r9d, dword [rsp + 0x5c]
test r15d, 0x801c0
je 0x180049f7f
mov r8d, 0x16
test r15b, 0x40
je 0x180049c1e
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180049c1e
call fcn.18001f490
test al, al
je 0x180049c1e
lea eax, [r8 + 0x2a]
mov r8d, r13d
jmp 0x180049c92
test r15b, r15b
jns 0x180049c6f
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x180049c49
call fcn.18001f490
test al, al
je 0x180049c49
mov r10d, 0x80
mov eax, r10d
lea r8d, [r10 - 0x7d]
jmp 0x180049c98
mov rax, qword [0x180077ba8]
mov ecx, dword [rax + 0x4c]
test ecx, ecx
js 0x180049c6f
call fcn.18001f490
test al, al
je 0x180049c6f
mov r10d, 0x80
mov eax, r10d
lea r8d, [r10 - 0x7c]
jmp 0x180049c98
mov eax, 0x80000
test eax, r15d
je 0x180049c82
cmp byte [rdi + 0xe7e], 0
jne 0x180049c92
bt r15d, 8
jae 0x180049f7f
mov eax, 0x100
mov r10d, 0x80
mov dword [rbp + 8], r13d
mov qword [rbp + 0x21], r13
mov dword [rbp + 0x29], r13d
mov word [rbp + 0x2d], r13w
mov byte [rbp + 0x2f], 0
mov dword [rbp - 8], eax
mov dword [rbp - 4], r15d
mov qword [rbp], r13
test r9b, r9b
mov rax, qword [rbp - 0x50]
jne 0x180049cc5
mov rax, qword [rdi + 0x28]
mov dword [rbp + 0xc], r8d
mov qword [rbp + 0x10], rax
mov eax, dword [rdi + 8]
mov dword [rbp + 0x18], eax
mov eax, dword [rdi + 0x44]
mov dword [rbp + 0x1c], eax
mov byte [rbp + 0x20], 0
mov rdx, qword [rdi + 0x18]
movsxd rax, dword [rdi + 0x4c]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r13d
mov r9d, 0x800
test r8, r8
je 0x180049cff
cmp rcx, r8
jae 0x180049d22
movzx eax, word [rcx]
test ax, ax
je 0x180049d22
add rcx, 2
cmp ax, r10w
jae 0x180049d15
inc ebx
jmp 0x180049cf5
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180049cf5
mov dword [rbp + 0x24], ebx
movsxd rax, dword [rdi + 0x50]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r14d, r13d
test r8, r8
je 0x180049d3d
cmp rcx, r8
jae 0x180049d62
movzx eax, word [rcx]
test ax, ax
je 0x180049d62
add rcx, 2
cmp ax, r10w
jae 0x180049d54
inc r14d
jmp 0x180049d33
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x180049d33
mov dword [rbp + 0x28], r14d
movsxd rax, dword [rdi + 0x54]
lea rcx, [rdx + rax*2]
mov r12d, r13d
test rcx, rcx
je 0x180049d7b
cmp rdx, rcx
jae 0x180049da0
movzx eax, word [rdx]
test ax, ax
je 0x180049da0
add rdx, 2
cmp ax, r10w
jae 0x180049d92
inc r12d
jmp 0x180049d71
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x180049d71
mov dword [rbp + 0x2c], r12d
lea rcx, [rbp - 8]
call r13
movzx r13d, byte [rbp + 0x20]
movsxd rcx, dword [rbp + 0x24]
cmp ecx, ebx
jne 0x180049dbd
test r13b, r13b
je 0x180049e0d
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor eax, eax
mov r15d, eax
nop word [rax + rax]
test rsi, rsi
je 0x180049dda
cmp rbx, rsi
jae 0x180049dff
cmp byte [rbx], 0
je 0x180049dff
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180019470
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x180049dff
inc r15d
jmp 0x180049dd0
mov dword [rdi + 0x4c], r15d
mov byte [rdi + 0xe7c], 1
mov ecx, dword [rbp + 0x24]
movsxd rax, dword [rbp + 0x28]
cmp eax, r14d
jne 0x180049e1b
test r13b, r13b
je 0x180049e68
cmp eax, ecx
jne 0x180049e25
mov r14d, dword [rdi + 0x4c]
jmp 0x180049e64
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rax]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x180049e3c
cmp rbx, rsi
jae 0x180049e61
cmp byte [rbx], 0
je 0x180049e61
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180019470
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x180049e61
inc r14d
jmp 0x180049e32
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x50], r14d
movsxd rcx, dword [rbp + 0x2c]
cmp ecx, r12d
jne 0x180049e7a
test r13b, r13b
je 0x180049f7f
cmp ecx, eax
jne 0x180049ebd
mov r14d, dword [rdi + 0x50]
mov dword [rdi + 0x54], r14d
mov r12d, dword [rbp - 0x78]
test r13b, r13b
je 0x180049f83
mov ebx, dword [rbp + 0x18]
mov eax, dword [rbp - 0x40]
cmp ebx, eax
jle 0x180049f17
test r12b, r12b
je 0x180049f17
sub ebx, eax
add ebx, dword [rdi + 0x10]
mov ecx, dword [rdi + 0x14]
cmp ebx, ecx
jle 0x180049f14
test ecx, ecx
je 0x180049eff
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180049f04
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
nop word [rax + rax]
test rsi, rsi
je 0x180049eda
cmp rbx, rsi
jae 0x180049e82
cmp byte [rbx], 0
je 0x180049e82
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180019470
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x180049e82
inc r14d
jmp 0x180049ed0
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.18002d1f0
mov dword [rdi + 0x10], ebx
mov rsi, qword [rbp + 0x10]
mov r15, qword [rdi + 0x18]
mov rbx, r15
movsxd r14, dword [rdi + 0x10]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x180049f5f
cmp byte [rsi], 0
je 0x180049f5f
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180019470
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x180049f5f
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180049f32
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
mov eax, dword [rbp + 0x18]
mov dword [rdi + 8], eax
mov dword [rdi + 0xe78], 0xbe99999a
jmp 0x180049f83
mov r12d, dword [rbp - 0x78]
mov r14, qword [rbp - 0x50]
cmp byte [rsp + 0x5c], 0
jne 0x180049fc7
mov r9, qword [rdi + 0x28]
mov rax, r9
mov r8, r14
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180049fb3
inc rax
test ecx, ecx
jne 0x180049fa0
mov r15d, dword [rsp + 0x6c]
xor r13d, r13d
test edx, edx
je 0x180049fcf
mov rsi, r9
mov ecx, dword [rdi + 8]
jmp 0x180049fd7
mov r15d, dword [rsp + 0x6c]
xor r13d, r13d
mov rsi, qword [rbp - 0x48]
mov ecx, dword [rsp + 0x70]
mov dword [rdi + 0xe80], r13d
test rsi, rsi
je 0x18004a070
test r12b, r12b
je 0x18004a03d
mov qword [rbp + 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov dword [rbp + 0x30], 0x40000
mov dword [rbp + 0x34], r15d
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], r13
lea rcx, [rbp + 0x30]
call r13
mov r14, qword [rbp + 0x48]
mov qword [rbp - 0x50], r14
mov edx, dword [rbp + 0x54]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x50], ecx
cmovl ecx, dword [rbp + 0x50]
jmp 0x18004a042
mov edx, 0x20
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18004a06b
jbe 0x18004a065
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 [rsp + 0x78], 1
mov r14d, dword [rbp - 0x5c]
mov r15, qword [rsp + 0x60]
cmp byte [rsp + 0x52], 0
je 0x18004a0f1
cmp dword [r15 + 0x1c6c], r14d
jne 0x18004a0f1
mov rdx, qword [0x180077ba8]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x18004a0bf
mov dword [rdx + 0x1c74], r13d
mov word [rdx + 0x1c7b], 0
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], r13d
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], r13
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], r13
mov r10d, dword [rsp + 0x58]
test r10b, r10b
jne 0x18004a1ac
mov r8d, 1
mov edx, r14d
lea rcx, [rbp - 0x18]
call fcn.18001a990
movss xmm9, dword [0x18006e60c]
movaps xmm1, xmm9
mov ecx, 7
call fcn.1800198f0
mov r8d, eax
movss xmm0, dword [r15 + 0x15b4]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x10]
movaps xmm0, xmm11
unpcklps xmm0, xmm14
movq rcx, xmm0
call fcn.18001a700
movaps xmm15, xmm11
addss xmm15, xmm12
movss dword [rbp + 0x78], xmm15
movaps xmm13, xmm14
addss xmm13, xmm7
movss dword [rbp + 0x7c], xmm13
movaps xmm0, xmm11
addss xmm0, dword [r15 + 0x15ac]
movss dword [rbp - 0x40], xmm0
movaps xmm1, xmm14
addss xmm1, dword [r15 + 0x15b0]
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x48], xmm15
movss dword [rbp - 0x78], xmm13
mov r8, qword [rbp - 0x70]
mov r10d, dword [rsp + 0x58]
jmp 0x18004a1f4
movaps xmm2, xmm12
addss xmm2, xmm11
movss dword [rbp - 0x48], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm7
addss xmm1, xmm14
movss dword [rbp - 0x78], xmm1
movaps xmm13, xmm1
movss dword [rbp + 0x7c], xmm1
mov r8, qword [rbp - 0x70]
movsd xmm0, qword [r8 + 0xd8]
movsd qword [rbp - 0x40], xmm0
movss xmm9, dword [0x18006e60c]
lea r11, [rbp - 0x40]
movss dword [rbp + 0x74], xmm14
movss dword [rbp + 0x70], xmm11
movsd xmm0, qword [r11]
movsd qword [rbp + 0x68], xmm0
xorps xmm5, xmm5
movss dword [rsp + 0x70], xmm5
xorps xmm7, xmm7
movss dword [rbp - 0x80], xmm7
cmp byte [rbp - 0x60], 0
je 0x18004a22f
mov r13, qword [rdi + 0x28]
mov qword [rbp - 0x50], r13
jmp 0x18004a233
mov r13, qword [rbp - 0x50]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x74]
test al, al
jne 0x18004a40d
test cl, cl
jne 0x18004a40d
test r10b, r10b
je 0x18004a2b0
xor r14d, r14d
mov ecx, r14d
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x18004a285
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x18004a270
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x18004a295
cmp al, 0xd
je 0x18004a295
inc ecx
movaps xmm6, xmm12
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r15 + 0x1990]
movss dword [rbp - 0x80], xmm7
jmp 0x18004a2ee
cmp dword [r15 + 0x1c6c], r14d
jne 0x18004a2bf
movsxd rsi, dword [rdi + 8]
jmp 0x18004a2d0
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + r13], 0
jne 0x18004a2c6
add rsi, r13
mov rax, rsi
sub rax, r13
movss xmm6, dword [rsp + 0x70]
xor r14d, r14d
cmp rax, 0x200000
jge 0x18004ac59
movss xmm13, dword [0x18006e60c]
movaps xmm1, xmm13
xor ecx, ecx
call fcn.1800198f0
mov r9d, eax
mov r8, qword [r8 + 0x270]
lea rdx, [rbp + 0x70]
test r10b, r10b
cmovne rdx, r14
mov rcx, rsi
movss xmm2, dword [r15 + 0x1990]
mov r10, qword [r15 + 0x1988]
test eax, 0xff000000
je 0x18004ac70
test rsi, rsi
jne 0x18004a34e
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x18004a341
add rcx, r13
cmp r13, rcx
je 0x18004ac70
test r10, r10
jne 0x18004a364
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm8, xmm8
ucomiss xmm2, xmm8
jp 0x18004a379
jne 0x18004a379
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm0
test rdx, rdx
je 0x18004a3d4
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 0x18]
comiss xmm0, xmm1
jae 0x18004a39d
movss dword [rbp - 0x18], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x18004a3b1
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x18004a3c1
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x18004a3d1
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [r11]
mov rdx, r8
mov rcx, r10
call fcn.18003c1c0
jmp 0x18004ac74
movsxd r12, dword [rdi + 8]
lea rsi, [r12 + r13]
mov r15, qword [rdi + 0x18]
xorps xmm8, xmm8
xorps xmm6, xmm6
xor r9d, r9d
mov r10d, r9d
mov r14d, r9d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r9d
test al, al
je 0x18004a449
movsxd rax, dword [rdi + 0x4c]
lea r10, [r15 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x18004a465
mov ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x50], ecx
cmovl ecx, dword [rdi + 0x50]
movsxd rax, ecx
lea r14, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, byte [rsp + 0x58]
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18004a4b4
cmp cx, 0xa
jne 0x18004a4a8
inc r9d
cmp r8d, 0xffffffff
jne 0x18004a495
cmp rax, r10
jb 0x18004a495
mov r8d, r9d
dec edx
test edx, edx
jle 0x18004a4b4
cmp ebx, 0xffffffff
jne 0x18004a4a8
cmp rax, r14
jb 0x18004a4a8
mov ebx, r9d
dec edx
test edx, edx
jle 0x18004a4b4
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18004a478
inc r9d
mov r11d, r9d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r9d
mov rdx, r10
cmp r10, r15
jbe 0x18004a4e3
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004a4e3
mov rdx, rax
cmp rax, r15
ja 0x18004a4d1
mov rax, qword [0x180077ba8]
mov r8, qword [rax + 0x1988]
movss xmm3, dword [rax + 0x1990]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm11, xmm5
cmp rdx, r10
jae 0x18004a550
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004a527
maxss xmm1, xmm11
movaps xmm11, xmm5
jmp 0x18004a54b
cmp ecx, 0xd
je 0x18004a54b
cmp ecx, dword [r8]
jge 0x18004a53c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18004a542
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm11, xmm0
cmp rdx, r10
jb 0x18004a510
maxss xmm11, xmm1
mov r13, qword [rsp + 0x60]
movss xmm4, dword [r13 + 0x1990]
movd xmm14, r11d
cvtdq2ps xmm14, xmm14
mulss xmm14, xmm4
test ebx, ebx
js 0x18004a5f2
mov rdx, r14
cmp r14, r15
jbe 0x18004a592
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004a592
mov rdx, rax
cmp rax, r15
ja 0x18004a580
movaps xmm1, xmm5
movaps xmm6, xmm5
cmp rdx, r14
jae 0x18004a5e0
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004a5b5
maxss xmm1, xmm6
movaps xmm6, xmm5
jmp 0x18004a5db
cmp ecx, 0xd
je 0x18004a5db
cmp ecx, dword [r8]
jge 0x18004a5ca
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x18004a5d0
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r14
jb 0x18004a5a0
movd xmm8, ebx
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm4
maxss xmm6, xmm1
mov r10d, dword [rsp + 0x58]
test r10b, r10b
je 0x18004a614
movss dword [rsp + 0x70], xmm12
movd xmm7, r9d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm4
movss dword [rbp - 0x80], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x18004a73c
cmp byte [rdi + 0xe7c], 0
je 0x18004a73c
test dword [rsp + 0x6c], 0x1000
jne 0x18004a68b
movaps xmm0, xmm12
mulss xmm0, dword [0x18006e5a4]
subss xmm12, dword [r13 + 0x15ac]
movss xmm2, dword [rdi + 0x48]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x18004a66b
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x18004a679
subss xmm1, xmm12
comiss xmm1, xmm2
jb 0x18004a690
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x48], xmm0
jmp 0x18004a690
xor eax, eax
mov dword [rdi + 0x48], eax
test r10b, r10b
je 0x18004a735
movaps xmm0, xmm14
subss xmm0, dword [r13 + 0x1990]
movss xmm3, dword [rbp - 0x24]
comiss xmm10, xmm0
jbe 0x18004a6bc
movaps xmm10, xmm5
maxss xmm10, xmm0
jmp 0x18004a6ec
movss xmm2, dword [r13 + 0x15b0]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm14
subss xmm0, xmm1
comiss xmm0, xmm10
jb 0x18004a6ec
movaps xmm10, xmm14
subss xmm10, xmm3
addss xmm10, xmm2
movss xmm2, dword [r13 + 0x15b0]
comiss xmm5, xmm10
jbe 0x18004a700
movaps xmm2, xmm5
jmp 0x18004a715
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm3
maxss xmm2, xmm5
minss xmm2, xmm10
mov rax, qword [rbp - 0x70]
movss xmm0, dword [rax + 0x60]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x6c]
addss xmm1, xmm0
movss dword [rbp + 0x6c], xmm1
movss dword [rax + 0x60], xmm2
mov byte [rdi + 0xe7c], 0
movss xmm12, dword [rdi + 0x48]
cmp byte [rsp + 0x74], 0
je 0x18004a995
mov edx, dword [rdi + 0x54]
mov ecx, dword [rdi + 0x50]
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 0x18004a775
movaps xmm1, xmm9
jmp 0x18004a77d
movss xmm1, dword [0x18006e5c0]
mov ecx, 0x2f
call fcn.1800198f0
mov r15d, eax
xorps xmm5, xmm5
test r10b, r10b
je 0x18004a79d
movss dword [rbp - 0x2c], xmm5
xorps xmm10, xmm10
jmp 0x18004a7a6
movss xmm10, dword [0x18006e628]
movss xmm9, dword [rbp + 0x68]
addss xmm6, xmm9
subss xmm6, xmm12
movss xmm7, dword [rbp + 0x6c]
addss xmm7, xmm8
subss xmm7, xmm5
cmp rbx, r14
jae 0x18004a99b
movss xmm8, dword [0x18006e5bc]
movss xmm1, dword [rbp - 0x74]
nop dword [rax + rax]
movss xmm4, dword [r13 + 0x1990]
movaps xmm0, xmm13
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x18004a98e
comiss xmm1, xmm7
jbe 0x18004a82b
cmp rbx, r14
jae 0x18004a973
nop dword [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18004a973
cmp rbx, r14
jb 0x18004a810
jmp 0x18004a973
mov rax, qword [0x180077ba8]
mov rdx, qword [rax + 0x1988]
movss xmm2, dword [rax + 0x1990]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm5
movaps xmm1, xmm5
cmp rbx, r14
jae 0x18004a892
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18004a888
cmp ecx, 0xd
je 0x18004a84c
cmp ecx, dword [rdx]
jge 0x18004a879
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x18004a84c
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x18004a84c
movaps xmm3, xmm5
maxss xmm3, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm5, xmm1
jb 0x18004a8ca
mov rax, qword [r13 + 0x1988]
cmp dword [rax], 0x20
jle 0x18004a8b5
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18004a8ba
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm7
addss xmm6, xmm5
movss xmm2, dword [rbp - 0x2c]
subss xmm2, xmm4
addss xmm2, xmm7
movss xmm3, dword [rbp - 0x38]
maxss xmm6, xmm3
maxss xmm2, dword [rbp - 0x74]
movss dword [rbp - 0x18], xmm6
movss dword [rbp - 0x14], xmm2
minss xmm1, xmm15
minss xmm0, xmm13
movss dword [rbp - 0x10], xmm1
movss dword [rbp - 0xc], xmm0
comiss xmm0, dword [rbp - 0x74]
jbe 0x18004a96e
comiss xmm13, xmm2
jbe 0x18004a96e
comiss xmm1, xmm3
jbe 0x18004a96e
comiss xmm15, xmm6
jbe 0x18004a96e
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x18]
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax + 0x270]
call fcn.180038020
movss xmm0, dword [rbp - 0x48]
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x78], xmm0
movss xmm9, dword [rbp + 0x68]
xorps xmm5, xmm5
movss xmm1, dword [rbp - 0x74]
movaps xmm6, xmm9
subss xmm6, xmm12
addss xmm7, dword [r13 + 0x1990]
cmp rbx, r14
jb 0x18004a7e0
mov r10d, dword [rsp + 0x58]
jmp 0x18004a99b
movss xmm9, dword [rbp + 0x68]
test r10b, r10b
jne 0x18004a9ad
cmp r12, 0x200000
jge 0x18004aaf6
movss xmm13, dword [0x18006e60c]
movaps xmm1, xmm13
xor ecx, ecx
call fcn.1800198f0
mov r9d, eax
mov rbx, qword [rbp - 0x70]
mov r8, qword [rbx + 0x270]
mov rcx, rsi
subss xmm9, xmm12
movss dword [rbp - 0x70], xmm9
movss xmm0, dword [rbp + 0x6c]
xorps xmm5, xmm5
subss xmm0, xmm5
movss dword [rbp - 0x6c], xmm0
mov r15, r13
movss xmm2, dword [r13 + 0x1990]
mov r10, qword [r13 + 0x1988]
lea rdx, [rbp + 0x70]
cmp byte [rsp + 0x58], 0
mov r14d, 0
cmovne rdx, r14
test eax, 0xff000000
je 0x18004ab09
mov r13, qword [rbp - 0x50]
test rsi, rsi
jne 0x18004aa3c
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rcx + r13], r14b
jne 0x18004aa30
add rcx, r13
cmp r13, rcx
je 0x18004ab0d
test r10, r10
jne 0x18004aa52
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x18004aa62
jne 0x18004aa62
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm0
test rdx, rdx
je 0x18004aabd
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 0x18]
comiss xmm0, xmm1
jae 0x18004aa86
movss dword [rbp - 0x18], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x18004aa9a
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x18004aaaa
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x18004aaba
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [rbp - 0x70]
mov rdx, r8
mov rcx, r10
call fcn.18003c1c0
xorps xmm5, xmm5
jmp 0x18004ab0d
movss xmm13, dword [0x18006e60c]
mov r15, r13
mov rbx, qword [rbp - 0x70]
xor r14d, r14d
mov r13, qword [rbp - 0x50]
cmp byte [rsp + 0x50], 0
je 0x18004ac64
movss xmm0, dword [r15 + 0x18]
addss xmm0, dword [rdi + 0xe78]
movss dword [rdi + 0xe78], xmm0
cmp byte [r15 + 0xca], 0
je 0x18004ab5b
comiss xmm5, xmm0
jae 0x18004ab5b
movss xmm1, dword [0x18006e618]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x18006e5ec]
comiss xmm1, xmm0
jae 0x18004ab5b
xor cl, cl
jmp 0x18004ab5d
mov cl, 1
addss xmm11, dword [rbp + 0x68]
subss xmm11, xmm12
cvttss2si eax, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x6c]
addss xmm0, xmm14
xorps xmm8, xmm8
subss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x70], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r15 + 0x1990]
addss xmm0, dword [0x18006e5bc]
movss dword [rbp + 0x74], xmm0
movaps xmm2, xmm6
addss xmm2, xmm13
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x18006e624]
movss dword [rbp + 0x7c], xmm1
movss xmm14, dword [rbp - 0x74]
test cl, cl
je 0x18004ac2a
comiss xmm1, xmm14
jbe 0x18004ac2a
movss xmm3, dword [rbp - 0x78]
comiss xmm3, xmm0
jbe 0x18004ac2a
comiss xmm2, dword [rbp - 0x38]
jbe 0x18004ac2a
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x18004ac2a
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], xmm1
movaps xmm1, xmm13
xor ecx, ecx
call fcn.1800198f0
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x270]
call fcn.180037db0
cmp byte [rsp + 0x5c], 0
jne 0x18004ac51
subss xmm6, xmm13
subss xmm7, dword [r15 + 0x1990]
movss dword [r15 + 0x30c0], xmm6
movss dword [r15 + 0x30c4], xmm7
movss xmm6, dword [rsp + 0x70]
jmp 0x18004ac74
movss xmm13, dword [0x18006e60c]
jmp 0x18004ac70
movss xmm6, dword [rsp + 0x70]
movss xmm14, dword [rbp - 0x74]
xorps xmm8, xmm8
mov ebx, dword [rbp - 0x58]
test bl, bl
je 0x18004ac80
call fcn.180024ab0
cmp byte [rsp + 0x58], 0
je 0x18004ad11
movss dword [rbp - 0x70], xmm6
movss xmm0, dword [rbp - 0x80]
addss xmm0, dword [r15 + 0x15b0]
movss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x70]
call fcn.180043fb0
mov ebx, dword [r15 + 0x1cc0]
mov eax, ebx
or eax, 0x101
mov dword [r15 + 0x1cc0], eax
call fcn.18001f840
mov eax, dword [r15 + 0x1ce0]
and eax, 0x80
mov edi, dword [rbp + 0x90]
or edi, eax
mov dword [r15 + 0x1cc0], ebx
call fcn.1800256b0
mov ebx, dword [rbp - 0x58]
cmp dword [r15 + 0x1cd8], 0
jne 0x18004ad11
mov eax, dword [rbp - 0x5c]
mov dword [r15 + 0x1cd8], eax
mov eax, dword [rbp + 0x8c]
mov dword [r15 + 0x1cdc], eax
mov dword [r15 + 0x1ce0], edi
cmp byte [r15 + 0x312c], 0
je 0x18004ae92
test bl, bl
jne 0x18004ae92
mov rdi, qword [0x180077ba8]
mov rbx, qword [rdi + 0x1c20]
mov qword [rdi + 0x3158], r14
mov qword [rdi + 0x3150], r14
test rsi, rsi
jne 0x18004ad6e
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x18004ad6e
movzx ecx, byte [rsi]
test cl, cl
je 0x18004ad6e
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18004ad65
cmp byte [rax], cl
je 0x18004ad6e
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x18004ad51
movss xmm0, dword [rdi + 0x15b0]
addss xmm0, dword [rdi + 0x3160]
addss xmm0, xmm13
movss xmm1, dword [rbp + 0x6c]
movss dword [rdi + 0x3160], xmm1
comiss xmm1, xmm0
jbe 0x18004ada8
lea rcx, [0x180055b1c]
call fcn.18002af40
mov byte [rdi + 0x3164], 1
lea r8, [0x18005aa45]
lea rdx, [0x18005aa44]
lea rcx, [rbp + 0x68]
call fcn.18002af80
mov ecx, dword [rdi + 0x3168]
mov eax, dword [rbx + 0x160]
cmp ecx, eax
jle 0x18004add7
mov dword [rdi + 0x3168], eax
mov ecx, eax
mov r14d, dword [rbx + 0x160]
sub r14d, ecx
mov r15d, 1
nop word [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 0x18004ae17
cmp rbx, rsi
je 0x18004ae76
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x3164], 0
lea edx, [r14*4]
jne 0x18004ae31
mov edx, r15d
mov qword [rsp + 0x20], r13
lea r8, [0x180055a2e]
lea rcx, str._s_.s
call fcn.18002af40
mov byte [rdi + 0x3164], 0
cmp byte [rbx], 0xa
jne 0x18004ae68
lea rcx, [0x180055b1c]
call fcn.18002af40
mov byte [rdi + 0x3164], r15b
cmp rbx, rsi
je 0x18004ae76
lea r13, [rbx + 1]
jmp 0x18004adf0
lea r8, [0x18005aa41]
lea rdx, [0x18005aa40]
lea rcx, [rbp + 0x68]
call fcn.18002af80
mov r15, qword [rsp + 0x60]
movss xmm0, dword [rbp - 0x28]
comiss xmm0, xmm8
jbe 0x18004aecc
movss xmm0, dword [rbp - 0x34]
addss xmm0, dword [r15 + 0x15c4]
addss xmm14, dword [r15 + 0x15b0]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm0, xmm14
movq rcx, xmm0
call fcn.180019a50
movzx edx, byte [rsp + 0x78]
mov ecx, dword [rsp + 0x6c]
test dl, dl
je 0x18004aef6
bt ecx, 0x1b
jb 0x18004aef6
mov rax, qword [0x180077ba8]
mov word [rax + 0x1c7c], 0x101
or dword [rax + 0x1ce0], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x53]
cmovne eax, ecx
jmp 0x180047e35