Function at 0x1400c1930
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb98]
sub rsp, 0xc98
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov r12, rdx
mov rsi, rcx
mov r9d, 1
mov r8d, 0x400
lea rdx, str.CSASSOFileEXE::VerifyCodeSign
lea rcx, [rbp - 0x28]
call fcn.1400b30a0
nop
xor r15d, r15d
mov qword [r12], r15
cmp dword [rsi + 0x240], r15d
je 0x1400c1992
mov rax, qword [rsi + 0x230]
mov qword [r12], rax
cmp dword [rsi + 0x254], r15d
je 0x1400c19a6
mov edi, dword [rsi + 0x250]
jmp 0x1400c20ce
cmp dword [rsi + 0x1b8], r15d
jne 0x1400c19e3
mov dword [rsi + 0x10], SafeArrayGetDim
mov dword [rsi + 0x14], 0xffffffff
lea r9, str.Missing_File_Path
mov edx, 0x400
mov ecx, 0x132
mov r8d, 2
call fcn.1400fd140
mov edi, 0xfffffffd
jmp 0x1400c20ce
cmp qword [0x14034e5b0], r15
jne 0x1400c1a96
add dword [0x14034e620], 0x40
mov ecx, 0x40
call fcn.140250fe4
mov r14, rax
mov qword [rbp + 0xbe0], rax
test rax, rax
je 0x1400c1a8c
mov dword [rax + 0x18], SafeArrayUnaccessData
mov qword [rax + 0x10], r15
lea rax, vtable.CSASSOFileEXE::CCodeSignerList.0
mov qword [r14], rax
lea rdi, [r14 + 0x20]
mov qword [rbp + 0xbe8], rdi
lea rax, vtable.CSASSOFileEXE::CCodeSignerList::CSearch.0
mov qword [rdi], rax
lea rbx, [rdi + 8]
mov qword [rbp + 0xbe8], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov rcx, rbx
call fcn.1400c20f0
mov qword [rbx], rax
mov qword [rdi + 0x18], r15
mov rax, qword [rbx]
mov qword [rdi + 0x18], rax
mov r9d, 1
mov r8d, 0x1000
lea rdx, [0x1402a0910]
lea rcx, [rsp + 0x40]
call fcn.1400b30a0
lea rcx, [rsp + 0x40]
call fcn.1400b3190
nop
jmp 0x1400c1a8f
mov r14, r15
mov qword [0x14034e5b0], r14
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0x370]
call fcn.140249b10
lea rcx, [rsi + 0xb0]
call fcn.14000ad30
lea rdx, [rbp + 0x370]
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x1400c1ac0
lea rcx, [rbp + 0x370]
call fcn.14025f5f8
lea rcx, [rbp + 0x370]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400c1af0
lea r8d, [rax + rax]
lea rdx, [rbp + 0x370]
lea rcx, [rbp - 0x10]
call fcn.1400c5010
nop
mov qword [rbp + 0xbf0], r15
mov edi, 0xfffffffd
mov dword [rbp + 0xbe0], edi
lea rax, [rsi + 0x290]
mov qword [rbp + 0xbf8], rax
lea rcx, [rsi + 0x298]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r14, qword [0x14034e5b0]
lea r9d, [rdi + 4]
mov r8d, 0x1000
lea rdx, str.CSASSOFileEXE::CCodeSignerList::IsInList
lea rcx, [rsp + 0x40]
call fcn.1400b30a0
nop
lea rcx, [r14 + 0x20]
lea rax, [rbp + 0xbe8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xbe0]
lea r8, [rbp + 0xbf0]
lea rdx, [rbp + 0x42]
call fcn.1400bf070
test eax, eax
setne r15b
test eax, eax
je 0x1400c1bab
mov rbx, qword [r14 + 0x38]
cmp rbx, qword [r14 + 0x28]
je 0x1400c1bab
mov rbx, qword [rbx + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400c1bb2
mov rbx, qword [rbp + 0xbf0]
lea rcx, [rsp + 0x40]
call fcn.1400b3190
nop
lea rcx, [rsi + 0x298]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15b, r15b
je 0x1400c1c0e
lea rcx, [rsi + 0x228]
mov rdx, rbx
call fcn.14002ca30
mov dword [rsi + 0x240], 1
mov eax, dword [rbp + 0xbe0]
mov dword [rsi + 0x250], eax
mov dword [rsi + 0x254], 1
mov rax, qword [rsi + 0x230]
mov qword [r12], rax
jmp 0x1400c20be
mov dword [rsp + 0x30], 0xaac56b
mov dword [rsp + 0x34], 0x11d0cd44
mov dword [rsp + 0x38], 0xc000c28c
mov dword [rsp + 0x3c], 0xee95c24f
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x58], 0x20
lea rcx, [rsi + 0xb0]
call fcn.14000ad30
mov qword [rsp + 0x60], rax
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x7c], r13
mov qword [rbp - 0x74], r13
mov dword [rbp - 0x6c], r13d
mov qword [rbp - 0x60], 1
mov qword [rbp - 0x4c], r13
mov qword [rbp - 0x44], r13
mov qword [rbp - 0x3c], r13
mov dword [rbp - 0x34], r13d
mov dword [rbp - 0x80], 0x50
mov qword [rbp - 0x68], 2
lea rax, [rsp + 0x58]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], 1
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
mov r14d, eax
mov qword [r12], r13
mov rcx, qword [rbp - 0x48]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test rax, rax
je 0x1400c1eca
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call sub.WINTRUST.dll_WTHelperGetProvSignerFromChain
test rax, rax
je 0x1400c1eca
xor edx, edx
mov rcx, rax
call sub.WINTRUST.dll_WTHelperGetProvCertFromChain
test rax, rax
je 0x1400c1eca
mov rbx, qword [rax + 8]
mov qword [rbp + 0xbe8], rbx
lea r9d, [r13 + 1]
mov r8d, 0x400
lea rdx, str.CSASSOFileEXE::GetCodeSigner
lea rcx, [rsp + 0x40]
call fcn.1400b30a0
nop
mov r15d, r13d
mov dword [rbp + 0xbe0], 3
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xbe0]
xor r8d, r8d
lea edx, [r13 + 2]
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov r13d, eax
test eax, eax
je 0x1400c1dac
mov eax, 2
mul r13
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140247068
mov r15, rax
lea r8, [r13*2]
xor edx, edx
mov rcx, rax
call fcn.140249b10
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xbe0]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
jmp 0x1400c1dc9
lea r9, str.Failed_to_Get_Certificate_Signer
mov edx, 0x400
mov ecx, 0xd1
mov r8d, 4
call fcn.1400fd140
nop
lea rcx, [rsp + 0x40]
call fcn.1400b3190
test r15, r15
je 0x1400c1ec7
mov r9d, 1
mov r8d, 0x400
lea rdx, str.CSASSOFileEXE::ParseCodeSignerString
lea rcx, [rsp + 0x40]
call fcn.1400b30a0
nop
mov r9, r15
mov edx, 0x400
mov ecx, 0xe1
mov r8d, 8
call fcn.1400fd140
lea rdx, [0x1402a0890]
mov rcx, r15
call fcn.140249ef0
mov rbx, rax
test rax, rax
jne 0x1400c1e46
lea rdx, [0x1402a0898]
mov rcx, r15
call fcn.140249ef0
mov rbx, rax
test rax, rax
je 0x1400c1e8f
add rbx, 4
jmp 0x1400c1e4a
add rbx, 6
test rbx, rbx
je 0x1400c1e8f
cmp word [rbx], 0x22
jne 0x1400c1e74
add rbx, 2
mov edx, 0x22
mov rcx, rbx
call fcn.140249da8
xor r13d, r13d
test rax, rax
je 0x1400c1e92
mov word [rax], r13w
jmp 0x1400c1e92
mov edx, 0x2c
mov rcx, rbx
call fcn.140249da8
xor r13d, r13d
test rax, rax
je 0x1400c1e92
mov word [rax], r13w
jmp 0x1400c1e92
xor r13d, r13d
lea rcx, [rsp + 0x40]
call fcn.1400b3190
test rbx, rbx
je 0x1400c1eca
lea rcx, [rsi + 0x228]
mov rdx, rbx
call fcn.14002ca30
mov dword [rsi + 0x240], 1
mov rax, qword [rsi + 0x230]
mov qword [r12], rax
jmp 0x1400c1eca
xor r13d, r13d
cmp r14d, 0x800b0001
ja 0x1400c1f61
je 0x1400c1f06
test r14d, r14d
je 0x1400c1f5a
cmp r14d, 0x80096001
jbe 0x1400c1f0d
cmp r14d, 0x80096004
jbe 0x1400c1f06
cmp r14d, 0x80096005
je 0x1400c1f91
cmp r14d, 0x80096010
jne 0x1400c1f0d
mov rdi, 0xffffffffffffffff
mov dword [rbp - 0x68], 2
mov dword [rbp - 0x50], 2
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
mov dword [rsi + 0x250], edi
mov dword [rsi + 0x254], 1
test edi, edi
je 0x1400c1fa3
cmp edi, 0xfffffffd
je 0x1400c1fa3
mov dword [rsi + 0x260], r13d
mov dword [rsi + 0x264], 1
jmp 0x1400c206b
mov edi, 1
jmp 0x1400c1f0d
cmp r14d, 0x800b0004
je 0x1400c1f06
cmp r14d, 0x800b0100
je 0x1400c1f9b
cmp r14d, 0x800b0101
je 0x1400c1f91
lea eax, [r14 + 0x7ff4fefe]
cmp eax, 0x12
jbe 0x1400c1f06
jmp 0x1400c1f0d
mov edi, 0xfffffffe
jmp 0x1400c1f0d
mov edi, r13d
jmp 0x1400c1f0d
lea rax, vtable.CSABStringW.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsp + 0x54], 1
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400bf660
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x1400c2057
cmp dword [rsp + 0x50], 0
je 0x1400c2057
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400be890
nop
mov rdx, r12
lea rcx, [rbp + 0x90]
call fcn.1400c1930
mov dword [rsi + 0x250], eax
mov dword [rsi + 0x254], 1
mov rdx, qword [r12]
test rdx, rdx
je 0x1400c204a
lea rcx, [rsi + 0x228]
call fcn.14002ca30
mov dword [rsi + 0x240], 1
mov rax, qword [rsi + 0x230]
mov qword [r12], rax
lea rcx, [rbp + 0x90]
call fcn.1400beab0
nop
cmp dword [rsp + 0x54], 1
jne 0x1400c206b
test rbx, rbx
je 0x1400c206b
mov rcx, rbx
call fcn.140247060
lea rax, [rsi + 0x290]
mov qword [rbp + 0xbe0], rax
lea rcx, [rsi + 0x298]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [rsi + 0x260]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x250]
mov r8, qword [rsi + 0x230]
lea rdx, [rbp + 0x42]
mov rcx, qword [0x14034e5b0]
call fcn.1400beec0
nop
lea rcx, [rsi + 0x298]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edi, dword [rsi + 0x250]
lea rcx, [rbp - 0x10]
call fcn.1400c50a0
nop
lea rcx, [rbp - 0x28]
call fcn.1400b3190
mov eax, edi
add rsp, 0xc98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret