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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x928]
sub rsp, 0xa48
mov qword [rbp + 0x108], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [0x14049f410]
xor rax, rsp
mov qword [rbp + 0x830], rax
mov r13, r9
mov rdi, r8
mov r15, rdx
mov qword [rbp - 0x48], rdx
mov rsi, rcx
mov r12, qword [rbp + 0x958]
mov qword [rbp - 0x60], r12
mov rax, qword [rbp + 0x960]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x970]
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x978]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x980]
mov qword [rbp], rax
mov rax, qword [rbp + 0x988]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x9a0]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x9a8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x9b0]
mov qword [rbp - 0x40], rax
mov rbx, qword [rbp + 0x9b8]
mov byte [rbp - 0x7e], 1
test r9, r9
je 0x1400242ed
mov ecx, 0x30
call fcn.1400fc09c
mov qword [rbp - 0x50], rax
mov edx, 4
mov rcx, rax
call fcn.140035430
mov r14, rax
mov qword [rbp - 0x18], rax
xor r8d, r8d
mov rdx, r13
mov rcx, rax
call fcn.140035860
test rbx, rbx
je 0x140023245
mov rdx, rbx
mov rcx, r14
call fcn.14004b640
mov rcx, rsi
call fcn.14002e780
movzx edx, al
mov rcx, r14
call fcn.140035c80
mov rax, qword [r13 + 8]
or r14, 0xffffffffffffffff
cmp byte [rax + 0x2cd], 0
je 0x1400233aa
cmp byte [rax + 0x2cc], 0
je 0x1400233aa
lea rdx, [rsi + 0x1a8]
lea rcx, [rbp + 0x1a8]
call fcn.1400455a0
nop
lea r8, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae r8, qword [rbp + 0x1a8]
lea edx, [r14 + 0x11]
mov rcx, qword [rsi + 0x508]
call qword [rsi + 0xc8]
test al, 0x10
jne 0x14002339e
mov rcx, qword [rbp + 0x1b8]
test rcx, rcx
je 0x14002333d
lea rbx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rbx, qword [rbp + 0x1a8]
dec rbx
add rbx, rcx
nop word [rax + rax]
movsx edx, byte [rbx]
mov r8d, 1
lea rcx, [0x14017c1d8]
call qword [0x140101e38]
test rax, rax
jne 0x140023321
lea rcx, [rbp + 0x1a8]
call fcn.14000da60
cmp rbx, rax
je 0x14002333d
dec rbx
jmp 0x1400232f0
lea rax, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rax, qword [rbp + 0x1a8]
sub rbx, rax
jmp 0x140023340
mov rbx, r14
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x1a8]
call fcn.14002fd00
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.140015800
lea rcx, [rbp + 0x208]
call fcn.1400040b0
lea r8, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae r8, qword [rbp + 0x1a8]
mov edx, 0x10
mov rcx, qword [rsi + 0x508]
call qword [rsi + 0xc8]
nop
lea rcx, [rbp + 0x1a8]
call fcn.1400040b0
mov rdx, r15
lea rcx, [rbp + 0x1e8]
call fcn.140045770
nop
mov rdx, rdi
lea rcx, [rbp + 0x1c8]
call fcn.140045770
nop
lea rcx, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 8
cmovae rcx, qword [rbp + 0x1c8]
lea rax, [rbp + 0x230]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x430]
lea r8, [rbp + 0x630]
lea rdx, [rbp + 0x228]
call qword [0x140101ee0]
call fcn.140009f00
mov rcx, rax
test rax, rax
jne 0x140023420
mov ecx, 0x80004005
call fcn.140019240
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rcx, [rbp + 0x230]
lea rax, [rbp + 0x230]
test rax, 0xffffffffffff0000
jne 0x140023466
movzx ebx, cx
xor edx, edx
mov ecx, ebx
call fcn.140019190
test rax, rax
je 0x14002348e
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140021620
jmp 0x14002348e
lea rcx, [rbp + 0x230]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x140023470
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x78]
call fcn.140027d00
nop
mov r15b, 1
call fcn.140009f00
mov rcx, rax
test rax, rax
jne 0x1400234a9
mov ecx, 0x80004005
call fcn.140019240
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
lea rdx, str.image_jpeg
test rdx, 0xffffffffffff0000
jne 0x1400234e9
movzx ebx, dx
xor edx, edx
mov ecx, ebx
call fcn.140019190
test rax, rax
je 0x140023507
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140021620
jmp 0x140023507
mov rax, r14
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400234f0
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.140027d00
nop
mov rcx, qword [rbp - 0x78]
movsxd rbx, dword [rcx - 0x10]
test ebx, ebx
jns 0x14002351e
mov ecx, 0x80070057
call fcn.140019240
int3
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x14002353e
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140022400
mov rcx, qword [rbp - 0x78]
lea eax, [rbx + 1]
movsxd rdx, eax
call qword [0x1401020d8]
mov rax, qword [rbp - 0x78]
cmp ebx, dword [rax - 0xc]
jg 0x1400242e2
mov dword [rax - 0x10], ebx
mov rcx, rbx
xor ebx, ebx
mov rax, qword [rbp - 0x78]
mov word [rax + rcx*2], bx
mov edx, ebx
mov rcx, qword [rbp - 0x78]
lea r8, str..tif
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + rdx*2]
inc rdx
cmp ax, word [r8 + rdx*2 - 2]
jne 0x140023597
cmp rdx, 5
jne 0x140023580
jmp 0x140023615
movsxd rbx, dword [rcx - 0x10]
test ebx, ebx
jns 0x1400235aa
mov ecx, 0x80070057
call fcn.140019240
int3
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x1400235ca
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140022400
mov rcx, qword [rbp - 0x78]
lea eax, [rbx + 1]
movsxd rdx, eax
call qword [0x1401020d8]
mov rax, qword [rbp - 0x78]
cmp ebx, dword [rax - 0xc]
jg 0x1400242d7
mov dword [rax - 0x10], ebx
mov rcx, rbx
mov rax, qword [rbp - 0x78]
xor ebx, ebx
mov word [rax + rcx*2], bx
mov edx, ebx
mov rcx, qword [rbp - 0x78]
lea r8, str..tiff
movzx eax, word [rcx + rdx*2]
inc rdx
cmp ax, word [r8 + rdx*2 - 2]
jne 0x14002363e
cmp rdx, 6
jne 0x140023600
lea rdx, str.image_tiff
mov rax, r14
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140023620
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.140027d00
xor r15b, r15b
jmp 0x140023765
movsxd rbx, dword [rcx - 0x10]
test ebx, ebx
jns 0x140023651
mov ecx, 0x80070057
call fcn.140019240
int3
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, ebx
or eax, edx
jge 0x140023671
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140022400
mov rcx, qword [rbp - 0x78]
lea eax, [rbx + 1]
movsxd rdx, eax
call qword [0x1401020d8]
mov rax, qword [rbp - 0x78]
cmp ebx, dword [rax - 0xc]
jg 0x1400242cc
mov dword [rax - 0x10], ebx
mov rcx, rbx
mov rax, qword [rbp - 0x78]
xor ebx, ebx
mov word [rax + rcx*2], bx
mov ecx, ebx
mov rdx, qword [rbp - 0x78]
lea r8, str..png
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400236db
cmp rcx, 5
jne 0x1400236b0
lea rdx, str.image_png
mov rax, r14
nop
inc rax
cmp word [rdx + rax*2], bx
jne 0x1400236d0
jmp 0x140023759
lea rcx, [rbp - 0x78]
call fcn.1400216f0
mov rdx, qword [rax]
mov rcx, rbx
lea r8, str..psd
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14002371b
cmp rcx, 5
jne 0x1400236f1
lea rdx, str.image_photoshop
mov rax, r14
inc rax
cmp word [rdx + rax*2], bx
jne 0x140023710
jmp 0x140023759
lea rcx, [rbp - 0x78]
call fcn.1400216f0
mov rdx, qword [rax]
mov rcx, rbx
lea r8, str..bmp
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x140023765
cmp rcx, 5
jne 0x140023731
lea rdx, str.image_bmp
mov rax, r14
inc rax
cmp word [rdx + rax*2], bx
jne 0x140023750
mov r8d, eax
lea rcx, [rbp - 0x70]
call fcn.140027d00
mov ecx, 0x48
call fcn.1400fc09c
mov rdi, rax
mov qword [rbp - 0x50], rax
xor eax, eax
mov dword [rdi], eax
mov qword [rdi + 4], rax
mov qword [rdi + 0xc], rax
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x28], rbx
mov dword [rdi + 0x30], ebx
mov dword [rdi + 0x34], 0x300
mov qword [rdi + 0x3c], rax
mov dword [rdi + 0x44], ebx
mov byte [rdi + 0x38], 1
mov ecx, 0x3378
call fcn.1400fc09c
mov qword [rbp - 0x50], rax
mov rdx, rsi
mov rcx, rax
call fcn.140030050
mov qword [rbp - 0x50], rax
mov ecx, 0x38
call fcn.1400fc09c
mov qword [rbp - 0x30], rax
mov rbx, qword [rbp - 0x58]
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140010a20
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x68], 1
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov eax, dword [r12 + 0x20]
mov dword [rsp + 0x68], eax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x58], 1
mov r12, qword [rbp - 0x30]
mov qword [rsp + 0x50], r12
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x38], r15b
mov r15, qword [rbp - 0x50]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x4b0
mov r8, r13
mov rdx, qword [rbp - 0x48]
mov rcx, rsi
call fcn.14001e3c0
mov ebx, eax
add eax, 0xa
cmp eax, 1
jbe 0x1400241ba
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x178]
call fcn.1400218a0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0xe8], xmm0
xor r12b, r12b
mov byte [rbp - 0x7f], r12b
mov eax, dword [rax]
test eax, eax
jne 0x1400238a4
cmp qword [rsi + 0x160], 0
setne r12b
mov byte [rbp - 0x7f], r12b
mov rbx, qword [rsi + 0x648]
test rbx, rbx
je 0x1400238c5
mov rcx, rbx
call fcn.1400447a0
mov edx, 0x310
mov rcx, rbx
call fcn.1400fc0e0
mov ecx, 0x310
call fcn.1400fc09c
mov qword [rbp - 0x58], rax
mov r8, r15
mov rdx, rsi
mov rcx, rax
call fcn.140044740
nop
mov qword [rsi + 0x648], rax
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x30], r12b
mov rax, qword [rbp - 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x18]
mov r8, r15
mov rdx, rdi
xor ecx, ecx
call fcn.14001aa70
xor r9d, r9d
mov r8, rdi
mov rbx, qword [rbp + 8]
mov rdx, rbx
lea ecx, [r9 + 1]
call fcn.140018570
movsx eax, byte [rdi + 0x35]
mov ecx, dword [rdi + 0x3c]
mov edx, eax
imul edx, ecx
mov dword [rbp - 0x38], edx
mov r15d, 0x21808
cmp byte [rdi + 0x34], 0x10
jne 0x140023955
mov dword [rbp - 0x48], 0x10300c
add edx, edx
mov dword [rbp - 0x38], edx
jmp 0x140023964
mov edx, 0x26200a
cmp al, 4
cmove r15d, edx
mov dword [rbp - 0x48], r15d
movd xmm6, ecx
cvtdq2pd xmm6, xmm6
movd xmm7, dword [rdi + 0x40]
cvtdq2pd xmm7, xmm7
mov rcx, rbx
call fcn.1400360d0
and eax, 0x80000001
jge 0x14002398b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1400239a1
movd xmm6, dword [rdi + 0x40]
cvtdq2pd xmm6, xmm6
movd xmm7, dword [rdi + 0x3c]
cvtdq2pd xmm7, xmm7
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x120], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rbp + 0x130], xmm1
movsd xmm11, qword [0x140102f68]
movsd qword [rsp + 0x20], xmm11
movaps xmm3, xmm7
movaps xmm2, xmm6
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x28]
call fcn.14001c100
cmp byte [rbp + 0x968], 0
jne 0x140023a01
mov eax, dword [rbp - 0x68]
cmp eax, 1
je 0x140023a01
mov ecx, eax
neg ecx
lea r9, [rbp - 0x28]
mov r8, rdi
xor edx, edx
call fcn.140018570
movss xmm9, dword [rbp - 0x1c]
cvttss2si r13d, xmm9
movss xmm10, dword [rbp - 0x20]
cvttss2si eax, xmm10
movss xmm12, dword [rbp - 0x24]
cvttss2si r15d, xmm12
movss xmm13, dword [rbp - 0x28]
cvttss2si r12d, xmm13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8d, r12d
mov rdx, rdi
mov rcx, qword [rbp - 0x10]
call fcn.140018dd0
mov rbx, qword [rbp - 0x60]
movss xmm15, dword [rbx + 8]
mov dl, 1
cvtps2pd xmm1, xmm15
movsd xmm0, qword [0x14017d090]
movss xmm14, dword [0x140103aa4]
comisd xmm0, xmm1
ja 0x140023a75
comiss xmm15, xmm14
jbe 0x140023a80
movss xmm15, dword [0x14017d088]
xor dl, dl
cvtps2pd xmm8, xmm10
cvtps2pd xmm0, xmm9
divsd xmm8, xmm0
movaps xmm6, xmm10
movaps xmm7, xmm9
mov byte [rbp - 0x80], 0
cmp byte [rbx], 0
je 0x140023de2
mov ecx, dword [rbx + 4]
test ecx, ecx
js 0x140023de2
cmp ecx, 4
jge 0x140023aeb
movss xmm1, dword [0x14017d0f4]
cmp ecx, 1
jne 0x140023acc
movss xmm1, dword [0x14017d0ec]
jmp 0x140023c81
cmp ecx, 2
je 0x140023c79
cmp ecx, 3
jne 0x140023c81
movss xmm1, dword [0x14017d0e4]
jmp 0x140023c81
cmp ecx, 6
jge 0x140023b85
mov eax, 0x800
cmp ecx, 4
jne 0x140023b12
test dl, dl
je 0x140023b08
cvtps2pd xmm0, xmm15
jmp 0x140023b2e
movsd xmm0, qword [0x14017d0b0]
jmp 0x140023b2e
cmp ecx, 5
jne 0x140023b33
test dl, dl
je 0x140023b21
cvtps2pd xmm0, xmm15
jmp 0x140023b29
movsd xmm0, qword [0x14017d0a8]
mov eax, 0x400
cvtpd2ps xmm15, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comisd xmm8, xmm11
jbe 0x140023b63
comiss xmm10, xmm0
jbe 0x140023de2
mov byte [rbp - 0x80], 1
movaps xmm6, xmm0
cvtps2pd xmm0, xmm0
divsd xmm0, xmm8
cvtpd2ps xmm7, xmm0
jmp 0x140023de2
comiss xmm9, xmm0
jbe 0x140023de2
mov byte [rbp - 0x80], 1
movaps xmm7, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm8
cvtpd2ps xmm6, xmm0
jmp 0x140023de2
lea eax, [rcx - 8]
cmp eax, 1
ja 0x140023be6
cmp ecx, 8
jne 0x140023bb6
mov byte [rbp - 0x80], 1
cvtps2pd xmm0, xmm9
mulsd xmm0, qword [0x1401797b0]
cvtpd2ps xmm7, xmm0
cvtps2pd xmm0, xmm10
mulsd xmm0, qword [0x1401797b0]
cvtpd2ps xmm6, xmm0
cmp ecx, 9
jne 0x140023de2
mov byte [rbp - 0x80], 1
cvtps2pd xmm0, xmm7
mulsd xmm0, qword [0x14017aa98]
cvtpd2ps xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, qword [0x14017aa98]
cvtpd2ps xmm6, xmm0
jmp 0x140023de2
lea eax, [rcx - 0xa]
cmp eax, 1
ja 0x140023c46
cmp ecx, 0xa
jne 0x140023c15
movd xmm0, dword [rbx + 0x14]
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
jbe 0x140023c15
mov byte [rbp - 0x80], 1
movaps xmm6, xmm0
divss xmm6, xmm9
mulss xmm6, xmm10
movaps xmm7, xmm0
cmp ecx, 0xb
jne 0x140023de2
movd xmm1, dword [rbx + 0x10]
cvtdq2ps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x140023de2
mov byte [rbp - 0x80], 1
movaps xmm0, xmm1
divss xmm0, xmm6
mulss xmm7, xmm0
movaps xmm6, xmm1
jmp 0x140023de2
lea eax, [rcx - 0xc]
cmp eax, 3
ja 0x140023cbc
movss xmm1, dword [0x14017d0fc]
cmp ecx, 0xd
jne 0x140023c65
movss xmm1, dword [0x14017d0f8]
jmp 0x140023c81
cmp ecx, 0xe
jne 0x140023c74
movss xmm1, dword [0x14017d0f0]
jmp 0x140023c81
cmp ecx, 0xf
jne 0x140023c81
movss xmm1, dword [0x14017d0e8]
movaps xmm0, xmm10
mulss xmm0, xmm9
comiss xmm0, xmm1
jbe 0x140023de2
mov byte [rbp - 0x80], 1
cvtps2pd xmm0, xmm1
divsd xmm0, xmm8
call fcn.1400fd63e
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
cvtps2pd xmm1, xmm7
mulsd xmm1, xmm8
cvtpd2ps xmm6, xmm1
jmp 0x140023de2
lea eax, [rcx - 6]
cmp eax, 1
ja 0x140023de2
cmp ecx, 6
sete bl
movzx r8d, byte [rbp - 0x7f]
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.14002c830
cvttss2si eax, xmm10
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], r13d
movsx eax, byte [rdi + 0x34]
cdq
and edx, 7
add edx, eax
sar edx, 3
movsx eax, byte [rdi + 0x35]
add eax, edx
imul r15d, dword [rdi + 0x44]
movsxd rcx, r15d
imul eax, r12d
cdqe
add rcx, rax
add rcx, qword [rdi + 0x28]
mov qword [rbp + 0x40], rcx
mov r12, qword [rbp - 0x60]
mov r8d, dword [r12 + 0x10]
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], bl
mov r9d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.140036810
test al, al
je 0x140023ddf
mov rdx, rdi
mov rcx, qword [rsi + 0x160]
call fcn.14001a4a0
mov edx, dword [rbp + 0x14]
mov r8d, edx
mov ecx, dword [rbp + 0x18]
imul r8d, ecx
mov dword [rdi + 0x30], r8d
mov eax, dword [rbp + 0x10]
mov dword [rdi + 0x3c], eax
mov dword [rdi + 0x40], edx
mov dword [rdi + 0x44], ecx
movsxd rdx, r8d
mov ecx, 0x40
call qword [0x140101220]
mov qword [rdi + 0x20], rax
mov rcx, rax
call qword [0x140101218]
mov qword [rdi + 0x28], rax
movsxd r8, dword [rdi + 0x30]
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.1400fd5d8
mov rcx, qword [rbp + 0x20]
call qword [0x140101ef8]
xor al, al
mov byte [rbp - 0x80], al
xorps xmm12, xmm12
movaps xmm13, xmm12
movss dword [rbp - 0x28], xmm12
movss dword [rbp - 0x24], xmm12
movd xmm10, dword [rdi + 0x3c]
cvtdq2ps xmm10, xmm10
movss dword [rbp - 0x20], xmm10
movd xmm9, dword [rdi + 0x40]
cvtdq2ps xmm9, xmm9
movss dword [rbp - 0x1c], xmm9
mov rbx, r12
cmp qword [rdi + 0x28], 0
je 0x14002412f
cmp byte [rbx + 0x18], 0
je 0x140023e43
movzx r8d, byte [rbp - 0x7f]
mov rdx, rdi
lea rcx, [rbp + 0x140]
call fcn.14002c830
xor r12d, r12d
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm14
mov qword [rsp + 0x20], rsi
mov r9d, dword [rbx + 0x1c]
movzx r8d, byte [rbx + 0x19]
mov dl, 1
lea rcx, [rbp + 0x140]
call fcn.140038280
movzx r15d, al
mov byte [rbp - 0x7e], al
test al, al
je 0x140024135
jmp 0x140023e46
xor r12d, r12d
mov r13b, 1
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov ecx, dword [rbx + 0x20]
mov dword [rbp + 0xe8], ecx
mov r15d, r12d
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffe8
mov qword [rbp - 0x10], rax
cvttss2si eax, xmm7
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
cvttss2si eax, xmm12
movd xmm8, eax
cvtdq2ps xmm8, xmm8
cvttss2si eax, xmm13
movd xmm11, eax
cvtdq2ps xmm11, xmm11
cvttss2si eax, xmm10
mov dword [rbp - 0x60], eax
cvttss2si eax, xmm9
mov dword [rbp - 0x40], eax
nop dword [rax + rax]
cmp byte [rsi + 0x459], 0
je 0x140023ed6
cmp byte [rsi + 0x458], 0
jne 0x140023ed6
mov bl, 1
jmp 0x140023ed8
xor ebx, ebx
lea rax, [rbp + 0x158]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x48]
mov qword [rbp], rax
lea rax, [rbp + 0x68]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x58]
mov qword [rbp + 0x110], rax
lea rax, [rbp + 0x88]
mov qword [rbp + 0xf8], rax
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.1400298e0
mov r12, rax
mov qword [rbp + 0x60], 0xf
xor ecx, ecx
mov qword [rbp + 0x58], rcx
mov byte [rbp + 0x48], cl
mov rax, qword [rbp + 0x28]
cmp byte [rax], cl
jne 0x140023f3c
mov r8d, ecx
jmp 0x140023f49
mov r8, r14
nop
inc r8
cmp byte [rax + r8], cl
jne 0x140023f40
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140004680
nop
mov qword [rbp + 0x80], 7
xor eax, eax
mov qword [rbp + 0x78], rax
mov word [rbp + 0x68], ax
mov r9, r14
xor r8d, r8d
lea rdx, [rsi + 0x188]
lea rcx, [rbp + 0x68]
call fcn.14000b2e0
nop
mov rcx, qword [rbp - 0x10]
call fcn.140019560
add rax, 0x18
mov qword [rbp - 0x58], rax
mov qword [rbp + 0xa0], 7
xor eax, eax
mov qword [rbp + 0x98], rax
mov word [rbp + 0x88], ax
mov r9, r14
xor r8d, r8d
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x88]
call fcn.14000b2e0
nop
mov qword [rbp + 0xc0], 7
xor eax, eax
mov qword [rbp + 0xb8], rax
mov word [rbp + 0xa8], ax
mov r9, r14
xor r8d, r8d
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0xa8]
call fcn.14000b2e0
movsx r9d, byte [rdi + 0x34]
mov byte [rsp + 0xd0], r13b
mov byte [rsp + 0xc8], bl
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0xc0], eax
lea rax, [rsi + 0x5d0]
mov qword [rsp + 0xb8], rax
lea rax, [rsi + 0x5c0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], r12
lea rax, [rbp + 0xc8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x98], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x90], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x88], rax
movzx eax, byte [rbp + 0x968]
mov byte [rsp + 0x80], al
movss dword [rsp + 0x78], xmm7
movss dword [rsp + 0x70], xmm6
movzx ebx, byte [rbp - 0x80]
mov byte [rsp + 0x68], bl
movss dword [rsp + 0x60], xmm8
movss dword [rsp + 0x58], xmm11
mov qword [rsp + 0x50], rdi
movss dword [rsp + 0x48], xmm15
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x40], eax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
movzx eax, byte [rbp - 0x7f]
mov byte [rsp + 0x30], al
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r8d, dword [rbp - 0x60]
mov edx, dword [rbp - 0x40]
mov ecx, dword [rbp - 0x38]
call fcn.140024bb0
cmp eax, 2
jne 0x1400240fb
xor r13b, r13b
xor r12d, r12d
jmp 0x140024113
cmp eax, 3
jne 0x140024127
cmp dword [rbp + 0xd4], 2
jle 0x140024127
xor r12d, r12d
mov dword [rbp + 0xd4], r12d
inc r15d
cmp r15d, 2
jl 0x140023ec0
movzx r15d, byte [rbp - 0x7e]
jmp 0x140024135
test eax, eax
sete r15b
jmp 0x140024132
mov r15b, 1
xor r12d, r12d
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140024153
mov rcx, rbx
call fcn.140010a40
mov edx, 0x38
mov rcx, rbx
call fcn.1400fc0e0
mov rdx, rdi
mov rcx, qword [rsi + 0x160]
call fcn.14001a4a0
mov edx, 0x48
mov rcx, rdi
call fcn.1400fc0e0
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x14002418d
mov rcx, rbx
call fcn.1400301c0
mov edx, 0x3378
mov rcx, rbx
call fcn.1400fc0e0
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400241ab
mov rcx, rbx
call fcn.140035530
mov edx, 0x30
mov rcx, rbx
call fcn.1400fc0e0
test r15b, r15b
je 0x1400241b5
mov ebx, r12d
jmp 0x14002422b
mov ebx, r14d
jmp 0x14002422b
mov r13, qword [rbp - 0x18]
test r13, r13
je 0x1400241d8
mov rcx, r13
call fcn.140035530
mov edx, 0x30
mov rcx, r13
call fcn.1400fc0e0
test r12, r12
je 0x1400241f2
mov rcx, r12
call fcn.140010a40
mov edx, 0x38
mov rcx, r12
call fcn.1400fc0e0
mov rdx, rdi
mov rcx, qword [rsi + 0x160]
call fcn.14001a4a0
mov edx, 0x48
mov rcx, rdi
call fcn.1400fc0e0
test r15, r15
je 0x140024228
mov rcx, r15
call fcn.1400301c0
mov edx, 0x3378
mov rcx, r15
call fcn.1400fc0e0
xor r12d, r12d
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002424a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140024268
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov r8, qword [rbp + 0x1e0]
cmp r8, 8
jb 0x14002428b
inc r8
mov rdx, qword [rbp + 0x1c8]
lea rcx, [rbp + 0x1c8]
call fcn.14000b570
mov qword [rbp + 0x1e0], 7
mov qword [rbp + 0x1d8], r12
mov word [rbp + 0x1c8], r12w
mov r8, qword [rbp + 0x200]
cmp r8, 8
jb 0x1400242c8
inc r8
mov rdx, qword [rbp + 0x1e8]
lea rcx, [rbp + 0x1e8]
call fcn.14000b570
mov eax, ebx
jmp 0x1400242f1
mov ecx, 0x80070057
call fcn.140019240
int3
mov ecx, 0x80070057
call fcn.140019240
int3
mov ecx, 0x80070057
call fcn.140019240
nop
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1400fc4b0
lea r11, [rsp + 0xa48]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret