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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x178
mov r13, qword [rcx + 0x128]
mov rbx, rcx
mov rsi, qword [rcx + 0x10]
mov ecx, dword [rcx + 0x1c]
mov r14d, ecx
and r14d, 2
mov qword [rbp - 0x58], r13
mov eax, dword [r13 + 0x4c]
mov dword [rbp - 0x78], eax
mov dword [rbp + 0xb0], r14d
mov dword [rbp - 0x28], ecx
je 0x1400a709f
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a70ac
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400d04e8
mov r15, qword [r13 + 0x58]
mov rcx, qword [rbx + 0x28]
mov dword [rbp - 0x18], eax
mov eax, dword [r13]
mov qword [rbp], rcx
mov qword [rbp + 0xb8], rcx
xor ecx, ecx
neg eax
mov dword [rbp - 0x6c], ecx
mov r12d, ecx
mov qword [rbp + 0x40], rcx
sbb eax, eax
mov qword [rbp - 0x80], r15
neg eax
mov dword [rbp + 0xa8], ecx
inc eax
mov dword [rbp - 0x14], ecx
mov dword [rbp - 0xc], eax
mov edi, ecx
mov eax, dword [r13 + 0x3c]
mov dword [rbp - 8], eax
mov dword [rbp - 0x64], ecx
mov dword [rbp - 0x20], ecx
mov dword [rbp - 0x24], ecx
mov dword [rbp - 0x60], ecx
mov dword [rbp - 0x68], ecx
mov dword [rbp - 0x10], ecx
mov dword [rbp - 0x74], ecx
mov dword [rbp - 0x70], ecx
test r14d, r14d
je 0x1400a7126
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a7133
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, dword [r13 + 0x48]
call fcn.1400d04e8
mov r14d, eax
mov dword [rbx + 0x104], eax
mov dword [rbx + 0x100], eax
mov dword [rbx + 0xf8], eax
mov dword [rbx + 0xfc], eax
xor eax, eax
cmp dword [rbp + 0xb0], eax
je 0x1400a7170
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a717d
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, dword [r13 + 0x4c]
call fcn.1400d04e8
mov rcx, qword [rbp]
lea rdx, [rbx + 0x134]
xor r9d, r9d
mov dword [rbx + 0x118], eax
mov dword [rbx + 0x10c], r14d
mov dword [rbx + 0x108], r14d
mov dword [rbx + 0x11c], r14d
mov dword [rdx], r9d
mov byte [rbx + 0x51], r9b
test rcx, rcx
je 0x1400a7e5b
mov rax, qword [rbx + 0x30]
test dword [rax + 0x58], 0x1c0
je 0x1400a71e4
mov rdi, rax
cmp rcx, rax
je 0x1400a7e5b
mov rax, qword [rax + 0x10]
mov qword [rbx + 0x30], rax
mov qword [rax + 8], r9
cmp dword [rbx + 0x130], r9d
jne 0x1400a7268
mov r9, rdx
lea rcx, [rbx + 8]
mov edx, dword [r13 + 8]
lea r8, [rbp + 0xa8]
call fcn.1400a61ec
xor r9d, r9d
test eax, eax
je 0x1400a722f
mov rdx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a7220
mov rcx, qword [rbx + 0x30]
mov qword [rcx + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rdx + 0x298], 1
jmp 0x1400a7e67
cmp dword [r13 + 4], r9d
je 0x1400a7258
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call fcn.1400a64a8
xor r9d, r9d
test eax, eax
jne 0x1400a720b
mov rcx, qword [rbp + 0xb8]
mov qword [rbp], rcx
jmp 0x1400a725c
mov rcx, qword [rbp]
cmp dword [r13 + 0x20], r9d
cmovne r12, rcx
mov qword [rbp + 0x40], r12
or qword [rbp - 0x48], 0xffffffffffffffff
mov dword [rbp - 0x50], r9d
movups xmm0, xmmword [rbp - 0x50]
mov dword [rbp - 0x40], r9d
mov word [rbp - 0x3c], r9w
mov dword [rbp - 0x38], r9d
movups xmm1, xmmword [rbp - 0x40]
mov dword [rbp + 0xa8], r9d
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0xb8], r9d
movups xmmword [rbp + 0x30], xmm1
test rcx, rcx
je 0x1400a7369
test byte [rcx + 0x58], 0x20
jne 0x1400a7369
mov eax, dword [rcx + 0x58]
and al, 5
cmp al, 1
jne 0x1400a72c2
test byte [rcx + 0x58], 2
je 0x1400a7369
cmp dword [rcx + 0x28], r9d
jne 0x1400a7369
mov eax, dword [rbp - 0xc]
lea rdx, [rbp + 8]
mov qword [rsp + 0x28], rdx
mov r8d, 1
mov dword [r15 + 0x88], r9d
mov edx, eax
mov qword [r15 + 0x40], rcx
mov r9, rcx
mov rcx, qword [r15]
mov dword [r15 + 0x14], eax
mov dword [rsp + 0x20], 1
call fcn.1400da4d4
xor r12d, r12d
mov r14d, eax
test eax, eax
je 0x1400a731c
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a733b
call fcn.1400da6f4
jmp 0x1400a733b
lea r8, [rbp + 8]
mov rcx, r15
call fcn.1400cca04
mov rcx, qword [rbp + 8]
mov r14d, eax
test eax, eax
jne 0x1400a7310
call fcn.1400da6f4
mov r14d, eax
xor r9d, r9d
test r14d, r14d
jne 0x1400a7ce3
cmp dword [r15 + 0x18], r9d
jne 0x1400a735b
cmp dword [r15 + 0x6c], r9d
jne 0x1400a735b
lea r12d, [r9 + 1]
mov dword [r15 + 0x64], r9d
mov rax, qword [r15 + 0x48]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x28], rax
jmp 0x1400a7383
and qword [r15 + 0x60], 0
mov r12d, 1
mov rax, rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x28], rcx
mov dword [r15 + 0x68], r9d
test rax, rax
jne 0x1400a7391
lea r14d, [rax + 1]
jmp 0x1400a741c
test byte [rax + 0x58], 0x20
mov rcx, qword [rax + 8]
mov qword [rbp], rcx
je 0x1400a7404
movsxd rcx, dword [rax + 0x48]
mov r14d, 2
mov r9, qword [rsi + 0x348]
add rcx, rcx
mov dword [rbp + 0x20], r14d
mov eax, dword [r9 + rcx*8]
mov dword [rbp + 0x30], eax
movzx eax, word [r9 + rcx*8 + 0xa]
mov ecx, dword [r9 + rcx*8 + 4]
mov word [rbp + 0x34], ax
xor eax, eax
cmp dword [rbp + 0xb0], eax
je 0x1400a73e6
mov r8d, dword [rsi + 0x330]
mov edx, dword [rsi + 0x328]
jmp 0x1400a73f3
mov r8d, dword [rsi + 0x32c]
mov edx, dword [rsi + 0x324]
call fcn.1400d04e8
mov dword [rbp + 0x38], eax
xor r9d, r9d
mov rax, qword [rbp + 0x10]
jmp 0x1400a7420
test byte [rax + 0x58], 1
je 0x1400a7416
test byte [rax + 0x58], 4
mov r14d, 4
je 0x1400a741c
mov r14d, 3
mov dword [rbp + 0x20], r14d
mov r11d, dword [rbp - 0x50]
test r11d, r11d
jne 0x1400a7432
mov ecx, dword [r13 + 0x50]
mov dword [rbp - 0x1c], ecx
jmp 0x1400a7436
mov dword [rbp - 0x1c], r9d
cmp r14d, 1
je 0x1400a7569
cmp r14d, 2
jne 0x1400a755a
cmp dword [rbp + 0x30], r9d
jne 0x1400a755a
movsxd rax, dword [rax + 0x48]
mov r14, qword [rsi + 0x348]
add rax, rax
mov r13d, dword [r14 + rax*8 + 4]
cmp dword [rbp + 0xb0], r9d
je 0x1400a747f
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a748c
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r13d
call fcn.1400d04e8
mov r11d, dword [rbp - 0x50]
mov r15d, eax
cmp r11d, 2
jne 0x1400a74ea
xor eax, eax
cmp dword [rbp - 0x40], eax
jne 0x1400a753f
mov rcx, qword [rbp - 0x48]
movsxd rcx, dword [rcx + 0x48]
add rcx, rcx
mov r14d, dword [r14 + rcx*8 + 4]
cmp dword [rbp + 0xb0], eax
je 0x1400a74d3
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a74e0
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r14d
call fcn.1400d04e8
jmp 0x1400a754c
test r11d, r11d
jne 0x1400a74ff
mov rax, qword [rbp - 0x58]
mov r14d, dword [rax + 0x48]
mov eax, dword [rbx + 0x104]
jmp 0x1400a754c
cmp r11d, 4
jne 0x1400a7519
mov rdx, qword [rbp - 0x48]
mov r14d, dword [rbp + 0xb8]
add r14d, dword [rdx + 0x68]
mov eax, dword [rdx + 0x60]
jmp 0x1400a7537
cmp r11d, 3
jne 0x1400a753f
mov rcx, qword [rbp - 0x48]
mov r14d, dword [rbp + 0xb8]
add r14d, dword [rcx + 0x90]
mov eax, dword [rcx + 0x94]
add eax, dword [rbp + 0xa8]
jmp 0x1400a754c
mov r14d, dword [rbp + 0xb8]
mov eax, dword [rbp + 0xa8]
sub r13d, r14d
sub r15d, eax
xor r9d, r9d
jmp 0x1400a780c
mov r13d, dword [r15 + 0x60]
mov r15d, 0x3fffffff
jmp 0x1400a780c
cmp r11d, 2
jne 0x1400a760a
cmp dword [rbp - 0x40], r9d
jne 0x1400a7685
mov rax, qword [rsi + 0x348]
mov rcx, qword [rbp - 0x48]
movsxd rcx, dword [rcx + 0x48]
add rcx, rcx
mov r14d, dword [rax + rcx*8 + 4]
mov eax, dword [rbp - 0x78]
mov r13d, eax
sub r13d, r14d
cmp dword [rbp + 0xb0], r9d
je 0x1400a75b5
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a75c2
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400d04e8
mov r15d, eax
xor eax, eax
cmp dword [rbp + 0xb0], eax
je 0x1400a75e5
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a75f2
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r14d
call fcn.1400d04e8
mov rcx, qword [rbp - 0x80]
sub r15d, dword [rcx + 0x68]
sub r15d, eax
jmp 0x1400a776d
test r11d, r11d
jne 0x1400a7685
mov rcx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x58]
mov r15d, dword [rbp - 0x18]
mov r13d, dword [rbp - 0x78]
sub r15d, dword [rcx + 0x68]
sub r15d, dword [rbx + 0x100]
sub r13d, dword [rax + 0x48]
test r12d, r12d
jne 0x1400a7771
cmp dword [rax + 4], r9d
jne 0x1400a7771
mov rdx, qword [rcx + 0x40]
lea r9, [rbp - 0x20]
mov r8d, dword [rbp - 0x28]
mov rcx, rsi
call fcn.1400a5f20
mov edx, eax
test eax, eax
je 0x1400a776d
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a7674
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rcx + 0x298], 1
mov eax, edx
jmp 0x1400a7e67
mov eax, dword [rbp - 0x78]
mov r13d, eax
cmp r11d, 4
jne 0x1400a76d8
mov r14, qword [rbp - 0x48]
sub r13d, dword [r14 + 0x68]
sub r13d, dword [rbp + 0xb8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a76b8
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a76c5
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400d04e8
mov r15d, eax
sub r15d, dword [r14 + 0x60]
jmp 0x1400a775e
cmp r11d, 3
jne 0x1400a7728
mov r14, qword [rbp - 0x48]
sub r13d, dword [r14 + 0x90]
sub r13d, dword [rbp + 0xb8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a7708
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a7715
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400d04e8
mov r15d, eax
sub r15d, dword [r14 + 0x94]
jmp 0x1400a775e
sub r13d, dword [rbp + 0xb8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a7747
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a7754
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400d04e8
mov r15d, eax
mov rax, qword [rbp - 0x80]
sub r15d, dword [rax + 0x68]
sub r15d, dword [rbp + 0xa8]
mov r11d, dword [rbp - 0x50]
mov rax, qword [rbx + 0x128]
xor ecx, ecx
mov r10, qword [rbx + 0x10]
mov r8d, dword [rax + 0x38]
mov edx, dword [rax + 0x34]
mov r9d, dword [rax + 0x3c]
mov eax, dword [rbx + 0xb8]
mov dword [rbp - 0x6c], r8d
test r8d, r8d
je 0x1400a779d
cmp edx, 5
jne 0x1400a77a2
test r9d, r9d
je 0x1400a7800
cmp eax, 1
jbe 0x1400a77f0
cmp dword [rbx + 0xc8], ecx
je 0x1400a77b8
xor r9d, r9d
mov dword [rbp - 0x6c], r9d
jmp 0x1400a7803
cmp r11d, 2
jne 0x1400a77c5
cmp dword [rbp - 0x40], ecx
cmovne r8d, ecx
lea rcx, [rbp - 8]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x6c]
mov qword [rsp + 0x28], rcx
mov rcx, qword [r10 + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [r10 + 0x78]
call qword [case.0x140066f27.0]
mov edx, eax
xor r9d, r9d
jmp 0x1400a77f6
xor r9d, r9d
mov edx, r9d
test edx, edx
jne 0x1400a765f
jmp 0x1400a7803
xor r9d, r9d
mov eax, dword [rbx + 0xcc]
mov dword [rbp - 0x14], eax
test r12d, r12d
mov r14d, r9d
mov r12d, r9d
je 0x1400a782b
mov r15d, r9d
mov dword [rbp - 0x24], r9d
mov dword [rbp - 0x60], r9d
mov dword [rbp - 0x68], r9d
jmp 0x1400a7aef
mov rcx, qword [rbp - 0x80]
mov dword [rbp - 0x2c], r9d
mov dword [rbp - 0x30], r9d
cmp dword [rcx + 0x18], r9d
jle 0x1400a7878
mov rax, qword [rcx + 0x48]
test rax, rax
jne 0x1400a7854
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 0x20]
mov rcx, qword [rcx + 0x28]
jmp 0x1400a7858
mov rcx, qword [rax + 0x10]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x2c]
call fcn.1400cd074
mov r12d, dword [rbp - 0x30]
xor r9d, r9d
mov r14d, dword [rbp - 0x2c]
test eax, eax
jne 0x1400a720b
mov eax, r9d
test eax, eax
jne 0x1400a720b
cmp dword [rbp - 0x20], r9d
jne 0x1400a78ae
mov rax, qword [rbp - 0x80]
mov rax, qword [rax + 0x58]
mov rcx, qword [rax + 0x20]
mov eax, dword [rbp - 0x28]
cmp dword [rcx + 0x14], eax
je 0x1400a78a3
mov r14d, r9d
mov r12d, r9d
mov eax, r9d
test eax, eax
jne 0x1400a720b
mov r8, qword [rbp - 0x80]
mov rcx, qword [rsi + 0x2a0]
mov edx, dword [r8 + 0x18]
inc edx
test rcx, rcx
je 0x1400a78de
lea r9, [rbp + 0x48]
mov r8d, 4
call fcn.1400a8d74
mov r8, qword [rbp - 0x80]
mov edx, eax
xor r9d, r9d
jmp 0x1400a78e3
mov edx, 0xfffffc18
mov rax, qword [rbp + 0x18]
test edx, edx
cmove rax, qword [rbp + 0x48]
mov qword [rbp + 0x18], rax
jne 0x1400a765f
mov r10, qword [rbp - 0x58]
cmp dword [r10], r9d
je 0x1400a790c
cmp dword [rbp + 0x20], 1
mov ecx, 1
je 0x1400a790f
mov ecx, r9d
mov r9d, dword [r8 + 0x60]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x98], rdx
sub r9d, r14d
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x90], rdx
lea rdx, [rbp - 0x64]
mov qword [rsp + 0x88], rdx
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x80], rdx
lea rdx, [rbp - 0x24]
mov qword [rsp + 0x78], rdx
mov edx, dword [rbp - 0x6c]
mov qword [rsp + 0x70], rax
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x68], eax
mov eax, dword [r8 + 0x80]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x48], ecx
mov ecx, dword [r10 + 0x34]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x38], r12d
lea r12, [r8 + 0x18]
mov qword [rsp + 0x30], r12
mov r8d, r13d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
call fcn.1400d056c
xor r15d, r15d
mov r14d, eax
test eax, eax
jne 0x1400a7e3d
mov r9d, r15d
mov r10, qword [rbp + 0x18]
mov r14, qword [rbp - 0x80]
cmp dword [r12], r15d
jle 0x1400a79e1
mov edx, r15d
mov r8, r10
mov rax, qword [r14 + 0x30]
inc r9d
mov rcx, qword [rdx + rax]
lea rdx, [rdx + 8]
mov eax, dword [r8]
lea r8, [r8 + 4]
mov dword [rcx + 0x94], eax
cmp r9d, dword [r12]
jl 0x1400a79bf
mov rcx, qword [rsi + 0x2a0]
mov rdx, r10
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [case.0x140066f27.0]
mov r8d, dword [rbp - 0x10]
xor r9d, r9d
test r8d, r8d
je 0x1400a7a8f
mov r12d, dword [rbp - 0x68]
test r12d, r12d
jle 0x1400a7a8f
xor edx, edx
mov eax, r12d
div r8d
mov r13d, r12d
mov r10d, r8d
mov ecx, eax
mov r11d, eax
imul ecx, r8d
sub r13d, ecx
mov ecx, r9d
test r8d, r8d
jle 0x1400a7a96
mov edx, r9d
xor ebx, ebx
mov rax, qword [r14 + 0x70]
mov r15, qword [r9 + rax]
mov rax, qword [r14 + 0x78]
cmp dword [rdx + rax], ebx
je 0x1400a7a76
add ecx, r13d
mov eax, r11d
mov r14d, ecx
cmp ecx, r8d
jl 0x1400a7a5c
lea eax, [r11 + 1]
add dword [r15 + 0x94], eax
dec r10d
mov eax, ecx
sub ecx, r8d
cmp eax, r8d
cmovl ecx, r14d
mov r14, qword [rbp - 0x80]
add r9, 8
add rdx, 4
test r10d, r10d
jg 0x1400a7a39
mov rbx, qword [rbp + 0xa0]
xor r9d, r9d
jmp 0x1400a7a96
mov r12d, r9d
mov dword [rbp - 0x68], r9d
cmp dword [rbx + 0x130], r9d
jne 0x1400a7ae7
mov rax, qword [r14 + 0x48]
test rax, rax
je 0x1400a7aae
mov r8, qword [rax + 0x10]
jmp 0x1400a7ab2
mov r8, qword [rbx + 0x30]
cmp dword [rbp + 0x20], 1
mov eax, r9d
mov r9d, dword [rbp - 0xc]
mov rcx, rsi
mov rdx, qword [r14 + 0x40]
sete al
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call fcn.1400a67dc
xor r9d, r9d
mov edx, eax
test eax, eax
jne 0x1400a765f
mov r15d, dword [rbp - 0x24]
mov r14d, dword [rbp - 0x60]
mov r10d, dword [rbp + 0x20]
cmp r10d, 3
jne 0x1400a7b35
mov rcx, qword [rbp + 0x10]
xor r8d, r8d
movzx eax, word [rcx + 0x60]
imul rdx, rax, 0x170
mov rax, qword [rdx + rsi + 0x518]
mov edx, dword [rcx + 0x94]
mov rcx, qword [rcx + 0x98]
call qword [case.0x140066f27.0]
xor r9d, r9d
test eax, eax
jne 0x1400a7e67
mov r10d, dword [rbp + 0x20]
mov rax, qword [rbp - 0x80]
mov edx, dword [rbp - 0x64]
mov ecx, dword [rax + 0x68]
mov eax, dword [rbp - 0x50]
sub ecx, edx
add ecx, r12d
add ecx, r15d
cmp eax, 2
jne 0x1400a7c07
mov r9d, dword [rbp - 0x40]
xor r11d, r11d
test ecx, ecx
je 0x1400a7b63
test r9d, r9d
jne 0x1400a7b72
mov r15d, dword [rbp - 0x38]
mov edx, dword [rbp + 0xa8]
sub r15d, edx
jmp 0x1400a7bb0
cmp r9d, 2
jne 0x1400a7b8d
mov r15d, dword [rbp - 0x38]
mov edx, dword [rbp + 0xa8]
sub r15d, ecx
sub r15d, edx
add r15d, r14d
jmp 0x1400a7bb0
cmp r9d, 1
jne 0x1400a7ba6
mov r15d, dword [rbp - 0x38]
mov eax, ecx
sub eax, r14d
cdq
sub eax, edx
sar eax, 1
sub r15d, eax
jmp 0x1400a7b67
mov r15d, dword [rbp - 0x74]
mov edx, dword [rbp + 0xa8]
cmp r10d, 1
jne 0x1400a7bd5
mov r8d, dword [rbp - 0x18]
mov eax, ecx
sub eax, r14d
add eax, edx
add eax, r15d
cmp eax, r8d
jle 0x1400a7bd5
mov r15d, r8d
sub r15d, ecx
sub r15d, edx
add r15d, r14d
mov r13, qword [rbp - 0x58]
test r15d, r15d
mov eax, r11d
cmovns eax, r15d
mov r15d, eax
mov dword [rbp - 0x74], eax
mov rax, qword [rbp - 0x48]
mov r12d, r15d
mov dword [rbp - 0x70], r15d
mov r8d, dword [rax + 0x90]
mov dword [rax + 0x94], r15d
mov edx, dword [rbp - 0x64]
jmp 0x1400a7c24
mov r13, qword [rbp - 0x58]
cmp eax, 4
jne 0x1400a7c78
mov rax, qword [rbp - 0x48]
mov r15d, dword [rax + 0x60]
mov r8d, dword [rax + 0x68]
mov dword [rbp - 0x74], r15d
mov r12d, dword [rbp - 0x70]
lea r11, [rbx + 0xf8]
movups xmm0, xmmword [rbp + 0x20]
sub ecx, edx
mov edx, dword [rbp + 0xa8]
movups xmm1, xmmword [rbp + 0x30]
add ecx, r15d
mov r15, qword [rbp - 0x80]
add edx, ecx
mov dword [rbp + 0xa8], edx
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [r15 + 0x60]
sub eax, dword [rbp - 0x1c]
add eax, r8d
add dword [rbp + 0xb8], eax
movups xmmword [rbp - 0x40], xmm1
cmp r10d, 1
je 0x1400a7d0a
mov rcx, qword [rbp]
xor r9d, r9d
jmp 0x1400a729c
cmp eax, 3
jne 0x1400a7c95
mov rax, qword [rbp - 0x48]
mov r15d, dword [rax + 0x94]
mov r8d, dword [rax + 0x90]
mov dword [rbp - 0x74], r15d
jmp 0x1400a7c20
mov r15d, dword [rbx + 0x104]
xor eax, eax
mov r8d, dword [r13 + 0x48]
mov dword [rbp - 0x74], r15d
cmp dword [rbp - 0x20], eax
je 0x1400a7cb7
mov edx, r14d
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x64], edx
mov r14d, eax
test edx, edx
jle 0x1400a7c20
mov r12d, dword [rbp - 0x70]
lea r11, [rbx + 0xf8]
mov eax, r15d
sub eax, edx
mov dword [rbx + 0x100], eax
mov dword [r11], eax
mov dword [rbx + 0xfc], eax
jmp 0x1400a7c2b
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a7cf8
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rcx + 0x298], 1
mov eax, r14d
jmp 0x1400a7e67
mov ecx, dword [rbp - 8]
xor r15d, r15d
mov r8d, dword [rbp - 0x18]
mov eax, edx
sub eax, r14d
mov dword [rbx + 0x118], r8d
mov dword [rbx + 0x10c], edx
mov dword [rbx + 0x108], eax
mov dword [rbx + 0x11c], eax
mov byte [rbx + 0x51], r15b
test ecx, ecx
je 0x1400a7d9d
cmp dword [rbx + 0xc8], r15d
jne 0x1400a7d9d
cmp dword [r13 + 0xc], r15d
je 0x1400a7d56
test r9d, r9d
je 0x1400a7d56
sub edx, r12d
sub edx, r14d
jmp 0x1400a7d58
mov edx, eax
sub r8d, edx
cmp ecx, 2
je 0x1400a7d6b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
test r8d, r8d
jg 0x1400a7d76
cmp dword [r13 + 0x30], r15d
je 0x1400a7d9d
mov ecx, 4
add dword [r11], r8d
lea r11, [r11 + 4]
sub rcx, 1
jne 0x1400a7d7b
add dword [rbx + 0x10c], r8d
add dword [rbx + 0x108], r8d
add dword [rbx + 0x11c], r8d
cmp dword [r13 + 8], r15d
je 0x1400a7dbc
mov eax, dword [rbx + 0x118]
cmp dword [rbx + 0x11c], eax
jge 0x1400a7dbc
mov edx, r14d
mov rcx, rbx
call fcn.1400a691c
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1400a7df9
mov eax, dword [rcx + 0x58]
and eax, 0xffffffdd
mov dword [rcx + 0x48], r15d
or eax, 1
mov dword [rcx + 0x64], r15d
mov dword [rcx + 0x58], eax
mov eax, dword [rcx + 0x94]
mov dword [rcx + 0x60], eax
mov eax, dword [rcx + 0x90]
mov dword [rcx + 0x68], eax
mov dword [rcx + 0x6c], r15d
mov dword [rbx + 0x138], 1
cmp dword [r13 + 0x2c], r15d
je 0x1400a7e06
mov dword [rbx + 0x134], r15d
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a7e1b
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rcx + 0x298], 1
mov rcx, rsi
mov rdx, qword [rbx + 0x128]
call fcn.1400ce1d8
mov qword [rbx + 0x128], r15
jmp 0x1400a7e67
mov rcx, qword [rsi + 0x2a0]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [case.0x140066f27.0]
jmp 0x1400a7ce3
mov dword [rsi + 0x298], 1
xor eax, eax
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret