Function at 0x1400a34dc
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 r15d, ecx
and r15d, 2
mov qword [rbp - 0x40], r13
mov eax, dword [r13 + 0x4c]
mov dword [rbp - 0x78], eax
mov dword [rbp + 0xb0], r15d
mov dword [rbp - 0x30], ecx
je 0x1400a3537
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3544
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cbf04
mov rcx, qword [rbx + 0x28]
xor r12d, r12d
mov dword [rbp - 0x20], eax
mov r14d, r12d
mov eax, dword [r13]
mov edi, r12d
neg eax
mov qword [rbp - 8], rcx
mov qword [rbp + 0xb8], rcx
mov rcx, qword [r13 + 0x58]
sbb eax, eax
neg eax
mov dword [rbp - 0x70], r12d
inc eax
mov qword [rbp + 0x38], r12
mov dword [rbp - 0x14], eax
mov eax, dword [r13 + 0x3c]
mov dword [rbp - 0x10], eax
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x80], rcx
mov dword [rbp + 0xa8], r12d
mov dword [rbp - 0x1c], r12d
mov dword [rbp - 0x28], r12d
mov dword [rbp - 0x2c], r12d
mov dword [rbp - 0x64], r12d
mov dword [rbp - 0x6c], r12d
mov dword [rbp - 0x18], r12d
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0xc], r12d
test r15d, r15d
je 0x1400a35cb
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a35d8
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, dword [r13 + 0x48]
call fcn.1400cbf04
mov dword [rbx + 0x104], eax
mov r11d, eax
mov dword [rbx + 0x100], eax
mov dword [rbx + 0xf8], eax
mov dword [rbx + 0xfc], eax
test r15d, r15d
je 0x1400a3610
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a361d
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, dword [r13 + 0x4c]
call fcn.1400cbf04
mov rcx, qword [rbp - 8]
lea rdx, [rbx + 0x134]
xor r9d, r9d
mov dword [rbx + 0x118], eax
mov dword [rbx + 0x10c], r11d
mov dword [rbx + 0x108], r11d
mov dword [rbx + 0x11c], r11d
mov dword [rdx], r9d
mov byte [rbx + 0x51], r9b
test rcx, rcx
jne 0x1400a366c
mov dword [rsi + 0x298], 1
xor eax, eax
jmp 0x1400a3b23
mov rax, qword [rbx + 0x30]
test dword [rax + 0x58], 0x1c0
je 0x1400a368d
mov rdi, rax
cmp rcx, rax
je 0x1400a365b
mov rax, qword [rax + 0x10]
mov qword [rbx + 0x30], rax
mov qword [rax + 8], r9
cmp dword [rbx + 0x130], r9d
jne 0x1400a3711
mov r9, rdx
lea rcx, [rbx + 8]
mov edx, dword [r13 + 8]
lea r8, [rbp + 0xa8]
call fcn.1400a26cc
xor r9d, r9d
test eax, eax
je 0x1400a36d8
mov rdx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a36c9
mov rcx, qword [rbx + 0x30]
mov qword [rcx + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rdx + 0x298], 1
jmp 0x1400a3b23
cmp dword [r13 + 4], r9d
je 0x1400a3701
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call fcn.1400a297c
xor r9d, r9d
test eax, eax
jne 0x1400a36b4
mov rcx, qword [rbp + 0xb8]
mov qword [rbp - 8], rcx
jmp 0x1400a3705
mov rcx, qword [rbp - 8]
cmp dword [r13 + 0x20], r9d
cmovne r14, rcx
mov qword [rbp + 0x38], r14
or qword [rbp - 0x58], 0xffffffffffffffff
mov r12d, r9d
mov r11, qword [rbp - 0x80]
mov dword [rbp - 0x60], r9d
movups xmm0, xmmword [rbp - 0x60]
mov dword [rbp - 0x50], r9d
mov word [rbp - 0x4c], r9w
mov dword [rbp - 0x48], r9d
movups xmm1, xmmword [rbp - 0x50]
mov dword [rbp + 0xb8], r9d
movups xmmword [rbp + 0x18], xmm0
mov dword [rbp + 0xa8], r9d
movups xmmword [rbp + 0x28], xmm1
test rcx, rcx
je 0x1400a381e
test byte [rcx + 0x58], 0x20
jne 0x1400a381e
mov eax, dword [rcx + 0x58]
and al, 5
cmp al, 1
jne 0x1400a3772
test byte [rcx + 0x58], 2
je 0x1400a381e
cmp dword [rcx + 0x28], r9d
jne 0x1400a381e
mov eax, dword [rbp - 0x14]
lea rdx, [rbp]
mov qword [rsp + 0x28], rdx
mov r8d, 1
mov dword [r11 + 0x88], r9d
mov edx, eax
mov qword [r11 + 0x40], rcx
mov r9, rcx
mov rcx, qword [r11]
mov dword [r11 + 0x14], eax
mov dword [rsp + 0x20], 1
call fcn.1400d5cb0
xor r15d, r15d
mov r14d, eax
test eax, eax
je 0x1400a37cc
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400a37ec
call fcn.1400d5ec8
jmp 0x1400a37ec
mov rcx, qword [rbp - 0x80]
lea r8, [rbp]
call fcn.1400c84a4
mov rcx, qword [rbp]
mov r14d, eax
test eax, eax
jne 0x1400a37c0
call fcn.1400d5ec8
mov r14d, eax
xor r9d, r9d
test r14d, r14d
jne 0x1400a4176
mov r11, qword [rbp - 0x80]
cmp dword [r11 + 0x18], r9d
jne 0x1400a3810
cmp dword [r11 + 0x6c], r9d
jne 0x1400a3810
lea r15d, [r9 + 1]
mov dword [r11 + 0x64], r9d
mov rax, qword [r11 + 0x48]
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rax
jmp 0x1400a3838
and qword [r11 + 0x60], 0
mov r15d, 1
mov rax, rcx
mov qword [rbp + 8], rcx
mov qword [rbp + 0x20], rcx
mov dword [r11 + 0x68], r9d
test rax, rax
jne 0x1400a3846
lea r14d, [rax + 1]
jmp 0x1400a38d0
test byte [rax + 0x58], 0x20
mov rcx, qword [rax + 8]
mov qword [rbp - 8], rcx
je 0x1400a38b8
movsxd rcx, dword [rax + 0x48]
mov r14d, 2
mov r9, qword [rsi + 0x348]
add rcx, rcx
cmp dword [rbp + 0xb0], 0
mov dword [rbp + 0x18], r14d
mov eax, dword [r9 + rcx*8]
mov dword [rbp + 0x28], eax
movzx eax, word [r9 + rcx*8 + 0xa]
mov ecx, dword [r9 + rcx*8 + 4]
mov word [rbp + 0x2c], ax
je 0x1400a389a
mov r8d, dword [rsi + 0x330]
mov edx, dword [rsi + 0x328]
jmp 0x1400a38a7
mov r8d, dword [rsi + 0x32c]
mov edx, dword [rsi + 0x324]
call fcn.1400cbf04
mov dword [rbp + 0x30], eax
xor r9d, r9d
mov rax, qword [rbp + 8]
jmp 0x1400a38d4
test byte [rax + 0x58], 1
je 0x1400a38ca
test byte [rax + 0x58], 4
mov r14d, 4
je 0x1400a38d0
mov r14d, 3
mov dword [rbp + 0x18], r14d
mov ecx, dword [rbp - 0x60]
test ecx, ecx
jne 0x1400a38e4
mov edx, dword [r13 + 0x50]
mov dword [rbp - 0x24], edx
jmp 0x1400a38e8
mov dword [rbp - 0x24], r9d
cmp r14d, 1
je 0x1400a3a10
cmp r14d, 2
jne 0x1400a3a01
cmp dword [rbp + 0x28], r9d
jne 0x1400a3a01
movsxd rax, dword [rax + 0x48]
mov r11, qword [rsi + 0x348]
add rax, rax
mov r13d, dword [r11 + rax*8 + 4]
cmp dword [rbp + 0xb0], r9d
je 0x1400a3931
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a393e
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r13d
call fcn.1400cbf04
mov ecx, dword [rbp - 0x60]
mov r14d, eax
cmp ecx, 2
jne 0x1400a399a
xor edx, edx
cmp dword [rbp - 0x50], edx
jne 0x1400a39e9
mov rax, qword [rbp - 0x58]
movsxd rcx, dword [rax + 0x48]
add rcx, rcx
mov r11d, dword [r11 + rcx*8 + 4]
cmp dword [rbp + 0xb0], edx
je 0x1400a3983
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3990
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r11d
call fcn.1400cbf04
jmp 0x1400a39f3
test ecx, ecx
jne 0x1400a39ae
mov rax, qword [rbp - 0x40]
mov r11d, dword [rax + 0x48]
mov eax, dword [rbx + 0x104]
jmp 0x1400a39f3
cmp ecx, 4
jne 0x1400a39c7
mov rcx, qword [rbp - 0x58]
mov r11d, dword [rbp + 0xa8]
add r11d, dword [rcx + 0x68]
mov eax, dword [rcx + 0x60]
jmp 0x1400a39e4
cmp ecx, 3
jne 0x1400a39e9
mov rcx, qword [rbp - 0x58]
mov r11d, dword [rbp + 0xa8]
add r11d, dword [rcx + 0x90]
mov eax, dword [rcx + 0x94]
add eax, r12d
jmp 0x1400a39f3
mov r11d, dword [rbp + 0xa8]
mov eax, r12d
sub r13d, r11d
sub r14d, eax
xor r9d, r9d
jmp 0x1400a3cc5
mov r13d, dword [r11 + 0x60]
mov r14d, 0x3fffffff
jmp 0x1400a3cc9
cmp ecx, 2
jne 0x1400a3aae
cmp dword [rbp - 0x50], r9d
jne 0x1400a3b37
mov rax, qword [rbp - 0x58]
mov r12d, dword [rbp + 0xb0]
movsxd rcx, dword [rax + 0x48]
mov rax, qword [rsi + 0x348]
add rcx, rcx
mov r11d, dword [rax + rcx*8 + 4]
mov eax, dword [rbp - 0x78]
mov r13d, eax
sub r13d, r11d
test r12d, r12d
je 0x1400a3a5e
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3a6b
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cbf04
mov r14d, eax
test r12d, r12d
je 0x1400a3a89
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3a96
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r11d
call fcn.1400cbf04
mov rcx, qword [rbp - 0x80]
sub r14d, dword [rcx + 0x68]
sub r14d, eax
jmp 0x1400a3c25
test ecx, ecx
jne 0x1400a3b37
mov rax, qword [rbp - 0x40]
mov r14d, dword [rbp - 0x20]
sub r14d, dword [r11 + 0x68]
mov r13d, dword [rbp - 0x78]
sub r13d, dword [rax + 0x48]
sub r14d, dword [rbx + 0x100]
test r15d, r15d
jne 0x1400a3c28
cmp dword [rax + 4], r9d
jne 0x1400a3c28
mov r8d, dword [rbp - 0x30]
lea r9, [rbp - 0x28]
mov rdx, qword [r11 + 0x40]
mov rcx, rsi
call fcn.1400a2400
mov edx, eax
test eax, eax
je 0x1400a3c25
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a3b17
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov eax, edx
mov dword [rcx + 0x298], 1
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp ecx, 4
jne 0x1400a3b8b
mov rax, qword [rbp - 0x58]
mov ecx, dword [rbp - 0x78]
mov r13d, ecx
sub r13d, dword [rax + 0x68]
sub r13d, dword [rbp + 0xa8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a3b69
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3b76
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
call fcn.1400cbf04
mov r14d, eax
mov rax, qword [rbp - 0x58]
sub r14d, dword [rax + 0x60]
jmp 0x1400a3c1e
cmp ecx, 3
jne 0x1400a3be2
mov rax, qword [rbp - 0x58]
mov ecx, dword [rbp - 0x78]
mov r13d, ecx
sub r13d, dword [rax + 0x90]
sub r13d, dword [rbp + 0xa8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a3bc0
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3bcd
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
call fcn.1400cbf04
mov r14d, eax
mov rax, qword [rbp - 0x58]
sub r14d, dword [rax + 0x94]
jmp 0x1400a3c1e
mov eax, dword [rbp - 0x78]
mov r13d, eax
sub r13d, dword [rbp + 0xa8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a3c07
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a3c14
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cbf04
mov r14d, eax
sub r14d, dword [r11 + 0x68]
sub r14d, r12d
mov ecx, dword [rbp - 0x60]
mov rax, qword [rbx + 0x128]
xor r11d, r11d
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 - 0x70], r8d
test r8d, r8d
je 0x1400a3c55
cmp edx, 5
jne 0x1400a3c5a
test r9d, r9d
je 0x1400a3cb9
cmp eax, 1
jbe 0x1400a3ca9
cmp dword [rbx + 0xc8], r11d
je 0x1400a3c71
xor r9d, r9d
mov dword [rbp - 0x70], r9d
jmp 0x1400a3cbc
cmp ecx, 2
jne 0x1400a3c7e
cmp dword [rbp - 0x50], r11d
cmovne r8d, r11d
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov rcx, qword [r10 + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [r10 + 0x78]
call qword [case.0x1400739fa.0]
mov edx, eax
xor r9d, r9d
jmp 0x1400a3caf
xor r9d, r9d
mov edx, r9d
test edx, edx
jne 0x1400a3b02
jmp 0x1400a3cbc
xor r9d, r9d
mov eax, dword [rbx + 0xcc]
mov dword [rbp - 0x1c], eax
mov r11, qword [rbp - 0x80]
test r15d, r15d
mov r12d, r9d
mov r15d, r9d
je 0x1400a3ce8
mov dword [rbp - 0x2c], r9d
mov r14d, r9d
mov dword [rbp - 0x64], r9d
mov dword [rbp - 0x6c], r9d
jmp 0x1400a3fa6
mov dword [rbp - 0x34], r9d
mov dword [rbp - 0x38], r9d
cmp dword [r11 + 0x18], r9d
jle 0x1400a3d31
mov rax, qword [r11 + 0x48]
test rax, rax
jne 0x1400a3d0d
mov rax, qword [r11 + 0x40]
mov rcx, qword [rax + 0x20]
mov rcx, qword [rcx + 0x28]
jmp 0x1400a3d11
mov rcx, qword [rax + 0x10]
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x34]
call fcn.1400c8b2c
mov r12d, dword [rbp - 0x38]
xor r9d, r9d
mov r15d, dword [rbp - 0x34]
test eax, eax
jne 0x1400a36b4
mov eax, r9d
test eax, eax
jne 0x1400a36b4
cmp dword [rbp - 0x28], r9d
jne 0x1400a3d67
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx + 0x58]
mov rcx, qword [rax + 0x20]
mov eax, dword [rbp - 0x30]
cmp dword [rcx + 0x14], eax
je 0x1400a3d5c
mov r15d, r9d
mov r12d, r9d
mov eax, r9d
test eax, eax
jne 0x1400a36b4
mov r8, qword [rbp - 0x80]
mov rcx, qword [rsi + 0x2a0]
mov edx, dword [r8 + 0x18]
inc edx
test rcx, rcx
je 0x1400a3d97
lea r9, [rbp + 0x40]
mov r8d, 4
call fcn.1400a51b0
mov r8, qword [rbp - 0x80]
mov edx, eax
xor r9d, r9d
jmp 0x1400a3d9c
mov edx, 0xfffffc18
mov rax, qword [rbp + 0x10]
test edx, edx
cmove rax, qword [rbp + 0x40]
mov qword [rbp + 0x10], rax
jne 0x1400a3b02
mov r10, qword [rbp - 0x40]
cmp dword [r10], r9d
je 0x1400a3dc5
cmp dword [rbp + 0x18], 1
mov ecx, 1
je 0x1400a3dc8
mov ecx, r9d
mov r9d, dword [r8 + 0x60]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x98], rdx
sub r9d, r15d
lea r15, [r8 + 0x18]
lea rdx, [rbp - 0x6c]
mov qword [rsp + 0x90], rdx
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x88], rdx
lea rdx, [rbp - 0x64]
mov qword [rsp + 0x80], rdx
lea rdx, [rbp - 0x2c]
mov qword [rsp + 0x78], rdx
mov edx, dword [rbp - 0x70]
mov qword [rsp + 0x70], rax
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x68], eax
mov eax, dword [r8 + 0x80]
mov r8d, r13d
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x48], ecx
mov ecx, dword [r10 + 0x34]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x24]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
call fcn.1400cbf74
xor r12d, r12d
mov r14d, eax
test eax, eax
jne 0x1400a42da
mov r9d, r12d
mov r10, qword [rbp + 0x10]
mov r14, qword [rbp - 0x80]
cmp dword [r15], r12d
jle 0x1400a3e98
mov edx, r12d
mov r8, r10
mov rax, qword [r14 + 0x30]
inc r9d
mov rcx, qword [rax + rdx]
lea rdx, [rdx + 8]
mov eax, dword [r8]
lea r8, [r8 + 4]
mov dword [rcx + 0x94], eax
cmp r9d, dword [r15]
jl 0x1400a3e77
mov rcx, qword [rsi + 0x2a0]
mov rdx, r10
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [case.0x1400739fa.0]
mov r8d, dword [rbp - 0x18]
xor r9d, r9d
test r8d, r8d
je 0x1400a3f46
mov r12d, dword [rbp - 0x6c]
test r12d, r12d
jle 0x1400a3f46
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 0x1400a3f4d
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 0x1400a3f2d
add ecx, r13d
mov eax, r11d
mov r14d, ecx
cmp ecx, r8d
jl 0x1400a3f13
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 0x1400a3ef0
mov rbx, qword [rbp + 0xa0]
xor r9d, r9d
jmp 0x1400a3f4d
mov r12d, r9d
mov dword [rbp - 0x6c], r9d
cmp dword [rbx + 0x130], r9d
jne 0x1400a3f9e
mov rax, qword [r14 + 0x48]
test rax, rax
je 0x1400a3f65
mov r8, qword [rax + 0x10]
jmp 0x1400a3f69
mov r8, qword [rbx + 0x30]
cmp dword [rbp + 0x18], 1
mov eax, r9d
mov r9d, dword [rbp - 0x14]
mov rcx, rsi
mov rdx, qword [r14 + 0x40]
sete al
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call fcn.1400a2c9c
xor r9d, r9d
mov edx, eax
test eax, eax
jne 0x1400a3b02
mov r15d, dword [rbp - 0x2c]
mov r14d, dword [rbp - 0x64]
mov r10d, dword [rbp + 0x18]
cmp r10d, 3
jne 0x1400a3fec
mov rcx, qword [rbp + 8]
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.0x1400739fa.0]
xor r9d, r9d
test eax, eax
jne 0x1400a3b23
mov r10d, dword [rbp + 0x18]
mov r11, qword [rbp - 0x80]
mov edx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x60]
mov ecx, dword [r11 + 0x68]
sub ecx, edx
add ecx, r12d
add ecx, r15d
cmp eax, 2
jne 0x1400a40b5
mov r9d, dword [rbp - 0x50]
xor r12d, r12d
test ecx, ecx
je 0x1400a401b
test r9d, r9d
jne 0x1400a402a
mov r15d, dword [rbp - 0x48]
mov edx, dword [rbp + 0xb8]
sub r15d, edx
jmp 0x1400a4068
cmp r9d, 2
jne 0x1400a4045
mov r15d, dword [rbp - 0x48]
mov edx, dword [rbp + 0xb8]
sub r15d, ecx
sub r15d, edx
add r15d, r14d
jmp 0x1400a4068
cmp r9d, 1
jne 0x1400a405e
mov r15d, dword [rbp - 0x48]
mov eax, ecx
sub eax, r14d
cdq
sub eax, edx
sar eax, 1
sub r15d, eax
jmp 0x1400a401f
mov r15d, dword [rbp - 0x74]
mov edx, dword [rbp + 0xb8]
cmp r10d, 1
jne 0x1400a408d
mov r8d, dword [rbp - 0x20]
mov eax, ecx
sub eax, r14d
add eax, edx
add eax, r15d
cmp eax, r8d
jle 0x1400a408d
mov r15d, r8d
sub r15d, ecx
sub r15d, edx
add r15d, r14d
test r15d, r15d
mov eax, r12d
cmovns eax, r15d
mov r15d, eax
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0xc], r15d
mov r8d, dword [rax + 0x90]
mov dword [rax + 0x94], r15d
mov edx, dword [rbp - 0x68]
jmp 0x1400a40c6
cmp eax, 4
jne 0x1400a40d0
mov rax, qword [rbp - 0x58]
mov r15d, dword [rax + 0x60]
mov r8d, dword [rax + 0x68]
mov r13, qword [rbp - 0x40]
mov dword [rbp - 0x74], r15d
jmp 0x1400a412e
mov r13, qword [rbp - 0x40]
cmp eax, 3
jne 0x1400a40f1
mov rax, qword [rbp - 0x58]
mov r15d, dword [rax + 0x94]
mov r8d, dword [rax + 0x90]
mov dword [rbp - 0x74], r15d
jmp 0x1400a412e
mov r15d, dword [rbx + 0x104]
xor eax, eax
mov r8d, dword [r13 + 0x48]
mov dword [rbp - 0x74], r15d
cmp dword [rbp - 0x28], eax
je 0x1400a4113
mov edx, r14d
mov dword [rbp - 0x64], eax
mov dword [rbp - 0x68], edx
mov r14d, eax
test edx, edx
jle 0x1400a412e
mov eax, r15d
sub eax, edx
mov dword [rbx + 0x100], eax
mov dword [rbx + 0xf8], eax
mov dword [rbx + 0xfc], eax
mov r12d, dword [rbp + 0xb8]
sub ecx, edx
mov eax, dword [r11 + 0x60]
add ecx, r15d
sub eax, dword [rbp - 0x24]
add r12d, ecx
movups xmm0, xmmword [rbp + 0x18]
add eax, r8d
mov dword [rbp + 0xb8], r12d
movups xmm1, xmmword [rbp + 0x28]
add dword [rbp + 0xa8], eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm1
cmp r10d, 1
je 0x1400a4193
mov rcx, qword [rbp - 8]
xor r9d, r9d
jmp 0x1400a374c
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a418b
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov eax, r14d
jmp 0x1400a3b19
mov edx, dword [rbp - 0x10]
xor r15d, r15d
mov r10d, dword [rbp - 0x20]
mov ecx, r12d
sub ecx, r14d
mov dword [rbx + 0x118], r10d
mov dword [rbx + 0x10c], r12d
mov eax, ecx
mov dword [rbx + 0x108], ecx
mov dword [rbx + 0x11c], ecx
mov byte [rbx + 0x51], r15b
test edx, edx
je 0x1400a423d
cmp dword [rbx + 0xc8], r15d
jne 0x1400a423d
cmp dword [r13 + 0xc], r15d
je 0x1400a41e4
test r9d, r9d
je 0x1400a41e4
sub r12d, dword [rbp - 0xc]
sub r12d, r14d
jmp 0x1400a41e7
mov r12d, ecx
sub r10d, r12d
cmp edx, 2
je 0x1400a41fa
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
test r10d, r10d
jg 0x1400a4207
mov eax, ecx
cmp dword [r13 + 0x30], r15d
je 0x1400a423d
mov ecx, 4
lea rax, [rbx + 0xf8]
add dword [rax], r10d
lea rax, [rax + 4]
sub rcx, 1
jne 0x1400a4213
mov eax, dword [rbx + 0x11c]
add dword [rbx + 0x10c], r10d
add dword [rbx + 0x108], r10d
add eax, r10d
mov dword [rbx + 0x11c], eax
cmp dword [r13 + 8], r15d
je 0x1400a4256
cmp eax, dword [rbx + 0x118]
jge 0x1400a4256
mov edx, r14d
mov rcx, rbx
call fcn.1400a2dd8
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400a4293
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 0x1400a42a0
mov dword [rbx + 0x134], r15d
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a42b5
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.1400c9c68
mov qword [rbx + 0x128], r15
jmp 0x1400a3b23
mov rcx, qword [rsi + 0x2a0]
mov rdx, qword [rbp + 0x10]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [case.0x1400739fa.0]
jmp 0x1400a4176