Function at 0x14003f9f0
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 [0x140064040]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov dword [rbp - 0x5c], r9d
mov qword [rbp - 0x58], r8
mov r13, rcx
mov qword [rbp - 0x20], rcx
mov rbx, qword [0x14014e030]
mov r15, rbx
mov qword [rsp + 0x70], 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 0x14003fe87
mov r12d, dword [rbp + 0x1d8]
mov edi, r12d
shr edi, 0x1a
and dil, 1
mov dword [rsp + 0x5c], edi
mov eax, r12d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x60], 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 + 0x68], eax
mov eax, r12d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x80], eax
test dil, dil
je 0x14003fafe
call fcn.1400192b0
mov rbx, qword [0x14014e030]
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.1400097e0
mov esi, eax
mov dword [rsp + 0x7c], eax
cmp dword [rbx + 0x3ee8], eax
jne 0x14003fb3f
mov r8, r13
mov edx, 0xb
mov ecx, eax
call fcn.140020b60
mov rbx, qword [0x14014e030]
mov rcx, r13
cmp r13, 0xffffffffffffffff
jae 0x14003fb65
movzx edx, byte [rcx]
test dl, dl
je 0x14003fb65
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x14003fb5c
cmp byte [rax], dl
je 0x14003fb65
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x14003fb48
movss xmm0, dword [rbx + 0x3c00]
movss xmm1, dword [0x14005b324]
movss dword [rbp - 0x2c], xmm1
movss xmm9, dword [0x14005b300]
xorps xmm11, xmm11
cmp r13, rcx
jne 0x14003fb91
xorps xmm7, xmm7
jmp 0x14003fbd5
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rbp - 0x78]
mov rcx, qword [rbx + 0x3bf8]
call fcn.140030b40
movss xmm0, dword [rbp - 0x78]
addss xmm0, dword [0x14005b158]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x74]
movss dword [rbp - 0x24], xmm7
test dil, dil
je 0x14003fbf0
movss xmm0, dword [r15 + 0x3c00]
mulss xmm0, dword [0x14005b1fc]
movss xmm6, dword [r15 + 0x3820]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.140019110
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1d0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x78]
call fcn.140019190
comiss xmm7, xmm11
jbe 0x14003fc33
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3834]
jmp 0x14003fc36
xorps xmm1, xmm1
movss xmm12, dword [r14 + 0xfc]
movss dword [rbp - 0x4c], xmm12
movaps xmm0, xmm12
movss xmm7, dword [rbp - 0x74]
movss dword [rbp - 0x28], xmm7
addss xmm0, xmm7
movss xmm8, dword [r14 + 0xf8]
movss dword [rbp - 0x40], xmm8
movaps xmm13, xmm8
movss xmm10, dword [rbp - 0x78]
addss xmm13, xmm10
movss dword [rbp - 0x30], 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, xmm10
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 + 0x88], 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.140018c90
test dil, dil
je 0x14003ff4a
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.140018e00
test al, al
je 0x14003fe82
mov r13d, dword [r15 + 0x4744]
movups xmm0, xmmword [r15 + 0x473c]
movups xmmword [rbp + 0x88], xmm0
movss dword [r14 + 0xf8], xmm8
movss dword [r14 + 0xfc], xmm12
mov rbx, qword [0x14014e030]
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.1400213a0
movups xmm0, xmmword [r15 + 0x3918]
movups xmmword [rbx + 0x38d8], xmm0
movss xmm1, dword [r15 + 0x3824]
mov ecx, 7
call fcn.14000a280
movss xmm1, dword [r15 + 0x3828]
mov ecx, 8
call fcn.14000a280
mov rbx, qword [0x14014e030]
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.1400212b0
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 xmm6, dword [rbp - 0x10]
movss dword [rbp - 0x30], xmm6
movaps xmm0, xmm6
movss xmm8, dword [rbp - 0x18]
movss dword [rbp - 0x40], xmm8
subss xmm0, xmm8
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
mov dword [rsp + 0x20], 4
mov r9b, 1
lea r8, [rbp - 0x78]
mov edx, esi
mov rcx, qword [rbp - 0x20]
call fcn.140010a70
movzx ebx, al
mov ecx, 3
call fcn.14000a300
mov r8, qword [0x14014e030]
movsxd rax, dword [r8 + 0x47e8]
cmp eax, 1
jl 0x14003fe79
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 0x14003feeb
call fcn.140010d20
call fcn.1400193e0
xor al, al
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1400515d0
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 [r15 + 0x3ea0]
mov qword [rbp - 0x48], rbx
movsx ecx, word [rbx + 0x156]
mov eax, dword [rbx + 0x150]
bts ecx, eax
mov word [rbx + 0x156], cx
movss xmm0, dword [r15 + 0x381c]
addss xmm0, dword [rbx + 0xf8]
movss dword [rbx + 0xf8], xmm0
movss xmm1, dword [r15 + 0x3820]
addss xmm1, dword [rbx + 0xfc]
movss dword [rbx + 0xfc], xmm1
subss xmm10, dword [rbx + 0xa4]
jmp 0x14003ff9a
bt r12d, 0x1c
jb 0x14003ff90
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, esi
lea rcx, [rbp + 0x70]
call fcn.140018e00
test al, al
je 0x14003fe87
movss xmm0, dword [rbp - 0x10]
movss dword [rbp - 0x30], xmm0
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x4c], xmm12
movss xmm8, dword [rbp - 0x18]
movss dword [rbp - 0x40], xmm8
mov r13d, dword [r15 + 0x4744]
xor r12d, r12d
mov edx, esi
lea rcx, [rbp - 0x18]
call fcn.14000d6f0
movzx ecx, al
mov byte [rsp + 0x64], al
test al, al
je 0x14003ffbb
mov dword [r15 + 0x4a28], 1
mov rdi, qword [0x14014e030]
test esi, esi
je 0x14003ffd7
cmp dword [rdi + 0x4bc0], esi
jne 0x14003ffd7
add rdi, 0x4bb8
jmp 0x14003ffda
mov rdi, r12
shr r13d, 8
and r13b, 1
mov eax, dword [r15 + 0x3f00]
cmp eax, esi
je 0x140040010
cmp dword [r15 + 0x489c], esi
je 0x140040009
cmp dword [r15 + 0x4890], esi
jne 0x140040010
cmp dword [r15 + 0x48b8], 2
jne 0x140040010
mov byte [rsp + 0x52], 1
jmp 0x140040015
mov byte [rsp + 0x52], 0
test cl, cl
je 0x140040028
cmp byte [r15 + 0x3738], 0
je 0x140040028
mov r12b, 1
jmp 0x14004002b
xor r12b, r12b
mov byte [rsp + 0x51], r12b
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
je 0x14004009b
test rdi, rdi
je 0x14004009b
test eax, eax
jne 0x14004009b
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.1400097e0
mov ebx, eax
mov rcx, qword [0x14014e030]
cmp dword [rcx + 0x3ee8], eax
jne 0x140040088
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.140020b60
cmp dword [r15 + 0x3f30], ebx
jne 0x140040096
mov sil, 1
jmp 0x1400400a8
mov r8d, dword [rsp + 0x5c]
xor sil, sil
test r8b, r8b
je 0x14004011e
test rdi, rdi
je 0x14004011e
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.1400097e0
mov ebx, eax
mov rcx, qword [0x14014e030]
cmp dword [rcx + 0x3ee8], eax
jne 0x1400400f1
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.140020b60
mov r8d, dword [rsp + 0x5c]
cmp dword [r15 + 0x3f00], ebx
jne 0x14004011e
mov cl, 1
mov byte [rsp + 0x59], cl
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x80]
jmp 0x140040146
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
xor cl, cl
mov byte [rsp + 0x59], cl
test r8b, r8b
je 0x140040142
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x80]
jmp 0x140040146
mov byte [rsp + 0x59], cl
test rdi, rdi
je 0x14004015b
movzx eax, r8b
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x14004015b
mov r15b, 1
jmp 0x14004015e
xor r15b, r15b
test r12b, r12b
jne 0x140040188
test sil, sil
jne 0x140040188
cmp byte [rsp + 0x52], sil
jne 0x140040188
test r13b, r13b
jne 0x140040188
mov byte [rsp + 0x50], r13b
test cl, cl
jne 0x14004018d
mov byte [rsp + 0x5a], cl
mov rax, qword [rsp + 0x70]
jmp 0x1400401a3
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x5a], 1
mov rax, qword [rsp + 0x70]
mov edx, dword [rsp + 0x7c]
cmp dword [rax + 0x3f00], edx
jne 0x1400401ac
test r15b, r15b
je 0x1400403fc
lea rdi, [rax + 0x4bb8]
mov dword [rdi + 0xe80], 0xbe99999a
mov rbx, 0xffffffffffffffff
mov rax, qword [rbp - 0x58]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400401d0
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x140040207
test ecx, ecx
je 0x1400401f2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400401f7
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.1400218b0
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 [rsp + 0x7c]
cmp dword [rdi + 8], r14d
jne 0x14004024f
test r15b, r15b
jne 0x14004024f
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x14004024f
cmp byte [rdi + 0x48], r15b
je 0x140040252
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 0x140040252
xor r12b, r12b
mov dword [rdi + 8], r14d
movsxd r14, dword [rbp - 0x5c]
lea ebx, [r14 + 1]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x140040289
test ecx, ecx
je 0x140040274
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140040279
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.140021940
mov dword [rdi + 0x18], ebx
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x1400402ae
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.1400218b0
xor edx, edx
mov dword [rdi + 0x28], edx
mov byte [rdi + 0x48], dl
mov rcx, qword [rbp - 0x58]
mov rsi, rcx
mov r15, qword [rdi + 0x20]
mov rbx, r15
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x140040300
cmp byte [rsi], 0
je 0x1400402fa
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140009b00
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x60]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1400402d0
mov rcx, qword [rbp - 0x58]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, ecx
mov dword [rdi + 0x10], esi
mov r8d, dword [rsp + 0x5c]
test r12b, r12b
je 0x14004033f
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 0x140040386
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], edx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], edx
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], edx
test r8b, r8b
jne 0x1400403de
mov ecx, dword [rbp + 0x1d8]
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 + 0x70]
cmp byte [rsp + 0x52], r8b
je 0x1400403c5
test r12b, r12b
je 0x1400403c1
test byte [rax + 0x48a0], 4
jne 0x1400403c5
mov byte [rsp + 0x54], cl
test r13b, r13b
jne 0x1400403da
cmp byte [rsp + 0x51], r13b
je 0x1400403de
cmp byte [rax + 0xe14], r13b
je 0x1400403de
mov byte [rsp + 0x54], cl
mov r13d, dword [rbp + 0x1d8]
mov r14, qword [rbp - 0x38]
movzx r12d, byte [rsp + 0x51]
bt r13d, 0xd
jae 0x140040403
mov byte [rdi + 0x60], 1
jmp 0x140040403
mov r13d, dword [rbp + 0x1d8]
mov rsi, qword [rsp + 0x70]
mov r15d, dword [rsp + 0x7c]
movzx ebx, byte [rsp + 0x50]
cmp dword [rsi + 0x3f00], r15d
je 0x14004044f
test bl, bl
je 0x140040442
mov rdx, r14
mov ecx, r15d
call fcn.14000d2f0
mov rdx, r14
mov ecx, r15d
call fcn.14001aed0
mov rcx, r14
call fcn.140015d10
mov r8d, dword [rsp + 0x5c]
cmp dword [rsi + 0x3f00], r15d
jne 0x14004055c
test r12b, r12b
je 0x140040472
mov rax, qword [0x14014e030]
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 0x14004048b
test r13b, r13b
jns 0x140040494
or eax, 0xc
mov dword [rsi + 0x4710], eax
mov rax, qword [0x14014e030]
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 0x1400404fc
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 0x140040523
mov rax, qword [0x14014e030]
mov dword [rax + 0x3f4c], r15d
mov dword [rax + 0x3f48], r15d
mov word [rax + 0x3f50], 0
cmp dword [rsi + 0x3f00], r15d
jne 0x14004055c
test rdi, rdi
jne 0x140040536
call fcn.14000d440
cmp dword [rsi + 0x3f00], r15d
jne 0x14004055c
cmp byte [rsi + 0x3738], 0
je 0x140040568
cmp byte [rsp + 0x5a], 0
jne 0x140040568
test bl, bl
jne 0x140040568
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x14004056e
test rdi, rdi
je 0x14004056c
cmp byte [rsp + 0x59], 0
je 0x14004056c
mov cl, 1
jmp 0x14004056e
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x54]
test rdi, rdi
je 0x140040592
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140040589
test r13b, r13b
je 0x140040592
test cl, cl
je 0x140040592
mov r15b, 1
jmp 0x140040595
xor r15b, r15b
mov dword [rsp + 0x54], r15d
movzx r12d, r15b
mov byte [rbp - 0x65], 0
mov byte [rsp + 0x5a], 0
mov eax, dword [rsp + 0x60]
test al, al
je 0x14004069a
test rdi, rdi
je 0x14004069a
test cl, cl
jne 0x1400405c9
test r15b, r15b
je 0x1400406a3
mov r14d, dword [rbp - 0x5c]
inc r14d
mov ecx, dword [rdi + 0x1c]
cmp r14d, ecx
jle 0x1400405fe
test ecx, ecx
je 0x1400405e7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400405ec
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.140021940
mov dword [rdi + 0x18], r14d
mov rcx, qword [rbp - 0x58]
mov rsi, rcx
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, r14d
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x14004064e
nop
cmp byte [rsi], 0
je 0x14004064a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140009b00
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x60]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x140040620
mov rcx, qword [rbp - 0x58]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, ecx
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 + 0x60]
test cl, cl
jne 0x1400406b8
test r15b, r15b
jne 0x1400406b8
mov r12, qword [rsp + 0x70]
mov ebx, dword [rsp + 0x7c]
cmp dword [r12 + 0x3f00], ebx
jne 0x1400406d3
jmp 0x1400406c1
mov ebx, dword [rsp + 0x7c]
mov r12, qword [rsp + 0x70]
test al, al
jne 0x1400406d3
test rdi, rdi
je 0x1400406d3
cmp byte [rdi + 0x48], al
mov byte [rbp - 0x66], 1
jne 0x1400406d7
mov byte [rbp - 0x66], 0
cmp byte [rbp - 0x50], 0
je 0x140040771
mov rdx, qword [r12 + 0x3bf8]
cmp dword [rdx + 0x18], 0x2a
ja 0x1400406f5
mov r8, qword [rdx + 0x38]
jmp 0x140040719
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x14004070d
mov r8, qword [rdx + 0x38]
jmp 0x140040719
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 + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3bf8]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3bf8]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], 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.1400160d0
xor ecx, ecx
mov dword [rbp - 0x60], ecx
movss xmm0, dword [0x14005b120]
cmp dword [r12 + 0x3f00], ebx
jne 0x140040cb7
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x60], eax
mov byte [rdi + 0xe86], cl
mov eax, dword [rbp - 0x5c]
mov dword [rdi + 0x4c], eax
mov esi, dword [rbp + 0x1d8]
mov dword [rdi + 0xe88], esi
cmp byte [r12 + 0xe04], cl
sete al
mov byte [r12 + 0x3f0d], al
mov ecx, 1
mov dword [r12 + 0x5dc4], ecx
movss xmm6, dword [r12 + 0xdfc]
subss xmm6, xmm8
subss xmm6, dword [r12 + 0x381c]
addss xmm6, dword [rdi + 0x50]
cmp byte [rsp + 0x5c], 0
je 0x140040807
movss xmm2, dword [r12 + 0xe00]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xfc]
jmp 0x140040815
movss xmm2, dword [r12 + 0x3c00]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0x79]
test r13b, r13b
je 0x14004083f
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 0x140040b33
movzx eax, byte [rsp + 0x64]
test al, al
je 0x1400409f3
cmp word [r12 + 0x3742], 2
jb 0x1400409f3
cmp byte [r12 + 0xe15], 0
jne 0x1400409f3
cmp byte [rdi + 0x6b], 0
je 0x140040885
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.14003d630
movss xmm2, dword [rbp + 0x7c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.14003dc60
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 0x140040963
test eax, eax
je 0x1400408c9
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x1400408c9
xor cl, cl
jmp 0x1400408cb
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1400408d7
test cl, cl
jne 0x1400408fa
lea rdx, [rdi + 0x54]
mov r8d, 0x20000c
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140040915
cmp dword [rdi + 0x58], eax
jne 0x140040912
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x140040915
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.14003d7f0
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 0x14004094c
cmp ecx, eax
jle 0x14004093c
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x140040945
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x14004094c
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x1400409e8
mov dword [rdi + 0x54], eax
mov esi, dword [rbp + 0x1d8]
jmp 0x140040b21
mov rcx, qword [rdi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e110
cmp bx, 0xa
je 0x1400409e1
cmp byte [rsp + 0x5c], 0
je 0x1400409e1
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 + 0x1d8]
jmp 0x140040b21
cmp byte [r12 + 0x3738], 0
je 0x140040aa9
cmp byte [rdi + 0xe85], 0
jne 0x140040aa9
test al, al
je 0x140040b30
cmp byte [r12 + 0xe15], 0
je 0x140040a6a
cmp byte [rdi + 0x6b], 0
je 0x140040a3c
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.14003d630
movss xmm2, dword [rbp + 0x7c]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x140040a4d
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.14003dc60
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x140040b21
cmp byte [rdi + 0x6b], 0
je 0x140040a84
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.14003d630
movss xmm2, dword [rbp + 0x7c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.14003dc60
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 [rcx + rdx], eax
jmp 0x140040b21
cmp byte [r12 + 0xe04], 0
je 0x140040b30
cmp byte [rdi + 0xe85], 0
jne 0x140040b30
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm11
jp 0x140040ae1
jne 0x140040ae1
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm11
jp 0x140040ae1
je 0x140040b30
cmp byte [rdi + 0x6b], 0
je 0x140040afb
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.14003d630
movss xmm2, dword [rbp + 0x7c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140040b09
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.14003dc60
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 0x140040b4e
cmp byte [r12 + 0xe04], 0
jne 0x140040b4e
mov byte [rdi + 0xe85], 0
cmp byte [r12 + 0xe14], 0
je 0x140040b64
cmp byte [r12 + 0xe16], 0
je 0x140040b74
test r14b, r14b
je 0x140040b78
cmp byte [r12 + 0xe17], 0
je 0x140040b78
mov bl, 1
jmp 0x140040b7a
xor bl, bl
bt esi, 0xa
jae 0x140040beb
mov r8d, ecx
xor edx, edx
mov ecx, 0x200
call fcn.140016cc0
test al, al
mov eax, dword [rsp + 0x60]
je 0x140040bef
test bl, bl
jne 0x140040bef
cmp byte [r12 + 0xe15], bl
jne 0x140040bef
test al, al
jne 0x140040bef
mov dword [rsp + 0x6c], 9
mov dword [rsp + 0x20], 2
mov edx, esi
lea rcx, [rsp + 0x6c]
call fcn.14003f570
test al, al
je 0x140040beb
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x6c]
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x37b0], 0
jle 0x140040cb7
test bl, bl
jne 0x140040c85
test al, al
jne 0x140040c85
cmp byte [rsp + 0x52], al
jne 0x140040c85
mov esi, r13d
mov rbx, r13
mov r15d, dword [rbp + 0x1d8]
nop dword [rax]
mov rax, qword [r12 + 0x37b8]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x6c], ecx
cmp ecx, 9
je 0x140040c70
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rsp + 0x6c]
call fcn.14003f570
test al, al
je 0x140040c70
lea rdx, [rdi + 0x54]
mov r8d, dword [rsp + 0x6c]
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37b0]
jl 0x140040c20
mov r15d, dword [rsp + 0x54]
mov ecx, dword [r12 + 0x37b4]
test ecx, ecx
jns 0x140040caf
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.140021940
mov dword [r12 + 0x37b0], r13d
xor r14b, r14b
mov byte [rsp + 0x78], r14b
lea rcx, [0x140054888]
mov r13d, dword [rsp + 0x7c]
cmp dword [r12 + 0x3f00], r13d
jne 0x140041885
cmp byte [r12 + 0x3f0c], r14b
jne 0x140041885
cmp byte [rsp + 0x58], r14b
jne 0x140041885
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 + 0x6c], 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 - 0x64], sil
test sil, sil
je 0x140040d73
movzx eax, byte [r12 + 0xe16]
mov byte [rsp + 0x52], al
cmp byte [r12 + 0xe17], 0
je 0x140040d80
cmp byte [r12 + 0xe14], 0
jne 0x140040d80
test al, al
jne 0x140040d80
mov byte [rsp + 0x51], r14b
jmp 0x140040d85
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.140018ab0
test al, al
jne 0x140040dad
mov r8d, r14d
mov edx, r13d
mov ecx, 0x220a
call fcn.140018ab0
test al, al
je 0x140040dd9
mov r15d, dword [rsp + 0x60]
mov r12d, dword [rbp - 0x50]
mov r14d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x140040de7
test r12b, r12b
jne 0x140040de7
test r14b, r14b
je 0x140040dd2
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x140040de7
mov byte [rsp + 0x59], 1
jmp 0x140040dec
mov r14d, dword [rsp + 0x5c]
mov r15d, dword [rsp + 0x60]
mov r12d, dword [rbp - 0x50]
mov byte [rsp + 0x59], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.140018ab0
test al, al
jne 0x140040e14
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.140018ab0
test al, al
je 0x140040e2c
test r12b, r12b
jne 0x140040e2c
test r14b, r14b
je 0x140040e26
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x140040e2c
mov byte [rbp - 0x67], 1
jmp 0x140040e30
mov byte [rbp - 0x67], 0
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.140018ab0
test al, al
jne 0x140040e5e
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.140018ab0
test al, al
je 0x140040e68
test r15b, r15b
mov byte [rsp + 0x64], r12b
je 0x140040e6d
mov byte [rsp + 0x64], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.140018ab0
mov r14d, dword [rsp + 0x68]
test al, al
je 0x140040e94
test r15b, r15b
jne 0x140040e94
test r14b, r14b
mov byte [rbp - 0x68], r12b
jne 0x140040e98
mov byte [rbp - 0x68], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.140018ab0
test al, al
jne 0x140040ec5
test sil, sil
je 0x140040ecf
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.140018ab0
test al, al
je 0x140040ecf
test r15b, r15b
jne 0x140040ecf
test r14b, r14b
jne 0x140040ed2
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.140018ab0
movzx r13d, al
mov rax, qword [rsp + 0x70]
test byte [rax + 8], 2
je 0x140040efc
test byte [rax + 0xc], 1
je 0x140040efc
mov sil, 1
jmp 0x140040eff
xor sil, sil
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.140016cc0
test al, al
jne 0x140040f30
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.140016cc0
test al, al
jne 0x140040f30
xor r15b, r15b
jmp 0x140040f34
movzx r15d, r14b
test sil, sil
je 0x140040f5f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140016cc0
test al, al
jne 0x140040f62
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140016cc0
test al, al
jne 0x140040f62
xor r14b, r14b
mov r8d, 1
mov edx, dword [rsp + 0x7c]
mov ecx, 0x20e
call fcn.140018ab0
test al, al
jne 0x140040f9c
test sil, sil
je 0x140040f97
mov r8d, 1
mov edx, dword [rsp + 0x7c]
mov ecx, 0x26c
call fcn.140018ab0
test al, al
jne 0x140040f9c
xor sil, sil
jmp 0x140040f9f
mov sil, 1
xor edx, edx
mov ecx, 0x201
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x140041001
cmp byte [rsp + 0x51], 0
je 0x140040fc3
mov eax, 0x200004
jmp 0x140040fd5
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.14003e110
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x70]
jmp 0x140041852
xor edx, edx
mov ecx, 0x202
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x14004103d
cmp byte [rsp + 0x51], 0
je 0x140041027
mov ecx, 0x200005
or ebx, ecx
jmp 0x140040fd7
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x140040fd7
xor edx, edx
mov ecx, 0x203
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x1400410d2
cmp byte [rsp + 0x5c], 0
je 0x1400410d2
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe14], 0
je 0x1400410a0
mov rdx, qword [rbp - 0x48]
movss xmm0, dword [rdx + 0x80]
subss xmm0, dword [r12 + 0x3c00]
maxss xmm0, xmm11
movss dword [rdx + 0x90], xmm0
xor eax, eax
mov dword [rdx + 0x98], eax
mov dword [rdx + 0xa0], eax
jmp 0x140041852
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x140041852
xor edx, edx
mov ecx, 0x204
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x140041158
cmp byte [rsp + 0x5c], 0
je 0x140041158
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe14], 0
je 0x140041146
mov rax, qword [0x14014e030]
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 0x140041852
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200003]
jmp 0x1400410ad
xor edx, edx
mov ecx, 0x205
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x1400411bd
cmp byte [rsp + 0x5c], 0
je 0x1400411bd
or ebx, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x6c]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x3c00]
subss xmm9, xmm0
jmp 0x140041852
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x140041222
cmp byte [rsp + 0x5c], 0
je 0x140041222
or ebx, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x6c]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x3c00]
addss xmm9, xmm0
jmp 0x140041852
xor edx, edx
mov ecx, 0x207
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x14004125e
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe14], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x1400410b0
xor edx, edx
mov ecx, 0x208
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x14004129b
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe14], 0
cmovne r8d, eax
jmp 0x1400410b0
xor edx, edx
mov ecx, 0x20a
mov r8d, 1
call fcn.140016cc0
test al, al
je 0x1400412ca
cmp byte [rsp + 0x60], 0
jne 0x1400412ca
cmp byte [rsp + 0x59], 0
jne 0x1400412ca
or ebx, 0x200008
jmp 0x140040fd7
xor edx, edx
mov ecx, 0x20b
mov r8d, 1
call fcn.140016cc0
mov r8d, dword [rsp + 0x60]
test al, al
je 0x140041394
test r8b, r8b
jne 0x140041394
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140041324
cmp byte [rsp + 0x52], r8b
je 0x140041337
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x1400410b0
cmp byte [rbp - 0x64], 0
je 0x140041324
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe17], 0
je 0x140041329
cmp byte [r12 + 0xe16], 0
jne 0x140041329
cmp byte [r12 + 0xe14], 0
jne 0x140041329
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.14003e110
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x1400410b0
test r15b, r15b
jne 0x1400417bc
test r14b, r14b
jne 0x1400417bc
test sil, sil
je 0x140041400
test dword [rbp + 0x1d8], 0x100000
je 0x1400413e0
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x1400413cd
mov byte [rsp + 0x54], r14b
mov byte [rsp + 0x50], r14b
mov byte [rsp + 0x58], 1
setg r14b
mov byte [rsp + 0x78], r14b
mov r12, qword [rsp + 0x70]
jmp 0x140041855
mov r14b, 1
mov byte [rsp + 0x78], r14b
mov byte [rsp + 0x58], r14b
xor r15b, r15b
xor cl, cl
mov byte [rsp + 0x50], cl
mov r12, qword [rsp + 0x70]
jmp 0x14004185f
movzx eax, byte [rbp - 0x68]
test al, al
jne 0x140041794
test r12b, r12b
jne 0x140041794
test r13b, r13b
je 0x14004143d
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 + 0x70]
jmp 0x140041852
movzx r12d, byte [rsp + 0x59]
test r12b, r12b
jne 0x1400415e4
cmp byte [rbp - 0x67], r12b
jne 0x1400415e4
cmp byte [rsp + 0x64], r12b
je 0x140040ff7
mov rcx, qword [0x14014e030]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x140041492
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x140040ff7
mov rcx, qword [0x14014e030]
jmp 0x140041499
lea rbx, [0x140054888]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400414a0
test rcx, rcx
je 0x1400414b4
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 0x140041527
mov rsi, rax
mov r15d, dword [rbp + 0x1d8]
nop
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.140009b00
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rsp + 0x6c]
call fcn.14003f570
test al, al
je 0x14004151e
movzx eax, word [rsp + 0x6c]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x1400414e0
mov r15, qword [rbp - 0x78]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x1400415ba
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x14004155e
cmp ecx, eax
jle 0x14004154e
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x140041557
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x14004155e
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x140041566
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e070
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.14003dad0
test al, al
je 0x1400415b3
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.14003f060
test rax, rax
je 0x1400415ab
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 0x1400415d1
mov rax, qword [0x14014e030]
test rax, rax
je 0x1400415d1
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 + 0x70]
jmp 0x140041852
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0xb8], 0
je 0x140041742
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x140041610
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r13d, r13d
jmp 0x140041619
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
nop word [rax + rax]
test r8, r8
je 0x14004164a
cmp rdx, r8
jae 0x14004166d
movzx eax, word [rdx]
test ax, ax
je 0x14004166d
add rdx, 2
cmp ax, r10w
jae 0x140041660
inc ecx
jmp 0x140041640
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x140041640
inc ecx
mov rax, qword [0x14014e030]
test rax, rax
je 0x140041681
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 0x1400416fc
mov r13d, 0x80
test r11, r11
je 0x1400416c2
cmp r10, r11
jae 0x1400416f9
movzx eax, word [r10]
test ax, ax
je 0x1400416f9
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x1400416df
mov byte [r9], r8b
inc r9
jmp 0x1400416f4
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140009cb0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x1400416b8
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x14014e030]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x140041727
mov rdx, r15
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x14014e030]
test r15, r15
je 0x140041737
test rax, rax
je 0x140041737
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140041745
xor r13d, r13d
test r12b, r12b
je 0x140040ff7
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140041767
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 eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x140040ff7
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e070
mov byte [rdi + 0x6a], 0
mov r12, qword [rsp + 0x70]
jmp 0x140041852
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.14003e110
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x140040fe6
mov edx, dword [rbp + 0x1d8]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x5c]
mov r12, qword [rsp + 0x70]
test cl, cl
je 0x1400417e9
test r14b, r14b
jne 0x1400417e9
test al, al
je 0x14004180d
cmp byte [r12 + 0xe14], r14b
jne 0x140041818
mov byte [rsp + 0x5a], 1
cmp byte [r12 + 0x7c], 0
je 0x14004184d
test cl, cl
jne 0x14004184d
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 0x140041852
cmp byte [r12 + 0xe14], 0
jne 0x1400417e9
test r8b, r8b
jne 0x140040ff7
mov dword [rsp + 0x6c], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x6c]
call fcn.14003f570
test al, al
je 0x140040ff7
mov r8d, dword [rsp + 0x6c]
jmp 0x1400410b0
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 0x14004186f
test cl, cl
je 0x14004186f
mov al, 1
jmp 0x140041871
xor al, al
or r15b, al
mov dword [rsp + 0x54], r15d
mov r13d, dword [rsp + 0x7c]
lea rcx, [0x140054888]
xor r10d, r10d
mov qword [rbp - 0x78], r10
mov dword [rsp + 0x68], r10d
cmp dword [r12 + 0x3f00], r13d
jne 0x140042015
mov r15d, dword [rsp + 0x60]
test r15b, r15b
jne 0x140041b37
test r14b, r14b
je 0x140041a9a
test dword [rbp + 0x1d8], 0x100000
je 0x140041921
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x68], r10d
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.14003f1b0
mov r9, rax
test rax, rax
je 0x140041905
test ebx, ebx
jle 0x140041905
xor eax, eax
mov edx, eax
mov rax, qword [rdi + 0x20]
movzx ecx, word [rax + rdx*2]
mov word [r9 + rdx*2], cx
inc rdx
cmp rdx, rbx
jl 0x1400418f0
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.14003da00
xor eax, eax
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x54], eax
jmp 0x140041a9a
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x58]
mov r8, r9
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140041943
inc rax
test ecx, ecx
jne 0x140041930
test edx, edx
je 0x140041a9a
mov r12, r9
mov qword [rbp - 0x78], r9
mov eax, dword [rdi + 0x38]
dec eax
mov dword [rsp + 0x68], eax
mov qword [rbp + 0x70], r10
mov r15d, r10d
mov r13, r10
mov qword [rbp + 0x78], r10
test eax, eax
jle 0x140041a5a
movsxd rsi, eax
add rsi, r9
mov rbx, r9
mov r14d, r10d
nop dword [rax]
test rsi, rsi
je 0x14004198a
cmp rbx, rsi
jae 0x1400419a9
cmp byte [rbx], 0
je 0x1400419a9
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140009b00
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x140041980
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x1400419ed
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x1400419ed
mov rax, qword [0x14014e030]
test rax, rax
je 0x1400419d7
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 rax, dword [rsp + 0x68]
lea r14, [r12 + rax]
mov rbx, r12
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x140041a4d
test r14, r14
je 0x140041a1d
cmp rbx, r14
jae 0x140041a49
cmp byte [rbx], 0
je 0x140041a49
mov r8, r14
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.140009b00
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rsp + 0x6c]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x140041a13
mov eax, dword [rsp + 0x68]
xor r10d, r10d
mov word [rsi], r10w
movzx r14d, byte [rsp + 0x78]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r10d
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.14003f4b0
nop
test r13, r13
je 0x140041a95
mov rax, qword [0x14014e030]
test rax, rax
je 0x140041a8b
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r15d, dword [rsp + 0x60]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x140041ad3
test ecx, ecx
je 0x140041abe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140041ac3
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.1400218b0
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 0x140041b30
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x140041b2b
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x140041b10
mov byte [r9], r8b
inc r9
jmp 0x140041b26
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140009cb0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x140041af3
mov r15d, dword [rsp + 0x60]
mov byte [r9], 0
xor r10d, r10d
test r14b, r14b
je 0x140041bca
cmp byte [rsp + 0x5a], 0
je 0x140041b53
mov esi, dword [rbp + 0x1d8]
test sil, 0x20
jne 0x140041bd0
mov r12d, dword [rbp - 0x80]
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x78]
mov ecx, dword [rsp + 0x68]
test rsi, rsi
je 0x140042006
test r12b, r12b
je 0x140041fd6
mov qword [rbp + 0x40], r10
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov dword [rbp + 0x30], 0x40000
mov eax, dword [rbp + 0x1d8]
mov dword [rbp + 0x34], eax
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x50], ecx
lea eax, [rcx + 1]
cmp dword [rbp - 0x5c], eax
cmovge eax, dword [rbp - 0x5c]
mov dword [rbp + 0x54], eax
mov qword [rbp + 0x38], r10
lea rcx, [rbp + 0x30]
call r10
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 0x140041fd9
mov esi, dword [rbp + 0x1d8]
test esi, 0x801c0
je 0x140041f7c
mov ebx, r10d
mov r14d, 1
test sil, 0x40
je 0x140041c0d
mov r8d, r14d
xor edx, edx
mov ecx, 0x200
call fcn.140016cc0
test al, al
je 0x140041c0d
mov eax, 0x40
mov ebx, 0x200
xor r10d, r10d
jmp 0x140041c88
test sil, sil
jns 0x140041c5e
mov r8d, r14d
xor edx, edx
mov ecx, 0x203
call fcn.140016cc0
test al, al
je 0x140041c38
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x203
xor r10d, r10d
jmp 0x140041c8e
mov r8d, r14d
xor edx, edx
mov ecx, 0x204
call fcn.140016cc0
test al, al
je 0x140041c5e
mov r11d, 0x80
mov eax, r11d
mov ebx, 0x204
xor r10d, r10d
jmp 0x140041c8e
mov eax, 0x80000
test eax, esi
je 0x140041c75
cmp byte [rdi + 0xe86], 0
je 0x140041c75
xor r10d, r10d
jmp 0x140041c88
mov ecx, 0x100
test ecx, esi
mov r10d, 0
mov eax, r10d
cmovne eax, ecx
mov r11d, 0x80
test eax, eax
je 0x140041f7c
mov dword [rbp + 8], r10d
mov qword [rbp + 0x21], r10
mov dword [rbp + 0x29], r10d
mov word [rbp + 0x2d], r10w
mov byte [rbp + 0x2f], 0
mov dword [rbp - 8], eax
mov dword [rbp - 4], esi
mov qword [rbp], r10
test r15b, r15b
mov rax, qword [rbp - 0x58]
jne 0x140041cc2
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], 0
mov rdx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r10d
mov r9d, 0x800
test r8, r8
je 0x140041cfb
cmp rcx, r8
jae 0x140041d1e
movzx eax, word [rcx]
test ax, ax
je 0x140041d1e
add rcx, 2
cmp ax, r11w
jae 0x140041d11
inc ebx
jmp 0x140041cf1
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x140041cf1
mov dword [rbp + 0x24], ebx
movsxd rax, dword [rdi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r14d, r10d
nop
test r8, r8
je 0x140041d3a
cmp rcx, r8
jae 0x140041d5f
movzx eax, word [rcx]
test ax, ax
je 0x140041d5f
add rcx, 2
cmp ax, r11w
jae 0x140041d51
inc r14d
jmp 0x140041d30
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x140041d30
mov dword [rbp + 0x28], r14d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [rdx + rax*2]
mov r15d, r10d
nop
test rcx, rcx
je 0x140041d7a
cmp rdx, rcx
jae 0x140041d9f
movzx eax, word [rdx]
test ax, ax
je 0x140041d9f
add rdx, 2
cmp ax, r11w
jae 0x140041d91
inc r15d
jmp 0x140041d70
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x140041d70
mov dword [rbp + 0x2c], r15d
lea rcx, [rbp - 8]
call r10
movzx r13d, byte [rbp + 0x20]
movsxd rcx, dword [rbp + 0x24]
cmp ecx, ebx
jne 0x140041dbc
test r13b, r13b
je 0x140041e07
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor edx, edx
mov r12d, edx
nop dword [rax]
test rsi, rsi
je 0x140041dda
cmp rbx, rsi
jae 0x140041df9
cmp byte [rbx], 0
je 0x140041df9
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140009b00
movsxd rcx, eax
add rbx, rcx
inc r12d
jmp 0x140041dd0
mov dword [rdi + 0x54], r12d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 0x24]
movsxd rax, dword [rbp + 0x28]
cmp eax, r14d
jne 0x140041e15
test r13b, r13b
je 0x140041e60
cmp eax, ecx
jne 0x140041e1f
mov r14d, dword [rdi + 0x54]
jmp 0x140041e5c
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rax]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rsi, rsi
je 0x140041e3a
cmp rbx, rsi
jae 0x140041e59
cmp byte [rbx], 0
je 0x140041e59
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140009b00
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x140041e30
mov eax, dword [rbp + 0x28]
mov dword [rdi + 0x58], r14d
movsxd rcx, dword [rbp + 0x2c]
cmp ecx, r15d
jne 0x140041e72
test r13b, r13b
je 0x140041f82
cmp ecx, eax
jne 0x140041ec5
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x140041f82
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.14003f790
mov ebx, dword [rbp + 0x18]
mov eax, dword [rbp - 0x60]
mov r12d, dword [rbp - 0x80]
cmp ebx, eax
jle 0x140041f13
test r12b, r12b
je 0x140041f13
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x140041f10
test ecx, ecx
je 0x140041efb
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140041f00
mov rbx, qword [rbp + 0x10]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x140041edc
cmp rbx, rsi
jae 0x140041e7a
cmp byte [rbx], 0
je 0x140041e7a
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140009b00
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x140041ed2
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.140021940
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 0x140041f5a
nop
cmp byte [rsi], 0
je 0x140041f5a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140009b00
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x60]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x140041f30
xor r10d, r10d
mov word [rbx], r10w
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 0x140041f89
mov r12d, dword [rbp - 0x80]
jmp 0x140041f8e
xor r10d, r10d
mov r12d, dword [rbp - 0x80]
mov r15d, dword [rsp + 0x60]
mov r14, qword [rbp - 0x58]
test r15b, r15b
jne 0x140041b5b
mov r9, qword [rdi + 0x30]
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 0x140041fc3
inc rax
test ecx, ecx
jne 0x140041fb0
test edx, edx
je 0x140041b5b
mov rsi, r9
mov ecx, dword [rdi + 0x10]
jmp 0x140041b63
mov edx, dword [rbp - 0x5c]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x140042002
jbe 0x140041ffc
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 - 0x65], 1
mov r13d, dword [rsp + 0x7c]
mov r15d, dword [rsp + 0x54]
mov r12, qword [rsp + 0x70]
cmp byte [rsp + 0x58], 0
je 0x14004202b
cmp dword [r12 + 0x3f00], r13d
jne 0x14004202b
call fcn.14000d440
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
jne 0x1400420f2
mov r8d, 1
mov edx, r13d
lea rcx, [rbp - 0x18]
call fcn.14000b3d0
mov rax, qword [0x14014e030]
movups xmm0, xmmword [rax + 0x3918]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.140009d70
mov r8d, eax
movss xmm0, dword [r12 + 0x3824]
movss dword [rsp + 0x20], xmm0
mov rdx, qword [rbp - 0x10]
movaps xmm1, xmm8
unpcklps xmm1, xmm12
movq rcx, xmm1
call fcn.14000b100
movaps xmm15, xmm10
addss xmm15, xmm8
movss dword [rbp + 0x78], xmm15
movaps xmm14, xmm12
addss xmm14, xmm7
movss dword [rbp + 0x7c], xmm14
movaps xmm13, xmm8
addss xmm13, dword [r12 + 0x381c]
movaps xmm0, xmm12
addss xmm0, dword [r12 + 0x3820]
movss dword [rsp + 0x6c], xmm15
movss dword [rbp - 0x60], xmm14
mov r11d, dword [rsp + 0x5c]
mov r8, qword [rbp - 0x48]
jmp 0x140042136
movaps xmm2, xmm10
addss xmm2, xmm8
movss dword [rsp + 0x6c], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm12
addss xmm1, xmm7
movss dword [rbp - 0x60], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x7c], xmm1
mov r8, qword [rbp - 0x48]
movss xmm13, dword [r8 + 0xf8]
movss xmm0, dword [r8 + 0xfc]
movss dword [rbp + 0x74], xmm12
movss dword [rbp + 0x70], xmm8
movss dword [rbp + 0x68], xmm13
movss dword [rbp + 0x6c], xmm0
xorps xmm4, xmm4
movss dword [rsp + 0x68], xmm4
xorps xmm8, xmm8
movss dword [rbp - 0x80], xmm8
cmp byte [rbp - 0x66], 0
je 0x140042170
mov r13, qword [rdi + 0x30]
mov qword [rbp - 0x58], r13
jmp 0x140042174
mov r13, qword [rbp - 0x58]
movzx eax, byte [rsp + 0x50]
test al, al
jne 0x14004235d
test r15b, r15b
jne 0x14004235d
test r11b, r11b
je 0x1400421e6
xor r15d, r15d
mov ecx, r15d
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x1400421b7
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x1400421a2
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x1400421c7
cmp al, 0xd
je 0x1400421c7
inc ecx
movd xmm8, ecx
cvtdq2ps xmm8, xmm8
mulss xmm8, dword [r12 + 0x3c00]
movss dword [rbp - 0x80], xmm8
movaps xmm6, xmm10
jmp 0x140042229
mov eax, dword [rsp + 0x7c]
cmp dword [r12 + 0x3f00], eax
jne 0x1400421fa
movsxd rsi, dword [rdi + 0x10]
jmp 0x14004220b
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + r13], 0
jne 0x140042201
add rsi, r13
mov rax, rsi
sub rax, r13
movss xmm6, dword [rsp + 0x68]
xor r15d, r15d
cmp rax, 0x200000
jge 0x140042c4b
mov rax, qword [0x14014e030]
movups xmm0, xmmword [rax + 0x38a8]
movups xmmword [rbp - 0x18], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0xc], xmm0
lea rcx, [rbp - 0x18]
call fcn.140009d70
mov r9d, eax
mov r8, qword [r8 + 0x290]
lea rdx, [rbp + 0x70]
test r11b, r11b
cmovne rdx, r15
mov rcx, rsi
movss xmm2, dword [r12 + 0x3c00]
mov r10, qword [r12 + 0x3bf8]
test eax, 0xff000000
je 0x140042c4b
test rsi, rsi
jne 0x1400422a3
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x140042296
add rcx, r13
cmp r13, rcx
je 0x140042c4b
test r10, r10
jne 0x1400422b9
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm11, xmm11
ucomiss xmm2, xmm11
jp 0x1400422ce
jne 0x1400422ce
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm0
test rdx, rdx
je 0x14004231a
movss xmm0, dword [rbp - 0x18]
maxss xmm0, dword [rdx]
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rbp - 0x14]
maxss xmm1, dword [rdx + 4]
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rbp - 0x10]
minss xmm0, dword [rdx + 8]
movss dword [rbp - 0x10], xmm0
movss xmm1, dword [rbp - 0xc]
minss xmm1, dword [rdx + 0xc]
movss dword [rbp - 0xc], xmm1
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm11
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.140030d60
movss xmm8, dword [0x14005b160]
jmp 0x140042c73
movsxd rsi, dword [rdi + 0x10]
add rsi, r13
mov qword [rbp - 0x78], rsi
mov r15, qword [rdi + 0x20]
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r10d, r10d
mov r9d, r10d
mov ebx, r10d
mov r8d, 0xfffffc18
mov r14d, r8d
mov edx, r10d
test al, al
je 0x14004239e
movsxd rax, dword [rdi + 0x54]
lea r9, [r15 + rax*2]
mov edx, 1
mov r8d, 0xffffffff
cmp byte [rsp + 0x54], bl
je 0x1400423bd
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea rbx, [r15 + rax*2]
mov r14d, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x14004240d
nop
cmp cx, 0xa
jne 0x140042401
inc r10d
cmp r8d, 0xffffffff
jne 0x1400423ed
cmp rax, r9
jb 0x1400423ed
mov r8d, r10d
dec edx
test edx, edx
jle 0x14004240d
cmp r14d, 0xffffffff
jne 0x140042401
cmp rax, rbx
jb 0x140042401
mov r14d, r10d
dec edx
test edx, edx
jle 0x14004240d
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x1400423d0
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp r14d, 0xffffffff
cmove r14d, r10d
mov rdx, r9
cmp r9, r15
jbe 0x140042442
nop dword [rax + rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x140042442
mov rdx, rax
cmp rax, r15
ja 0x140042430
mov r8, qword [r12 + 0x3bf8]
movss xmm2, dword [r12 + 0x3c00]
divss xmm2, dword [r8 + 0x14]
movaps xmm11, xmm4
movss dword [rbp - 0x5c], xmm4
movaps xmm1, xmm4
cmp rdx, r9
jae 0x1400424c3
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x140042486
maxss xmm11, xmm1
movaps xmm1, xmm4
jmp 0x1400424a9
cmp ecx, 0xd
je 0x1400424a9
cmp ecx, dword [r8]
jge 0x14004249b
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x1400424a1
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, r9
jb 0x140042470
movss dword [rbp - 0x5c], xmm11
comiss xmm1, xmm11
jbe 0x1400424c3
movaps xmm11, xmm1
movss dword [rbp - 0x5c], xmm1
movss xmm0, dword [r12 + 0x3c00]
movd xmm12, r11d
cvtdq2ps xmm12, xmm12
mulss xmm12, xmm0
movss dword [rbp - 0x38], xmm12
test r14d, r14d
js 0x14004257b
mov rdx, rbx
cmp rbx, r15
jbe 0x140042504
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x140042504
mov rdx, rax
cmp rax, r15
ja 0x1400424f2
movaps xmm2, xmm0
divss xmm2, dword [r8 + 0x14]
movaps xmm6, xmm4
movaps xmm1, xmm4
cmp rdx, rbx
jae 0x140042565
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x140042535
maxss xmm6, xmm1
movaps xmm1, xmm4
jmp 0x140042558
cmp ecx, 0xd
je 0x140042558
cmp ecx, dword [r8]
jge 0x14004254a
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140042550
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, rbx
jb 0x140042520
comiss xmm1, xmm6
jbe 0x140042565
movaps xmm6, xmm1
movss xmm0, dword [r12 + 0x3c00]
movd xmm7, r14d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
je 0x1400425a0
movd xmm8, r10d
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm0
movss dword [rbp - 0x80], xmm8
movss dword [rsp + 0x68], xmm10
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x1400426db
cmp byte [rdi + 0xe84], 0
je 0x1400426db
test dword [rbp + 0x1d8], 0x1000
jne 0x14004261a
movaps xmm0, xmm10
mulss xmm0, dword [0x14005b104]
subss xmm10, dword [r12 + 0x381c]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x1400425fa
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x140042608
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x14004261f
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x14004261f
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x1400426ce
movaps xmm0, xmm12
subss xmm0, dword [r12 + 0x3c00]
movss xmm3, dword [rbp - 0x28]
comiss xmm9, xmm0
jbe 0x14004264c
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x14004267d
movss xmm2, dword [r12 + 0x3820]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm12
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x14004267d
movaps xmm9, xmm12
subss xmm9, xmm3
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x3820]
comiss xmm4, xmm9
jbe 0x140042692
movaps xmm2, xmm4
jmp 0x1400426a8
addss xmm2, xmm2
addss xmm2, xmm8
subss xmm2, xmm3
maxss xmm2, xmm4
minss xmm2, xmm9
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 xmm13, dword [rbp + 0x68]
movss xmm10, dword [rdi + 0x50]
cmp byte [rsp + 0x54], 0
je 0x140042958
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 0x140042718
movss xmm1, dword [0x14005b160]
jmp 0x140042720
movss xmm1, dword [0x14005b128]
mov rax, qword [0x14014e030]
movups xmm0, xmmword [rax + 0x3b98]
movups xmmword [rbp - 0x18], xmm0
mulss xmm1, dword [rax + 0x37e0]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0xc], xmm0
lea rcx, [rbp - 0x18]
call fcn.140009d70
mov r15d, eax
xorps xmm4, xmm4
test r11b, r11b
je 0x140042769
xorps xmm5, xmm5
movss dword [rbp - 0x2c], xmm5
xorps xmm9, xmm9
jmp 0x140042777
movss xmm9, dword [0x14005b1b0]
movss xmm5, dword [rbp - 0x2c]
addss xmm6, xmm13
subss xmm6, xmm10
movss xmm8, dword [rbp + 0x6c]
addss xmm8, xmm7
subss xmm8, xmm4
cmp rbx, r14
jae 0x140042958
movss xmm7, dword [0x14005b120]
movss xmm12, dword [rbp - 0x40]
movss xmm11, dword [rbp - 0x4c]
mov r13, qword [rbp - 0x48]
xor esi, esi
nop dword [rax]
nop dword [rax + rax]
movss xmm2, dword [r12 + 0x3c00]
movaps xmm0, xmm14
addss xmm0, xmm2
comiss xmm8, xmm0
ja 0x14004293f
comiss xmm11, xmm8
jbe 0x14004280b
cmp rbx, r14
jae 0x14004291e
nop dword [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x14004291e
cmp rbx, r14
jb 0x1400427f0
jmp 0x14004291e
mov rdx, qword [r12 + 0x3bf8]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, r14
jae 0x140042861
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x140042857
cmp ecx, 0xd
je 0x140042850
cmp ecx, dword [rdx]
jge 0x140042843
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140042848
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x140042823
jmp 0x140042861
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x140042891
cmp dword [rdx], 0x20
jle 0x14004287d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x140042882
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm9
addss xmm0, xmm8
addss xmm6, xmm4
movaps xmm2, xmm5
subss xmm2, dword [r12 + 0x3c00]
addss xmm2, xmm8
maxss xmm6, xmm12
maxss xmm2, xmm11
movss dword [rbp - 0x18], xmm6
movss dword [rbp - 0x14], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp - 0x10], xmm1
movss dword [rbp - 0xc], xmm0
comiss xmm0, xmm11
jbe 0x14004291e
comiss xmm14, xmm2
jbe 0x14004291e
comiss xmm1, xmm12
jbe 0x14004291e
comiss xmm15, xmm6
jbe 0x14004291e
mov dword [rsp + 0x28], esi
movss dword [rsp + 0x20], xmm4
mov r9d, r15d
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x18]
mov rcx, qword [r13 + 0x290]
call fcn.14002c740
movss xmm13, dword [rbp + 0x68]
xorps xmm4, xmm4
movaps xmm6, xmm13
subss xmm6, xmm10
addss xmm8, dword [r12 + 0x3c00]
cmp rbx, r14
movss xmm5, dword [rbp - 0x2c]
jb 0x1400427c0
movss xmm11, dword [rbp - 0x5c]
movss xmm12, dword [rbp - 0x38]
mov rsi, qword [rbp - 0x78]
mov r13, qword [rbp - 0x58]
mov r11d, dword [rsp + 0x5c]
test r11b, r11b
jne 0x14004296f
mov rax, rsi
sub rax, r13
cmp rax, 0x200000
jge 0x140042ab9
mov rax, qword [0x14014e030]
movups xmm0, xmmword [rax + 0x38a8]
movups xmmword [rbp - 0x18], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0xc], xmm0
lea rcx, [rbp - 0x18]
call fcn.140009d70
mov r9d, eax
mov rbx, qword [rbp - 0x48]
mov r8, qword [rbx + 0x290]
mov rcx, rsi
subss xmm13, xmm10
movss dword [rbp - 0x78], xmm13
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 + 0x70]
test r11b, r11b
mov r15d, 0
cmovne rdx, r15
test eax, 0xff000000
je 0x140042ac0
test rsi, rsi
jne 0x140042a0e
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], r15b
jne 0x140042a02
add rcx, r13
cmp r13, rcx
je 0x140042ac0
test r10, r10
jne 0x140042a24
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x140042a34
jne 0x140042a34
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm0
test rdx, rdx
je 0x140042a80
movss xmm0, dword [rbp - 0x18]
maxss xmm0, dword [rdx]
movss dword [rbp - 0x18], xmm0
movss xmm1, dword [rbp - 0x14]
maxss xmm1, dword [rdx + 4]
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rbp - 0x10]
minss xmm0, dword [rdx + 8]
movss dword [rbp - 0x10], xmm0
movss xmm1, dword [rbp - 0xc]
minss xmm1, dword [rdx + 0xc]
movss dword [rbp - 0xc], xmm1
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.140030d60
xorps xmm4, xmm4
jmp 0x140042ac0
mov rbx, qword [rbp - 0x48]
xor r15d, r15d
cmp byte [rsp + 0x50], 0
je 0x140042c5a
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r12 + 0x7b], 0
je 0x140042b0d
comiss xmm4, xmm0
jae 0x140042b0d
movss xmm1, dword [0x14005b168]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x14005b148]
comiss xmm1, xmm0
jae 0x140042b0d
xor cl, cl
jmp 0x140042b0f
mov cl, 1
addss xmm11, dword [rbp + 0x68]
subss xmm11, xmm10
cvttss2si eax, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x6c]
addss xmm0, xmm12
xorps xmm11, xmm11
subss xmm0, xmm11
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 [0x14005b120]
movss dword [rbp + 0x74], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x14005b160]
addss xmm2, xmm8
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x14005b180]
movss dword [rbp + 0x7c], xmm1
movss xmm12, dword [rbp - 0x4c]
test cl, cl
je 0x140042c08
comiss xmm1, xmm12
jbe 0x140042c08
movss xmm3, dword [rbp - 0x60]
comiss xmm3, xmm0
jbe 0x140042c08
comiss xmm2, dword [rbp - 0x40]
jbe 0x140042c08
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm6
jbe 0x140042c08
mov rax, qword [0x14014e030]
movups xmm0, xmmword [rax + 0x38a8]
movups xmmword [rbp - 0x18], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0xc], xmm0
movss dword [rbp - 0x78], xmm6
movss dword [rbp - 0x74], xmm1
lea rcx, [rbp - 0x18]
call fcn.140009d70
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbx + 0x290]
call fcn.14002c4d0
cmp byte [rsp + 0x60], 0
jne 0x140042c6d
mov byte [r12 + 0x5b58], 1
subss xmm6, xmm8
movss xmm0, dword [r12 + 0x3c00]
subss xmm7, xmm0
movss dword [r12 + 0x5b5c], xmm6
movss dword [r12 + 0x5b60], xmm7
movss dword [r12 + 0x5b64], xmm0
jmp 0x140042c6d
movss xmm8, dword [0x14005b160]
xorps xmm11, xmm11
jmp 0x140042c73
movss xmm8, dword [0x14005b160]
xorps xmm11, xmm11
movss xmm12, dword [rbp - 0x4c]
movss xmm6, dword [rsp + 0x68]
mov ebx, dword [rbp - 0x50]
test bl, bl
je 0x140042c7f
call fcn.140016170
cmp byte [rsp + 0x5c], 0
je 0x140042d1a
movss dword [rbp - 0x78], xmm6
movss xmm0, dword [rbp - 0x80]
addss xmm0, dword [r12 + 0x3820]
movss dword [rbp - 0x74], xmm0
lea rcx, [rbp - 0x78]
call fcn.14003a300
mov ebx, dword [r12 + 0x4720]
mov eax, ebx
or eax, 0x401
mov dword [r12 + 0x4720], eax
call fcn.140010d20
mov eax, dword [r12 + 0x4744]
and eax, 0x80
mov edi, dword [rbp + 0x90]
or edi, eax
mov dword [r12 + 0x4720], ebx
call fcn.1400193e0
mov ebx, dword [rbp - 0x50]
cmp dword [r12 + 0x473c], 0
jne 0x140042d1a
mov eax, dword [rsp + 0x7c]
mov dword [r12 + 0x473c], eax
mov eax, dword [rbp + 0x8c]
mov dword [r12 + 0x4740], eax
mov dword [r12 + 0x4744], edi
cmp byte [r12 + 0x5c10], 0
je 0x140042e9b
test bl, bl
jne 0x140042e9b
mov rdi, qword [0x14014e030]
mov r14, qword [rdi + 0x3ea0]
mov qword [rdi + 0x5c38], r15
mov qword [rdi + 0x5c30], r15
test rsi, rsi
jne 0x140042d7d
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x140042d7d
nop dword [rax + rax]
movzx ecx, byte [rsi]
test cl, cl
je 0x140042d7d
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x140042d74
cmp byte [rax], cl
je 0x140042d7d
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x140042d60
movss xmm0, dword [rdi + 0x3820]
addss xmm0, dword [rdi + 0x5c40]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x6c]
movss dword [rdi + 0x5c40], xmm1
comiss xmm1, xmm0
jbe 0x140042db7
lea rcx, [0x14005a37c]
call fcn.14001f4d0
mov byte [rdi + 0x5c44], 1
lea r8, [0x14005a861]
lea rdx, [0x14005a860]
lea rcx, [rbp + 0x68]
call fcn.14001f510
mov eax, dword [r14 + 0x180]
mov ecx, dword [rdi + 0x5c48]
cmp ecx, eax
jle 0x140042de7
mov dword [rdi + 0x5c48], eax
mov ecx, eax
mov r14d, dword [r14 + 0x180]
sub r14d, ecx
lea r15, [0x140054888]
mov r12d, 1
nop
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 0x140042e27
cmp rbx, rsi
je 0x140042e7f
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x5c44], 0
lea edx, [r14*4]
jne 0x140042e41
mov edx, r12d
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, str._s_.s
call fcn.14001f4d0
mov byte [rdi + 0x5c44], 0
cmp byte [rbx], 0xa
jne 0x140042e74
lea rcx, [0x14005a37c]
call fcn.14001f4d0
mov byte [rdi + 0x5c44], r12b
cmp rbx, rsi
je 0x140042e7f
lea r13, [rbx + 1]
jmp 0x140042e00
lea r8, [0x14005a85d]
lea rdx, [0x14005a85c]
lea rcx, [rbp + 0x68]
call fcn.14001f510
mov r12, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x24]
comiss xmm0, xmm11
jbe 0x140042ed7
movss xmm0, dword [rbp - 0x30]
addss xmm0, dword [r12 + 0x3834]
addss xmm12, dword [r12 + 0x3820]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.14000a570
movzx edx, byte [rbp - 0x65]
mov ecx, dword [rbp + 0x1d8]
test dl, dl
je 0x140042f02
bt ecx, 0x1b
jb 0x140042f02
mov rax, qword [0x14014e030]
mov word [rax + 0x3f10], 0x101
or dword [rax + 0x4744], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x5a]
cmovne eax, ecx
jmp 0x14003fe89