Function at 0x1400a4608
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 0x1400a4663
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4670
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cd910
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 0x1400a46ea
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a46f7
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, dword [r13 + 0x48]
call fcn.1400cd910
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 0x1400a4734
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4741
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, dword [r13 + 0x4c]
call fcn.1400cd910
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 0x1400a541f
mov rax, qword [rbx + 0x30]
test dword [rax + 0x58], 0x1c0
je 0x1400a47a8
mov rdi, rax
cmp rcx, rax
je 0x1400a541f
mov rax, qword [rax + 0x10]
mov qword [rbx + 0x30], rax
mov qword [rax + 8], r9
cmp dword [rbx + 0x130], r9d
jne 0x1400a482c
mov r9, rdx
lea rcx, [rbx + 8]
mov edx, dword [r13 + 8]
lea r8, [rbp + 0xa8]
call fcn.1400a37b4
xor r9d, r9d
test eax, eax
je 0x1400a47f3
mov rdx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a47e4
mov rcx, qword [rbx + 0x30]
mov qword [rcx + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rdx + 0x298], 1
jmp 0x1400a542b
cmp dword [r13 + 4], r9d
je 0x1400a481c
lea rdx, [rbp + 0xb8]
mov rcx, rbx
call fcn.1400a3a70
xor r9d, r9d
test eax, eax
jne 0x1400a47cf
mov rcx, qword [rbp + 0xb8]
mov qword [rbp], rcx
jmp 0x1400a4820
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 0x1400a492d
test byte [rcx + 0x58], 0x20
jne 0x1400a492d
mov eax, dword [rcx + 0x58]
and al, 5
cmp al, 1
jne 0x1400a4886
test byte [rcx + 0x58], 2
je 0x1400a492d
cmp dword [rcx + 0x28], r9d
jne 0x1400a492d
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.1400d7900
xor r12d, r12d
mov r14d, eax
test eax, eax
je 0x1400a48e0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a48ff
call fcn.1400d7b20
jmp 0x1400a48ff
lea r8, [rbp + 8]
mov rcx, r15
call fcn.1400c9e40
mov rcx, qword [rbp + 8]
mov r14d, eax
test eax, eax
jne 0x1400a48d4
call fcn.1400d7b20
mov r14d, eax
xor r9d, r9d
test r14d, r14d
jne 0x1400a52a7
cmp dword [r15 + 0x18], r9d
jne 0x1400a491f
cmp dword [r15 + 0x6c], r9d
jne 0x1400a491f
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 0x1400a4947
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 0x1400a4955
lea r14d, [rax + 1]
jmp 0x1400a49e0
test byte [rax + 0x58], 0x20
mov rcx, qword [rax + 8]
mov qword [rbp], rcx
je 0x1400a49c8
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 0x1400a49aa
mov r8d, dword [rsi + 0x330]
mov edx, dword [rsi + 0x328]
jmp 0x1400a49b7
mov r8d, dword [rsi + 0x32c]
mov edx, dword [rsi + 0x324]
call fcn.1400cd910
mov dword [rbp + 0x38], eax
xor r9d, r9d
mov rax, qword [rbp + 0x10]
jmp 0x1400a49e4
test byte [rax + 0x58], 1
je 0x1400a49da
test byte [rax + 0x58], 4
mov r14d, 4
je 0x1400a49e0
mov r14d, 3
mov dword [rbp + 0x20], r14d
mov r11d, dword [rbp - 0x50]
test r11d, r11d
jne 0x1400a49f6
mov ecx, dword [r13 + 0x50]
mov dword [rbp - 0x1c], ecx
jmp 0x1400a49fa
mov dword [rbp - 0x1c], r9d
cmp r14d, 1
je 0x1400a4b2d
cmp r14d, 2
jne 0x1400a4b1e
cmp dword [rbp + 0x30], r9d
jne 0x1400a4b1e
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 0x1400a4a43
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4a50
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r13d
call fcn.1400cd910
mov r11d, dword [rbp - 0x50]
mov r15d, eax
cmp r11d, 2
jne 0x1400a4aae
xor eax, eax
cmp dword [rbp - 0x40], eax
jne 0x1400a4b03
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 0x1400a4a97
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4aa4
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r14d
call fcn.1400cd910
jmp 0x1400a4b10
test r11d, r11d
jne 0x1400a4ac3
mov rax, qword [rbp - 0x58]
mov r14d, dword [rax + 0x48]
mov eax, dword [rbx + 0x104]
jmp 0x1400a4b10
cmp r11d, 4
jne 0x1400a4add
mov rdx, qword [rbp - 0x48]
mov r14d, dword [rbp + 0xb8]
add r14d, dword [rdx + 0x68]
mov eax, dword [rdx + 0x60]
jmp 0x1400a4afb
cmp r11d, 3
jne 0x1400a4b03
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 0x1400a4b10
mov r14d, dword [rbp + 0xb8]
mov eax, dword [rbp + 0xa8]
sub r13d, r14d
sub r15d, eax
xor r9d, r9d
jmp 0x1400a4dd0
mov r13d, dword [r15 + 0x60]
mov r15d, 0x3fffffff
jmp 0x1400a4dd0
cmp r11d, 2
jne 0x1400a4bce
cmp dword [rbp - 0x40], r9d
jne 0x1400a4c49
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 0x1400a4b79
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4b86
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cd910
mov r15d, eax
xor eax, eax
cmp dword [rbp + 0xb0], eax
je 0x1400a4ba9
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4bb6
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, r14d
call fcn.1400cd910
mov rcx, qword [rbp - 0x80]
sub r15d, dword [rcx + 0x68]
sub r15d, eax
jmp 0x1400a4d31
test r11d, r11d
jne 0x1400a4c49
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 0x1400a4d35
cmp dword [rax + 4], r9d
jne 0x1400a4d35
mov rdx, qword [rcx + 0x40]
lea r9, [rbp - 0x20]
mov r8d, dword [rbp - 0x28]
mov rcx, rsi
call fcn.1400a34e8
mov edx, eax
test eax, eax
je 0x1400a4d31
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a4c38
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rcx + 0x298], 1
mov eax, edx
jmp 0x1400a542b
mov eax, dword [rbp - 0x78]
mov r13d, eax
cmp r11d, 4
jne 0x1400a4c9c
mov r14, qword [rbp - 0x48]
sub r13d, dword [r14 + 0x68]
sub r13d, dword [rbp + 0xb8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a4c7c
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4c89
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cd910
mov r15d, eax
sub r15d, dword [r14 + 0x60]
jmp 0x1400a4d22
cmp r11d, 3
jne 0x1400a4cec
mov r14, qword [rbp - 0x48]
sub r13d, dword [r14 + 0x90]
sub r13d, dword [rbp + 0xb8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a4ccc
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4cd9
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cd910
mov r15d, eax
sub r15d, dword [r14 + 0x94]
jmp 0x1400a4d22
sub r13d, dword [rbp + 0xb8]
cmp dword [rbp + 0xb0], r9d
je 0x1400a4d0b
mov edx, dword [rsi + 0x328]
mov r8d, dword [rsi + 0x330]
jmp 0x1400a4d18
mov edx, dword [rsi + 0x324]
mov r8d, dword [rsi + 0x32c]
mov ecx, eax
call fcn.1400cd910
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 0x1400a4d61
cmp edx, 5
jne 0x1400a4d66
test r9d, r9d
je 0x1400a4dc4
cmp eax, 1
jbe 0x1400a4db4
cmp dword [rbx + 0xc8], ecx
je 0x1400a4d7c
xor r9d, r9d
mov dword [rbp - 0x6c], r9d
jmp 0x1400a4dc7
cmp r11d, 2
jne 0x1400a4d89
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.0x140064bf9.0]
mov edx, eax
xor r9d, r9d
jmp 0x1400a4dba
xor r9d, r9d
mov edx, r9d
test edx, edx
jne 0x1400a4c23
jmp 0x1400a4dc7
xor r9d, r9d
mov eax, dword [rbx + 0xcc]
mov dword [rbp - 0x14], eax
test r12d, r12d
mov r14d, r9d
mov r12d, r9d
je 0x1400a4def
mov r15d, r9d
mov dword [rbp - 0x24], r9d
mov dword [rbp - 0x60], r9d
mov dword [rbp - 0x68], r9d
jmp 0x1400a50b3
mov rcx, qword [rbp - 0x80]
mov dword [rbp - 0x2c], r9d
mov dword [rbp - 0x30], r9d
cmp dword [rcx + 0x18], r9d
jle 0x1400a4e3c
mov rax, qword [rcx + 0x48]
test rax, rax
jne 0x1400a4e18
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 0x20]
mov rcx, qword [rcx + 0x28]
jmp 0x1400a4e1c
mov rcx, qword [rax + 0x10]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x2c]
call fcn.1400ca4ac
mov r12d, dword [rbp - 0x30]
xor r9d, r9d
mov r14d, dword [rbp - 0x2c]
test eax, eax
jne 0x1400a47cf
mov eax, r9d
test eax, eax
jne 0x1400a47cf
cmp dword [rbp - 0x20], r9d
jne 0x1400a4e72
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 0x1400a4e67
mov r14d, r9d
mov r12d, r9d
mov eax, r9d
test eax, eax
jne 0x1400a47cf
mov r8, qword [rbp - 0x80]
mov rcx, qword [rsi + 0x2a0]
mov edx, dword [r8 + 0x18]
inc edx
test rcx, rcx
je 0x1400a4ea2
lea r9, [rbp + 0x48]
mov r8d, 4
call fcn.1400a6334
mov r8, qword [rbp - 0x80]
mov edx, eax
xor r9d, r9d
jmp 0x1400a4ea7
mov edx, 0xfffffc18
mov rax, qword [rbp + 0x18]
test edx, edx
cmove rax, qword [rbp + 0x48]
mov qword [rbp + 0x18], rax
jne 0x1400a4c23
mov r10, qword [rbp - 0x58]
cmp dword [r10], r9d
je 0x1400a4ed0
cmp dword [rbp + 0x20], 1
mov ecx, 1
je 0x1400a4ed3
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.1400cd98c
xor r15d, r15d
mov r14d, eax
test eax, eax
jne 0x1400a5401
mov r9d, r15d
mov r10, qword [rbp + 0x18]
mov r14, qword [rbp - 0x80]
cmp dword [r12], r15d
jle 0x1400a4fa5
mov edx, r15d
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 [r12]
jl 0x1400a4f83
mov rcx, qword [rsi + 0x2a0]
mov rdx, r10
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [case.0x140064bf9.0]
mov r8d, dword [rbp - 0x10]
xor r9d, r9d
test r8d, r8d
je 0x1400a5053
mov r12d, dword [rbp - 0x68]
test r12d, r12d
jle 0x1400a5053
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 0x1400a505a
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 0x1400a503a
add ecx, r13d
mov eax, r11d
mov r14d, ecx
cmp ecx, r8d
jl 0x1400a5020
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 0x1400a4ffd
mov rbx, qword [rbp + 0xa0]
xor r9d, r9d
jmp 0x1400a505a
mov r12d, r9d
mov dword [rbp - 0x68], r9d
cmp dword [rbx + 0x130], r9d
jne 0x1400a50ab
mov rax, qword [r14 + 0x48]
test rax, rax
je 0x1400a5072
mov r8, qword [rax + 0x10]
jmp 0x1400a5076
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.1400a3da4
xor r9d, r9d
mov edx, eax
test eax, eax
jne 0x1400a4c23
mov r15d, dword [rbp - 0x24]
mov r14d, dword [rbp - 0x60]
mov r10d, dword [rbp + 0x20]
cmp r10d, 3
jne 0x1400a50f9
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.0x140064bf9.0]
xor r9d, r9d
test eax, eax
jne 0x1400a542b
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 0x1400a51cb
mov r9d, dword [rbp - 0x40]
xor r11d, r11d
test ecx, ecx
je 0x1400a5127
test r9d, r9d
jne 0x1400a5136
mov r15d, dword [rbp - 0x38]
mov edx, dword [rbp + 0xa8]
sub r15d, edx
jmp 0x1400a5174
cmp r9d, 2
jne 0x1400a5151
mov r15d, dword [rbp - 0x38]
mov edx, dword [rbp + 0xa8]
sub r15d, ecx
sub r15d, edx
add r15d, r14d
jmp 0x1400a5174
cmp r9d, 1
jne 0x1400a516a
mov r15d, dword [rbp - 0x38]
mov eax, ecx
sub eax, r14d
cdq
sub eax, edx
sar eax, 1
sub r15d, eax
jmp 0x1400a512b
mov r15d, dword [rbp - 0x74]
mov edx, dword [rbp + 0xa8]
cmp r10d, 1
jne 0x1400a5199
mov r8d, dword [rbp - 0x18]
mov eax, ecx
sub eax, r14d
add eax, edx
add eax, r15d
cmp eax, r8d
jle 0x1400a5199
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 0x1400a51e8
mov r13, qword [rbp - 0x58]
cmp eax, 4
jne 0x1400a523c
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 0x1400a52ce
mov rcx, qword [rbp]
xor r9d, r9d
jmp 0x1400a4860
cmp eax, 3
jne 0x1400a5259
mov rax, qword [rbp - 0x48]
mov r15d, dword [rax + 0x94]
mov r8d, dword [rax + 0x90]
mov dword [rbp - 0x74], r15d
jmp 0x1400a51e4
mov r15d, dword [rbx + 0x104]
xor eax, eax
mov r8d, dword [r13 + 0x48]
mov dword [rbp - 0x74], r15d
cmp dword [rbp - 0x20], eax
je 0x1400a527b
mov edx, r14d
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x64], edx
mov r14d, eax
test edx, edx
jle 0x1400a51e4
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 0x1400a51ef
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a52bc
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rdi
mov qword [rbx + 0x30], rdi
mov dword [rcx + 0x298], 1
mov eax, r14d
jmp 0x1400a542b
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 0x1400a5361
cmp dword [rbx + 0xc8], r15d
jne 0x1400a5361
cmp dword [r13 + 0xc], r15d
je 0x1400a531a
test r9d, r9d
je 0x1400a531a
sub edx, r12d
sub edx, r14d
jmp 0x1400a531c
mov edx, eax
sub r8d, edx
cmp ecx, 2
je 0x1400a532f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
test r8d, r8d
jg 0x1400a533a
cmp dword [r13 + 0x30], r15d
je 0x1400a5361
mov ecx, 4
add dword [r11], r8d
lea r11, [r11 + 4]
sub rcx, 1
jne 0x1400a533f
add dword [rbx + 0x10c], r8d
add dword [rbx + 0x108], r8d
add dword [rbx + 0x11c], r8d
cmp dword [r13 + 8], r15d
je 0x1400a5380
mov eax, dword [rbx + 0x118]
cmp dword [rbx + 0x11c], eax
jge 0x1400a5380
mov edx, r14d
mov rcx, rbx
call fcn.1400a3ee4
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1400a53bd
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 0x1400a53ca
mov dword [rbx + 0x134], r15d
mov rcx, qword [rbx + 0x10]
test rdi, rdi
je 0x1400a53df
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.1400cb608
mov qword [rbx + 0x128], r15
jmp 0x1400a542b
mov rcx, qword [rsi + 0x2a0]
mov rdx, qword [rbp + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
call qword [case.0x140064bf9.0]
jmp 0x1400a52a7
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