Function at 0x1400d7e70
Capabilities:
Print debug messages

Disassembly:
push rsi
sub rsp, 0x40
cmp qword [rcx + 0x20], 0
mov rsi, rcx
jne 0x1400d7e9d
lea r8, str.SpkSettingUI.cpp
mov edx, 0x133
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
add rsp, 0x40
pop rsi
jmp fcn.140055180
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400d5c70
xor ebp, ebp
lea rdx, [0x1403de640]
mov edi, eax
lea r13, [0x1403de6e8]
mov eax, ebp
mov rcx, rdx
nop dword [rax]
cmp dword [rcx], edi
je 0x1400d7ef4
inc eax
add rcx, 0x18
cmp rcx, r13
jl 0x1400d7ee0
mov r15d, ebp
jmp 0x1400d7f00
cdqe
lea rcx, [rax + rax*2]
movzx r15d, word [rdx + rcx*8 + 4]
cmp r15d, 6
mov ebx, ebp
mov rcx, rsi
setae bl
call fcn.1400d6520
mov rcx, rsi
mov r14d, eax
call fcn.1400d6900
mov r9, qword [rsi + 0xf8]
mov r12d, eax
mov eax, dword [rsi + 0x100]
and eax, 0xfffefffc
mov edx, dword [r9 + 0x34]
shr edx, 0x1a
and edx, 1
shl edx, 0xf
or edx, ebx
and ebx, 0xfffffffd
add edx, edx
or edx, ebx
or edx, eax
mov dword [rsi + 0x100], edx
test byte [r9 + 0x34], 1
je 0x1400d7f5f
and edx, 0xfffffffd
mov dword [rsi + 0x100], edx
mov eax, edi
and al, 0x68
neg al
mov eax, edi
sbb r8d, r8d
and al, 0x54
and r8d, 8
neg al
sbb ecx, ecx
and edx, 0xffffffe7
and ecx, 0x10
or r8d, ecx
or r8d, edx
mov dword [rsi + 0x100], r8d
test dword [r9 + 0x4c], 0x4000
je 0x1400d7f9d
mov r9d, 1
test dil, 0x30
jne 0x1400d7fa0
mov r9d, ebp
mov r10d, 0x40
mov edx, r14d
shr edx, 2
mov eax, r9d
and edx, 1
xor eax, 1
shl edx, 4
and eax, 0xffffffe9
or edx, eax
mov ecx, ebp
shl edx, 5
mov eax, r14d
and eax, 0x600
cmp eax, 0x600
mov eax, r14d
cmove ecx, r10d
and eax, 0x30
btr ecx, 7
mov r10d, 0x80
or edx, ecx
mov ecx, ebp
cmp al, 0x30
cmove ecx, r10d
and r8d, 0xfffffd1f
or edx, ecx
or edx, r8d
mov dword [rsi + 0x100], edx
test r14b, 8
je 0x1400d800f
mov eax, 0x100
test r9d, r9d
je 0x1400d8011
mov eax, ebp
btr edx, 8
or edx, eax
cmp r15d, 6
mov dword [rsi + 0x100], edx
mov r15, qword [rsp + 0x20]
jb 0x1400d808b
mov rcx, rsi
call fcn.1400d6700
mov ecx, eax
lea rbx, [0x1403de640]
and ecx, r14d
mov r8d, eax
not ecx
mov edx, ebp
and r8d, ecx
mov rcx, rbx
nop dword [rax]
cmp dword [rcx], edi
je 0x1400d8063
inc edx
add rcx, 0x18
cmp rcx, r13
jl 0x1400d8050
mov eax, ebp
jmp 0x1400d806e
movsxd rax, edx
lea rcx, [rax + rax*2]
mov eax, dword [rbx + rcx*8 + 8]
not r14d
lea rdx, [0x1403409f8]
and r14d, eax
xor r9d, r9d
or r8d, r14d
mov rcx, rsi
call fcn.14000f4d0
jmp 0x1400d8092
lea rbx, [0x1403de640]
mov rax, qword [rsi + 0x20]
mov r14, qword [rsp + 0x28]
test rax, rax
jne 0x1400d80bc
lea r8, str.SpkSetting.cpp
mov edx, 0xd9
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
mov eax, ebp
jmp 0x1400d80c2
mov eax, dword [rax + 0x3a0]
cmp eax, 2
mov ecx, 4
mov eax, dword [rsi + 0x100]
mov edx, ebp
cmove edx, ecx
mov r8d, ebp
and eax, 0xfffffffb
mov ecx, ebp
or edx, eax
mov r9d, 0x800
test dil, 3
mov eax, 0x400
cmove r8d, eax
mov eax, r12d
and eax, 3
btr r8d, 0xb
cmp al, 3
mov rax, rbx
cmove ecx, r9d
and edx, 0xfffff3ff
or r8d, ecx
mov ecx, ebp
or r8d, edx
mov dword [rsi + 0x100], r8d
nop dword [rax + rax]
cmp dword [rax], edi
je 0x1400d8133
inc ecx
add rax, 0x18
cmp rax, r13
jl 0x1400d8120
mov ecx, ebp
jmp 0x1400d813e
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov ecx, dword [rbx + rcx*8 + 8]
mov r13, qword [rsp + 0x30]
and ecx, 0x634
mov rdi, qword [rsp + 0x60]
mov eax, ecx
mov rbx, qword [rsp + 0x50]
and eax, r12d
mov r12, qword [rsp + 0x38]
cmp eax, ecx
jne 0x1400d816a
test ecx, ecx
je 0x1400d816a
mov ebp, 0x1000
btr r8d, 0xc
or r8d, ebp
mov rbp, qword [rsp + 0x58]
mov dword [rsi + 0x100], r8d
test r9d, r8d
jne 0x1400d818f
btr r8d, 0xa
mov dword [rsi + 0x100], r8d
add rsp, 0x40
pop rsi
ret