Function at 0x140046030
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [rcx + 0x6b], 0
mov r15, r8
mov r13, qword [rbp + 0xf0]
mov r12, rdx
mov dword [rsp + 0x54], r9d
mov rsi, rcx
mov qword [rbp - 0x70], r8
mov qword [rsp + 0x70], rdx
je 0x140046082
call fcn.1400449a0
mov rbx, qword [0x1400598b0]
mov qword [rsp + 0x1e8], rdi
mov r14, rbx
movaps xmmword [rsp + 0x180], xmm6
mov rax, qword [rbx + 0x1d18]
mov qword [rsp + 0x78], rax
cmp byte [rax + 0xd4], 0
jne 0x1400461e3
test r13, r13
je 0x140046135
movzx r8d, byte [r12]
lea rdx, [r12 + 1]
mov r9d, 0xffffffff
mov edi, r9d
test r8b, r8b
je 0x140046111
lea r10, [0x14004ccf0]
nop dword [rax]
cmp r8b, 0x23
jne 0x1400460f3
cmp byte [rdx], r8b
jne 0x1400460f3
cmp byte [rdx + 1], r8b
cmove edi, r9d
movzx ecx, dil
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr edi, 8
inc rdx
xor edi, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1400460e0
not edi
cmp dword [rbx + 0x1d6c], edi
jne 0x140046121
mov dword [rbx + 0x1d70], edi
cmp dword [rbx + 0x1da8], edi
jne 0x140046130
mov byte [rbx + 0x1dac], 1
mov rcx, rbx
jmp 0x140046174
mov r8, qword [rax + 0x110]
xor edx, edx
movsxd rax, dword [rax + 0x108]
mov rcx, r12
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002830
mov edi, eax
cmp dword [rbx + 0x1d6c], eax
jne 0x140046162
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140046171
mov byte [rbx + 0x1dac], 1
mov rcx, r14
test r15, r15
je 0x1400461ea
cmp byte [r15], 0
jne 0x1400461ea
mov eax, dword [rcx + 0x1d54]
lea rdx, [rsp + 0x64]
or eax, 0x18
mov dword [rcx + 0x1d54], eax
add rcx, 0x1eb0
mov dword [rsp + 0x64], eax
call fcn.140022bc0
xorps xmm0, xmm0
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, edi
movups xmmword [rbp - 0x20], xmm0
call fcn.1400110e0
mov rdx, qword [0x1400598b0]
movsxd rcx, dword [rdx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rdx + 0x1eb0], eax
mov rax, qword [rdx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x1d54], ecx
xor al, al
jmp 0x140046f92
mov eax, dword [rsp + 0x54]
xor ecx, ecx
bt eax, 0x14
jae 0x1400461ff
mov r15d, ecx
mov qword [rbp - 0x70], rcx
jmp 0x14004620c
test r15, r15
jne 0x14004620f
bts eax, 0x14
mov dword [rsp + 0x54], eax
test r15, r15
setne r8b
lea rcx, [rbp - 0x80]
mov rdx, r12
call fcn.140046fd0
xor r10d, r10d
test edi, edi
je 0x140046248
mov edx, dword [rsi]
mov eax, r10d
test edx, edx
jle 0x140046248
mov r8, qword [rsi + 8]
mov rcx, r8
cmp dword [rcx], edi
je 0x140046352
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140046236
mov r15, r10
movss xmm6, dword [rbp - 0x80]
mov r11, 0xffffffffffffffff
mov byte [rsp + 0x50], 0
test r15, r15
jne 0x1400462be
xorps xmm0, xmm0
lea rdx, [rbp - 0x60]
movups xmmword [rbp - 0x40], xmm0
mov rcx, rsi
mov dword [rbp - 0x3a], 0xffffffff
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x50], r11
mov word [rbp - 0x3c], r11w
movups xmmword [rbp - 0x60], xmm0
call fcn.140047be0
mov eax, dword [rsi]
mov rbx, qword [0x1400598b0]
dec eax
cdqe
mov byte [rsp + 0x50], 1
lea r15, [rax + rax*2]
shl r15, 4
add r15, qword [rsi + 8]
xor r10d, r10d
movss dword [r15 + 0x1c], xmm6
mov dword [r15], edi
lea r11, [r10 - 1]
mov byte [rsi + 0x6d], 1
mov rcx, r15
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [rsi + 8]
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov word [rsi + 0x70], dx
movss dword [r15 + 0x20], xmm6
movzx ecx, word [rsi + 0x6e]
lea eax, [rcx + 1]
mov word [rsi + 0x6e], ax
mov r9d, dword [r15 + 0x10]
mov word [r15 + 0x26], cx
inc r9d
mov eax, dword [rsi + 0x10]
mov ecx, dword [rsi + 0x28]
mov edx, dword [r14 + 0x1c90]
inc ecx
shr eax, 0x15
and al, 1
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x54]
mov r8d, eax
shr r8d, 0x15
and r8b, 1
mov dword [rsp + 0x6c], edx
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], r8d
mov dword [r15 + 0x10], edx
mov dword [r15 + 4], eax
mov qword [r15 + 8], r13
test r13, r13
je 0x140046364
mov word [r15 + 0x24], r11w
jmp 0x1400463be
cdqe
lea r15, [rax + rax*2]
shl r15, 4
add r15, r8
jmp 0x14004624b
mov eax, dword [rsi + 0x88]
test eax, eax
lea ecx, [rax - 1]
mov rax, r11
cmove cx, r10w
mov word [r15 + 0x24], cx
nop dword [rax]
inc rax
cmp byte [r12 + rax], 0
jne 0x140046380
lea r8, [r12 + 1]
mov rdx, r12
add r8, rax
lea rcx, [rsi + 0x88]
call fcn.140002fd0
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x68]
mov eax, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x60]
mov rbx, qword [0x1400598b0]
cmp r9d, edx
jge 0x1400463e1
test byte [rsi + 0x10], 2
je 0x1400463e1
cmp dword [rsi + 0x1c], 0
jne 0x1400463e1
cmp ecx, edx
jge 0x1400463d9
cmp dword [rsi + 0x18], 0
jne 0x1400463e1
test r8b, r8b
jne 0x1400463e1
mov dword [rsi + 0x1c], edi
test al, 2
je 0x1400463f2
cmp dword [rsi + 0x18], edi
je 0x1400463f2
test r8b, r8b
jne 0x1400463f2
mov dword [rsi + 0x1c], edi
cmp dword [rsi + 0x20], edi
mov r10d, 1
sete r8b
mov dword [rsp + 0x5c], r8d
jne 0x14004640c
mov byte [rsi + 0x6c], r10b
jmp 0x140046431
cmp dword [rsi + 0x18], 0
jne 0x140046431
cmp ecx, edx
jge 0x140046431
test r13, r13
jne 0x140046431
cmp dword [rsi], r10d
jne 0x140046431
test byte [rsi + 0x10], 2
movzx r8d, r8b
cmove r8d, r10d
mov dword [rsp + 0x5c], r8d
cmp r9d, edx
jge 0x1400464be
cmp ecx, edx
jge 0x140046445
cmp byte [rsp + 0x50], 0
je 0x1400464be
mov eax, dword [rbx + 0x1d54]
lea rcx, [rbx + 0x1eb0]
or eax, 0x18
lea rdx, [rsp + 0x64]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x1d54], eax
call fcn.140022bc0
xorps xmm0, xmm0
lea rcx, [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, edi
movups xmmword [rbp - 0x20], xmm0
call fcn.1400110e0
cmp byte [rsp + 0x60], 0
mov rdx, qword [0x1400598b0]
movsxd rcx, dword [rdx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rdx + 0x1eb0], eax
mov rax, qword [rdx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x1d54], ecx
jne 0x1400461e3
movzx eax, byte [rsp + 0x5c]
jmp 0x140046f92
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
movaps xmmword [rsp + 0x140], xmm10
movaps xmmword [rsp + 0x130], xmm11
movaps xmmword [rsp + 0x120], xmm12
movaps xmmword [rsp + 0x110], xmm13
movaps xmmword [rsp + 0x100], xmm14
cmp dword [rsi + 0x18], edi
jne 0x140046515
mov eax, dword [r14 + 0x1c90]
mov dword [r15 + 0x14], eax
mov r9, qword [rsp + 0x78]
mov edx, dword [r15 + 4]
movss xmm0, dword [r15 + 0x1c]
movss xmm8, dword [r15 + 0x18]
movss xmm13, dword [r9 + 0x118]
movss xmm14, dword [r9 + 0x11c]
and edx, 0xc0
jne 0x140046558
subss xmm8, dword [rsi + 0x4c]
cvttss2si eax, xmm8
movd xmm8, eax
cvtdq2ps xmm8, xmm8
mov eax, 4
xorps xmm12, xmm12
addss xmm8, dword [rsi + 0x2c]
movss xmm11, dword [rax + rsi + 0x2c]
addss xmm11, xmm12
movss dword [r9 + 0x118], xmm8
movaps xmm9, xmm8
addss xmm9, xmm0
movss dword [r9 + 0x11c], xmm11
movss xmm10, dword [rbp - 0x7c]
movss dword [rbp - 0x20], xmm8
addss xmm10, xmm11
movss dword [rbp - 0x1c], xmm11
movss dword [rbp - 0x18], xmm9
movss dword [rbp - 0x14], xmm10
test edx, edx
jne 0x140046671
movss xmm2, dword [rsi + 0x5c]
comiss xmm2, xmm8
movss xmm0, dword [rsi + 0x60]
ja 0x1400465d3
comiss xmm9, xmm0
jbe 0x140046671
mov rax, qword [rbx + 0x1d18]
movaps xmm1, xmm8
maxss xmm1, xmm2
unpcklps xmm0, xmm10
movaps xmm2, xmm11
mov byte [rsp + 0x52], r10b
subss xmm2, dword [0x140051260]
mov byte [rax + 0xd1], r10b
movzx r9d, r10b
mov rbx, qword [rbx + 0x1d18]
movq r8, xmm0
unpcklps xmm1, xmm2
mov rcx, qword [rbx + 0x2f8]
movq rdx, xmm1
call fcn.14002bca0
mov rax, qword [rbx + 0x2f8]
mov r9, qword [rsp + 0x78]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x290], eax
movss dword [rbx + 0x294], xmm0
movss dword [rbx + 0x298], xmm1
movss dword [rbx + 0x29c], xmm2
mov bl, 1
jmp 0x140046677
xor bl, bl
mov byte [rsp + 0x52], bl
movss xmm1, dword [r14 + 0x1674]
subss xmm9, xmm8
movss xmm7, dword [r9 + 0x130]
subss xmm10, xmm11
movss xmm6, dword [r9 + 0x134]
lea rcx, [rbp - 0x80]
movss dword [rbp - 0x80], xmm9
movss dword [rbp - 0x7c], xmm10
call fcn.140010f90
movss dword [r9 + 0x130], xmm7
lea rcx, [rbp - 0x20]
movss dword [r9 + 0x134], xmm6
xor r8d, r8d
xor r9d, r9d
mov edx, edi
call fcn.1400110e0
movaps xmm11, xmmword [rsp + 0x130]
movaps xmm10, xmmword [rsp + 0x140]
movaps xmm9, xmmword [rsp + 0x150]
movaps xmm8, xmmword [rsp + 0x160]
test al, al
jne 0x140046726
test bl, bl
je 0x140046705
call fcn.140008db0
mov r13, qword [rsp + 0x78]
movzx eax, byte [rsp + 0x5c]
movss dword [r13 + 0x118], xmm13
movss dword [r13 + 0x11c], xmm14
jmp 0x140046f6f
movzx ebx, byte [rsp + 0x60]
inc ebx
shl ebx, 4
bts ebx, 0xc
cmp byte [r14 + 0x20d4], 0
je 0x140046763
cmp dword [r14 + 0x20fc], 0xffffffff
je 0x14004675f
lea rdx, [r14 + 0x2100]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140046763
bts ebx, 9
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x51]
mov edx, edi
lea rcx, [rbp - 0x20]
call fcn.14003a200
mov byte [rsp + 0x59], al
test al, al
je 0x14004678e
cmp byte [rsp + 0x60], 0
jne 0x14004678e
mov dword [rsi + 0x1c], edi
cmp dword [r14 + 0x1d58], edi
movzx ecx, byte [rsp + 0x50]
sete al
or byte [rsp + 0x51], al
test cl, cl
je 0x1400467c4
test r13, r13
je 0x1400467c4
cmp dword [r14 + 0x1d6c], edi
jne 0x1400467c4
cmp byte [r14 + 0x1d78], 0
je 0x1400467c4
mov qword [r14 + 0x1d98], r13
mov rbx, qword [0x1400598b0]
cmp dword [r14 + 0x1d6c], edi
je 0x140046804
mov rax, qword [rbx + 0x1d18]
mov ecx, dword [rax + 0x164]
cmp dword [rbx + 0x1d58], ecx
jne 0x1400467f0
mov byte [rbx + 0x1d60], 1
cmp dword [rbx + 0x1d6c], ecx
movzx ecx, byte [rsp + 0x50]
jne 0x140046804
mov byte [rbx + 0x1d79], 1
test r13, r13
je 0x14004682f
mov rax, qword [r13 + 0x448]
test rax, rax
je 0x14004682f
cmp qword [rax + 0x10], 0
jne 0x14004682f
test dword [rax + 8], 0x400
jne 0x14004682f
cmp dword [rax + 0x28], 1
jne 0x14004682f
mov al, 1
jmp 0x140046831
xor al, al
test cl, cl
je 0x140046af9
test al, al
je 0x14004686d
cmp byte [rbx + 0x128], 0
je 0x14004686d
movss xmm0, dword [rbx + 0x484]
comiss xmm0, xmm12
setae al
test al, al
je 0x14004686d
mov rcx, r13
call fcn.140005880
mov rbx, qword [0x1400598b0]
jmp 0x140046af9
mov eax, dword [rsp + 0x68]
cmp eax, dword [rsp + 0x6c]
jl 0x140046af9
cmp byte [rbx + 0x128], 0
je 0x140046af9
movss xmm1, dword [rbx + 0x38]
movss xmm0, dword [rbx + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x140046af9
movss xmm6, dword [rbp - 0x20]
xor r9d, r9d
mov r12d, r9d
xorps xmm5, xmm5
cmp byte [r14 + 0x20d4], r9b
jne 0x140046930
test byte [rsi + 0x10], 1
jne 0x1400468cd
test r13, r13
je 0x140046af4
movss xmm0, dword [r14 + 0x3b4]
comiss xmm12, xmm0
jbe 0x1400468f5
movss xmm1, dword [r14 + 0x120]
comiss xmm6, xmm1
jbe 0x1400468f5
mov r12d, 0xffffffff
movaps xmm5, xmm6
jmp 0x140046917
comiss xmm0, xmm12
jbe 0x140046930
movss xmm0, dword [r14 + 0x120]
movss xmm1, dword [rbp - 0x18]
comiss xmm0, xmm1
jbe 0x140046930
mov r12d, 1
movaps xmm5, xmm0
mov r8, qword [r14 + 0x120]
subss xmm5, xmm1
mov rdx, r15
mov rcx, rsi
call fcn.1400458b0
xor r9d, r9d
test r13, r13
je 0x140046af4
test byte [r13 + 0xc], 4
jne 0x140046af4
cmp byte [r14 + 0x20d4], 0
movss xmm7, dword [rbp - 0x1c]
je 0x140046960
cmp dword [r14 + 0x20f4], edi
je 0x140046a4d
movss xmm2, dword [r14 + 0x1a80]
xor al, al
movss xmm1, dword [r14 + 0x45c]
movaps xmm0, xmm2
andps xmm1, xmmword [0x140051470]
addss xmm0, xmm2
movaps xmm4, xmm2
mulss xmm4, dword [0x140051284]
subss xmm1, xmm0
mulss xmm1, dword [0x140051204]
comiss xmm12, xmm1
jbe 0x1400469a4
xorps xmm3, xmm3
jmp 0x1400469b3
movaps xmm3, xmm2
mulss xmm3, dword [0x1400512a0]
minss xmm3, xmm1
movss xmm0, dword [r14 + 0x124]
movaps xmm1, xmm7
mulss xmm2, dword [0x140051278]
subss xmm1, xmm0
movzx r8d, al
mov eax, 1
subss xmm0, dword [rbp - 0x14]
addss xmm2, xmm3
maxss xmm1, xmm0
comiss xmm1, xmm2
cmovae r8d, eax
comiss xmm5, xmm4
jbe 0x140046a44
test r12d, r12d
jns 0x140046a18
mov rcx, r15
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [rsi + 8]
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test edx, edx
jmp 0x140046a42
jle 0x140046a44
mov rcx, r15
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [rsi + 8]
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, dword [rsi]
dec eax
cmp edx, eax
je 0x140046a4d
test r8b, r8b
je 0x140046af4
lea rcx, [r14 + 0x31d0]
mov qword [rbp - 0x48], r9
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x50], r9
mov dword [rbp - 0x40], 0xffffffff
mov dword [rbp - 0x3c], 0x3f000000
mov byte [rbp - 0x38], 0
mov dword [rbp - 0x60], 2
mov qword [rbp - 0x30], r13
call fcn.140022f10
mov qword [r14 + 0x1d38], r13
mov rdx, r13
mov ecx, dword [r13 + 0x94]
call fcn.1400054a0
movss xmm0, dword [r14 + 0x1d90]
mov rcx, qword [r14 + 0x1d38]
mov rbx, qword [0x1400598b0]
movss xmm1, dword [rcx + 0x50]
movss xmm2, dword [rcx + 0x54]
subss xmm1, xmm6
subss xmm2, xmm7
mov byte [r14 + 0x1d7a], 1
subss xmm0, xmm1
movss dword [r14 + 0x1d90], xmm0
movss xmm0, dword [r14 + 0x1d94]
subss xmm0, xmm2
movss dword [r14 + 0x1d94], xmm0
mov r12, qword [rsp + 0x70]
cmp byte [rsp + 0x50], 0
mov r13, qword [rsp + 0x78]
mov r13, qword [r13 + 0x2f8]
jne 0x140046b41
cmp byte [rsp + 0x51], 0
jne 0x140046b41
cmp byte [rsp + 0x5c], 0
je 0x140046b2d
movzx eax, byte [rsp + 0x64]
xor rax, 1
lea rax, [rax*2 + 0x23]
jmp 0x140046b46
cmp byte [rsp + 0x64], 0
mov eax, 0x24
mov ecx, 0x21
cmovne eax, ecx
jmp 0x140046b46
mov eax, 0x22
add rax, rax
lea rcx, [rbp - 0x80]
movups xmm0, xmmword [rbx + rax*8 + 0x16fc]
movups xmmword [rbp - 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x1638]
movss dword [rbp - 0x74], xmm0
call fcn.140002d00
mov r8d, dword [rsp + 0x54]
lea rdx, [rbp - 0x20]
mov r9d, eax
mov rcx, r13
call fcn.140047100
mov r8d, 1
lea rcx, [rbp - 0x20]
mov edx, edi
call fcn.140004950
mov rbx, qword [0x1400598b0]
cmp byte [rbx + 0x1fa7], 0
mov rcx, qword [rbx + 0x1d18]
je 0x140046be9
cmp byte [rbx + 0x1fa6], 0
jne 0x140046be9
mov eax, dword [rbx + 0x1f58]
mov edx, dword [rcx + 0x164]
cmp eax, edx
jne 0x140046bda
test eax, eax
je 0x140046bda
cmp edx, dword [rcx + 8]
jne 0x140046bd6
cmp byte [rcx + 0xd1], 0
jne 0x140046bda
mov al, 1
jmp 0x140046bdc
xor al, al
test al, al
je 0x140046cd3
jmp 0x140046cb0
mov eax, dword [rcx + 0x168]
test al, 1
je 0x140046cd3
cmp qword [rbx + 0x1d20], rcx
je 0x140046c08
test al, al
jns 0x140046cd3
mov eax, dword [rbx + 0x1d6c]
test eax, eax
je 0x140046c2f
cmp eax, dword [rcx + 0x164]
je 0x140046c2f
cmp byte [rbx + 0x1d79], 0
jne 0x140046c2f
cmp eax, dword [rcx + 0x94]
jne 0x140046cd3
mov rax, qword [rbx + 0x1f50]
test rax, rax
je 0x140046c62
mov rax, qword [rax + 0x3d8]
test rax, rax
je 0x140046c62
cmp byte [rax + 0xd0], 0
je 0x140046c62
cmp rax, qword [rcx + 0x3d8]
je 0x140046c62
test dword [rax + 0xc], 0x8000000
jne 0x140046cd3
mov rax, qword [rbx + 0x1f10]
cmp qword [rcx + 0x38], rax
je 0x140046c8b
mov rax, qword [rbx + 0x1d38]
test rax, rax
je 0x140046cd3
mov rax, qword [rax + 0x3d8]
cmp qword [rcx + 0x3d8], rax
jne 0x140046cd3
test byte [rbx + 0x1d54], 4
jne 0x140046cd3
mov eax, dword [rcx + 0x164]
cmp eax, dword [rcx + 8]
je 0x140046ca7
cmp eax, dword [rcx + 0x94]
jne 0x140046cb0
cmp byte [rcx + 0xd1], 0
jne 0x140046cd3
movss xmm0, dword [rbx + 0x438]
ucomiss xmm0, xmm12
jp 0x140046cc0
je 0x140046cc9
cmp byte [rbx + 0x423], 0
je 0x140046cd3
cmp byte [rsp + 0x60], 0
jne 0x140046cd3
mov dword [rsi + 0x1c], edi
test byte [rsi + 0x10], 8
je 0x140046cde
or dword [rsp + 0x54], 4
cmp qword [rbp - 0x70], 0
je 0x140046d15
mov r8d, edi
lea rcx, str.CLOSE
xor edx, edx
call fcn.140002830
cmp dword [rbx + 0x1d6c], eax
jne 0x140046d04
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140046d17
mov byte [rbx + 0x1dac], 1
jmp 0x140046d17
xor eax, eax
mov ebx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x58]
mov r9, qword [rsi + 0x78]
lea rdx, [rbp - 0x20]
mov r8d, dword [rsp + 0x54]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x51]
mov qword [rsp + 0x40], rcx
mov rcx, r13
mov byte [rsp + 0x38], bl
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
call fcn.140047650
cmp byte [rsp + 0x51], 0
je 0x140046d94
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140046d94
mov byte [rax], 0
test byte [r15 + 4], 1
mov eax, dword [r15]
jne 0x140046d8c
mov byte [r15 + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x140046d94
xor eax, eax
mov dword [r15 + 0x10], 0xffffffff
mov qword [rsi + 0x18], rax
jmp 0x140046d94
cmp dword [rsi + 0x20], eax
je 0x140046d94
mov dword [rsi + 0x1c], eax
cmp byte [rsp + 0x52], 0
je 0x140046da0
call fcn.140008db0
cmp byte [rsp + 0x58], 0
mov rax, qword [rsp + 0x78]
movss dword [rax + 0x118], xmm13
movss dword [rax + 0x11c], xmm14
je 0x140046f5f
cmp dword [r14 + 0x1d58], edi
jne 0x140046f5f
cmp byte [rsp + 0x50], 0
jne 0x140046f5f
movss xmm0, dword [r14 + 0x1d68]
comiss xmm0, dword [r14 + 0x317c]
jbe 0x140046f5f
mov rdx, qword [0x1400598b0]
cmp byte [rdx + 0x1fa7], 0
mov rcx, qword [rdx + 0x1d18]
je 0x140046e46
cmp byte [rdx + 0x1fa6], 0
jne 0x140046e46
mov eax, dword [rdx + 0x1f58]
mov edx, dword [rcx + 0x164]
cmp eax, edx
jne 0x140046e37
test eax, eax
je 0x140046e37
cmp edx, dword [rcx + 8]
jne 0x140046e33
cmp byte [rcx + 0xd1], 0
jne 0x140046e37
mov al, 1
jmp 0x140046e39
xor al, al
test al, al
je 0x140046f5f
jmp 0x140046f1e
mov eax, dword [rcx + 0x168]
test al, 1
je 0x140046f5f
cmp qword [rdx + 0x1d20], rcx
je 0x140046e65
test al, al
jns 0x140046f5f
mov eax, dword [rdx + 0x1d6c]
test eax, eax
je 0x140046e8c
cmp eax, dword [rcx + 0x164]
je 0x140046e8c
cmp byte [rdx + 0x1d79], 0
jne 0x140046e8c
cmp eax, dword [rcx + 0x94]
jne 0x140046f5f
mov rax, qword [rdx + 0x1f50]
test rax, rax
je 0x140046ed0
mov rax, qword [rax + 0x3d8]
test rax, rax
je 0x140046ed0
cmp byte [rax + 0xd0], 0
je 0x140046ed0
cmp rax, qword [rcx + 0x3d8]
je 0x140046ed0
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x140046f5f
bt r8d, 0x1a
jb 0x140046f5f
mov rax, qword [rdx + 0x1f10]
cmp qword [rcx + 0x38], rax
je 0x140046ef9
mov rax, qword [rdx + 0x1d38]
test rax, rax
je 0x140046f5f
mov rax, qword [rax + 0x3d8]
cmp qword [rcx + 0x3d8], rax
jne 0x140046f5f
test byte [rdx + 0x1d54], 4
jne 0x140046f5f
mov eax, dword [rcx + 0x164]
cmp eax, dword [rcx + 8]
je 0x140046f15
cmp eax, dword [rcx + 0x94]
jne 0x140046f1e
cmp byte [rcx + 0xd1], 0
jne 0x140046f5f
test byte [rsi + 0x10], 0x20
jne 0x140046f5f
test byte [r15 + 4], 0x10
jne 0x140046f5f
mov rdx, r12
cmp r12, 0xffffffffffffffff
jae 0x140046f4d
movzx eax, byte [rdx]
test al, al
je 0x140046f4d
cmp al, 0x23
jne 0x140046f44
cmp byte [rdx + 1], al
je 0x140046f4d
inc rdx
cmp rdx, 0xffffffffffffffff
jb 0x140046f34
sub edx, r12d
lea rcx, str._.s
mov r8, r12
call fcn.140012010
cmp byte [rsp + 0x60], 0
movzx ecx, byte [rsp + 0x59]
movzx eax, bl
cmovne eax, ecx
movaps xmm13, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm14, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x180]
mov rdi, qword [rsp + 0x1e8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140049cb0
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret