Function at 0x140007160
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x1402934d0]
test eax, eax
je 0x140009d10
cmp eax, 1
je 0x140007180
xor al, al
ret
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14d, r8d
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400071c6
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
call fcn.14002a680
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14000db50
xor edx, edx
mov r8d, 0x82
lea rcx, [rbp - 0x70]
call fcn.140187ea0
xor r15d, r15d
mov ebx, r15d
lea rdi, [rbp - 0x70]
nop dword [rax]
movzx r8d, byte [rsp + rbx + 0x68]
lea rdx, [0x1401d1918]
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
inc rbx
add rdi, 4
cmp rbx, 0x20
jb 0x140007210
test r14d, r14d
je 0x140007252
cmp r14d, 1
jne 0x140007244
add rsi, 0x18
jmp 0x140007252
cmp r14d, 2
jne 0x14000744b
add rsi, 0x30
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x14000744b
or rsi, 0xffffffffffffffff
movabs r14, 0x7fffffffffffffff
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
mov r9, rsi
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140006dd0
nop
cmp word [rbp - 0x70], 0
jne 0x1400072ae
mov rcx, r15
jmp 0x1400072bf
lea rax, [rbp - 0x70]
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400072b5
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r9, rcx
mov r10, qword [rsp + 0x38]
cmp r10, rcx
cmovb r9, r10
test r9, r9
je 0x140007318
lea r8, [rbp - 0x70]
nop dword [rax + rax]
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x140007309
add rdx, 2
add r8, 2
sub r9, 1
jne 0x1400072f0
jmp 0x140007318
mov r9d, 1
cmp word [rdx], ax
cmovb r9d, esi
jmp 0x14000731b
mov r9d, r15d
test r9d, r9d
jne 0x14000732b
cmp r10, rcx
jb 0x14000732b
jbe 0x1400073ad
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x140007387
inc rax
mov rcx, qword [rsp + 0x28]
cmp rax, r14
ja 0x140007445
add rax, rax
cmp rax, 0x1000
jb 0x140007382
test cl, 0x1f
jne 0x14000743f
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140007439
sub rcx, rax
cmp rcx, 8
jb 0x140007433
cmp rcx, 0x27
ja 0x14000742d
mov rcx, rax
call fcn.140167f5c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
add rbx, 0x20
cmp rbx, rdi
je 0x14000744b
jmp 0x140007270
mov rax, qword [rsp + 0x40]
cmp rax, 8
jb 0x140007415
inc rax
mov rcx, qword [rsp + 0x28]
cmp rax, r14
jbe 0x1400073cb
call fcn.14018acfc
int3
add rax, rax
cmp rax, 0x1000
jb 0x140007410
test byte [rsp + 0x28], 0x1f
je 0x1400073e3
call fcn.14018acfc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400073f2
call fcn.14018acfc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140007401
call fcn.14018acfc
int3
cmp rcx, 0x27
jbe 0x14000740d
call fcn.14018acfc
int3
mov rcx, rax
call fcn.140167f5c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r15
mov word [rsp + 0x28], r15w
mov bl, 1
jmp 0x14000744d
call fcn.14018acfc
int3
call fcn.14018acfc
int3
call fcn.14018acfc
int3
call fcn.14018acfc
int3
call fcn.14018acfc
int3
xor bl, bl
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x1400074a5
inc rax
mov rcx, qword [rsp + 0x48]
cmp rax, 0x1000
jb 0x1400074a0
test cl, 0x1f
je 0x140007473
call fcn.14018acfc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140007482
call fcn.14018acfc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140007491
call fcn.14018acfc
int3
cmp rcx, 0x27
jbe 0x14000749d
call fcn.14018acfc
int3
mov rcx, rax
call fcn.140167f5c
mov qword [rsp + 0x60], InitCommonControls
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x48], 0
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140168660
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r11, rsp
mov dword [r11 + 0x18], r8d
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x640
mov qword [r11 - 0x558], 0xfffffffffffffffe
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x630], rax
mov rsi, rdx
mov r12, rcx
xor edi, edi
mov qword [r11 - 0x2f8], rdi
mov qword [r11 - 0x2f0], rdi
mov qword [r11 - 0x2f0], 7
mov qword [r11 - 0x2f8], rdi
mov word [rsp + 0x370], di
mov qword [r11 - 0x338], rdi
mov qword [r11 - 0x330], rdi
mov qword [r11 - 0x330], 7
mov qword [r11 - 0x338], rdi
mov word [rsp + 0x330], di
mov qword [r11 - 0x318], rdi
mov qword [r11 - 0x310], rdi
mov qword [r11 - 0x310], 7
mov qword [r11 - 0x318], rdi
mov word [rsp + 0x350], di
mov qword [r11 - 0x358], rdi
mov qword [r11 - 0x350], rdi
mov qword [r11 - 0x350], 7
mov qword [r11 - 0x358], rdi
mov word [rsp + 0x310], di
lea r8d, [rdi + 0xf]
lea rdx, str.VerifyLibrary:
lea rcx, [r11 - 0x368]
call fcn.140006f10
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x310]
call fcn.1400068d0
lea r8d, [rdi + 1]
lea rdx, [0x1401d1ab8]
lea rcx, [rsp + 0x310]
call fcn.140006a00
lea rcx, [rsp + 0x310]
cmp qword [rsp + 0x328], 8
cmovae rcx, qword [rsp + 0x310]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rsi + 0x18], 8
jb 0x140009e61
mov rax, qword [rsi]
jmp 0x140009e64
mov rax, rsi
xor ecx, ecx
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rcx
mov dword [rsp + 0x100], 0x20
mov qword [rsp + 0x108], rax
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0xb0], 0x50
mov dword [rsp + 0xc8], 2
mov dword [rsp + 0xd0], 1
mov dword [rsp + 0xe0], 1
mov dword [rsp + 0xcc], 1
lea rax, [rsp + 0x100]
mov qword [rsp + 0xd8], rax
cmp byte [r12 + 0xa8], cl
jne 0x140009f25
lea rcx, str.VerifyLibrary:_certificate_revocation_checking_is_disabled_n
jmp 0x140009f67
mov dword [rsp + 0x300], InitCommonControls
lea rcx, [rsp + 0x64]
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
je 0x140009f60
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009f60
lea rdx, [rsp + 0x300]
lea rcx, str.http:__www.msftncsi.com_ncsi.txt
call sub.SensApi.dll_IsDestinationReachableW
test eax, eax
je 0x140009f74
lea rcx, str.VerifyLibrary:_system_is_offline___certificate_revocation_wont_be_checked_n
mov dword [rsp + 0xcc], edi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [r12 + 0xa9], 0
je 0x14000a11f
mov dword [rsp + 0x300], 0xaac56b
mov dword [rsp + 0x304], 0x11d0cd44
mov dword [rsp + 0x308], 0xc000c28c
mov dword [rsp + 0x30c], 0xee95c24f
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x300]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
mov ebx, eax
mov dword [rsp + 0xe0], 2
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x300]
xor ecx, ecx
call sub.WINTRUST.dll_WinVerifyTrust
test ebx, ebx
je 0x14000a10f
lea rcx, str.VerifyLibrary:_trust_verification_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov r8, qword [rsp + 0x328]
cmp r8, 8
jb 0x14000a026
inc r8
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x310]
call fcn.140007680
mov word [rsp + 0x310], di
mov qword [rsp + 0x320], rdi
mov qword [rsp + 0x328], 7
mov r8, qword [rsp + 0x368]
cmp r8, 8
jb 0x14000a068
inc r8
mov rdx, qword [rsp + 0x350]
lea rcx, [rsp + 0x350]
call fcn.140007680
mov word [rsp + 0x350], di
mov qword [rsp + 0x360], rdi
mov qword [rsp + 0x368], 7
mov r8, qword [rsp + 0x348]
cmp r8, 8
jb 0x14000a0aa
inc r8
mov rdx, qword [rsp + 0x330]
lea rcx, [rsp + 0x330]
call fcn.140007680
mov qword [rsp + 0x348], 7
mov qword [rsp + 0x340], rdi
mov word [rsp + 0x330], di
mov r8, qword [rsp + 0x388]
cmp r8, 8
jb 0x14000a0ec
inc r8
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x370]
call fcn.140007680
mov qword [rsp + 0x388], 7
mov qword [rsp + 0x380], rdi
mov word [rsp + 0x370], di
xor al, al
jmp 0x14000ab5e
test eax, eax
je 0x14000a11f
lea rcx, str.VerifyLibrary:_error_encountered_while_cleaning_up_after_WinVerifyTrust_n
jmp 0x140009ff9
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x68], edi
mov r15b, 1
cmp qword [rsi + 0x18], 8
jb 0x14000a147
mov rdx, qword [rsi]
jmp 0x14000a14a
mov rdx, rsi
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov ecx, 1
lea r9d, [rcx + 1]
mov r8d, 0x400
call qword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x14000a266
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x5d0]
call fcn.1400280d0
mov rbx, rax
mov qword [rsp + 0x420], rdi
mov qword [rsp + 0x428], rdi
mov qword [rsp + 0x428], 7
mov qword [rsp + 0x420], rdi
mov word [rsp + 0x410], di
mov r8d, 0x18
lea rdx, str.Checking_certificate_of
lea rcx, [rsp + 0x410]
call fcn.140006f10
nop
mov r8, rsi
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x5f0]
call fcn.140001c00
nop
lea r8, [0x1401d1d28]
mov rdx, rax
lea rcx, [rsp + 0x610]
call fcn.140001c70
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x510]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x510]
call fcn.140187700
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
jne 0x14000a319
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x450]
call fcn.1400280d0
mov rbx, rax
mov qword [rsp + 0x440], rdi
mov qword [rsp + 0x448], rdi
mov qword [rsp + 0x448], 7
mov qword [rsp + 0x440], rdi
mov word [rsp + 0x430], di
mov r8d, 0x1d
lea rdx, str.CryptMsgGetParam_first_call:
lea rcx, [rsp + 0x430]
call fcn.140006f10
nop
mov r8, rbx
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x590]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x590]
call fcn.140187700
nop
mov edx, dword [rsp + 0x68]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x14000a390
mov qword [rsp + 0x400], rdi
mov qword [rsp + 0x408], rdi
mov qword [rsp + 0x408], 7
mov qword [rsp + 0x400], rdi
mov word [rsp + 0x3f0], di
lea r8d, [rax + 0x32]
lea rdx, str.Failed_to_allocate_memory_for_signature_processing
lea rcx, [rsp + 0x3f0]
call fcn.140006f10
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x3f0]
call fcn.140187700
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 6]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
test eax, eax
jne 0x14000a443
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x470]
call fcn.1400280d0
mov rbx, rax
mov qword [rsp + 0x3c0], rdi
mov qword [rsp + 0x3c8], rdi
mov qword [rsp + 0x3c8], 7
mov qword [rsp + 0x3c0], rdi
mov word [rsp + 0x3b0], di
mov r8d, 0x12
lea rdx, str.CryptMsgGetParam:
lea rcx, [rsp + 0x3b0]
call fcn.140006f10
nop
mov r8, rbx
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x5b0]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x5b0]
call fcn.140187700
nop
mov dword [rsp + 0x230], edi
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x238]
call fcn.140187ea0
movups xmm0, xmmword [r14 + 8]
movaps xmmword [rsp + 0x260], xmm0
movups xmm0, xmmword [r14 + 0x18]
movups xmmword [rsp + 0x238], xmm0
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x230]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov r13, rax
test rax, rax
jne 0x14000a504
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x470]
call fcn.1400280d0
mov rbx, rax
lea rdx, str.Certificate_context:
lea rcx, [rsp + 0x450]
call fcn.140002770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x490]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x490]
call fcn.140187700
nop
mov rdx, qword [rax + 0x18]
add rdx, 0x50
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea ecx, [r9 + 1]
lea r8d, [r9 + 3]
call qword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov ebx, eax
cmp eax, 1
ja 0x14000a550
lea rdx, str.Getting_x509_field_size_problem.
lea rcx, [rsp + 0x4b0]
call fcn.140002770
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x4b0]
call fcn.140187700
mov eax, 2
mul rbx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.140167f6c
mov qword [rsp + 0x300], rax
mov rdx, qword [r13 + 0x18]
add rdx, 0x50
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x300]
lea ecx, [rsi + 2]
lea r8d, [rsi + 4]
call qword [sym.imp.CRYPT32.dll_CertNameToStrW]
cmp eax, 1
ja 0x14000a5c1
lea rdx, str.Failed_to_get_x509_filed_infos_from_certificate.
lea rcx, [rsp + 0x4d0]
call fcn.140002770
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x4d0]
call fcn.140187700
mov rdx, qword [rsp + 0x300]
cmp word [rdx], 0
jne 0x14000a5d4
mov r8, rdi
jmp 0x14000a5eb
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000a5e0
lea rcx, [rsp + 0x350]
call fcn.140006f10
mov dword [rsp + 0x64], edi
lea r9, [rsp + 0x64]
xor r8d, r8d
lea edx, [r8 + 0x14]
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
jne 0x14000a66a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x470]
call fcn.1400280d0
mov rbx, rax
lea rdx, str.x509_property_not_found
lea rcx, [rsp + 0x450]
call fcn.140002770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x4f0]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x4f0]
call fcn.140187700
nop
mov ecx, dword [rsp + 0x64]
call fcn.140167f6c
mov qword [rsp + 0x88], rax
lea r9, [rsp + 0x64]
mov r8, qword [rsp + 0x88]
mov edx, 0x14
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
test eax, eax
jne 0x14000a6ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x470]
call fcn.1400280d0
mov rbx, rax
lea rdx, str.Getting_certificate_property_problem.
lea rcx, [rsp + 0x450]
call fcn.140002770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x570]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x570]
call fcn.140187700
nop
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rsp + 0x130]
call fcn.140002840
nop
mov esi, edi
mov dword [rsp + 0x78], edi
mov edx, 0x30
cmp esi, dword [rsp + 0x64]
jae 0x14000a7ba
mov rbx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
or dword [rsp + rcx + 0x158], 4
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
mov word [rsp + rcx + 0x198], dx
mov edx, 2
lea rcx, [rsp + 0x390]
call fcn.140146678
mov rcx, qword [rsp + 0x140]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x140]
add rcx, rdx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
and dword [rsp + rcx + 0x158], 0xfffff9ff
or dword [rsp + rcx + 0x158], 0x800
mov eax, esi
movzx edx, byte [rax + rbx]
lea rcx, [rsp + 0x140]
call fcn.140003da0
inc esi
mov dword [rsp + 0x78], esi
jmp 0x14000a70c
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x130]
call fcn.140009be0
nop
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.140003d30
nop
lea rcx, [rsp + 0x3b0]
call fcn.1400037f0
lea r8, [0x1401d1ab8]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x3d0]
call fcn.140001cf0
nop
lea rcx, [rsp + 0x3d0]
cmp qword [rsp + 0x3e8], 8
cmovae rcx, qword [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov ebx, eax
cmp eax, 1
ja 0x14000a8a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x470]
call fcn.1400280d0
mov rbx, rax
lea rdx, str.Getting_data_size_problem.
lea rcx, [rsp + 0x450]
call fcn.140002770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x530]
call fcn.140187700
nop
mov eax, 2
mul rbx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.140167f6c
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 5]
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertGetNameStringW]
cmp eax, 1
ja 0x14000a943
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x470]
call fcn.1400280d0
mov rbx, rax
lea rdx, str.Cannot_get_certificate_info.
lea rcx, [rsp + 0x450]
call fcn.140002770
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x550]
call fcn.140001b40
lea rdx, [0x140284ef0]
lea rcx, [rsp + 0x550]
call fcn.140187700
nop
mov rdx, qword [rsp + 0x80]
cmp word [rdx], 0
je 0x14000a95e
mov rdi, rsi
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14000a954
mov r8, rdi
lea rcx, [rsp + 0x370]
call fcn.140006f10
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000a982
call fcn.140167f64
nop
lea rcx, [rsp + 0x3d0]
call fcn.1400037f0
nop
lea rcx, [rsp + 0x130]
call fcn.140003ff0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14000a9b1
call fcn.140167f64
nop
mov rcx, qword [rsp + 0x300]
test rcx, rcx
je 0x14000a9c4
call fcn.140167f64
nop
test r15b, r15b
je 0x14000aaef
lea r8, [rsp + 0x370]
cmp qword [rsp + 0x388], 8
cmovae r8, qword [rsp + 0x370]
cmp qword [r12 + 0x60], 8
jb 0x14000a9f6
mov rcx, qword [r12 + 0x48]
jmp 0x14000a9fb
lea rcx, [r12 + 0x48]
mov r9, qword [rsp + 0x380]
mov rdx, qword [r12 + 0x58]
call fcn.140006430
test eax, eax
je 0x14000aa26
xor r15b, r15b
lea rcx, str.VerifyLibrary:_Invalid_certificate_display_name_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000aaef
lea r8, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae r8, qword [rsp + 0x350]
cmp qword [r12 + 0x80], 8
jb 0x14000aa52
mov rcx, qword [r12 + 0x68]
jmp 0x14000aa57
lea rcx, [r12 + 0x68]
mov r9, qword [rsp + 0x360]
mov rdx, qword [r12 + 0x78]
call fcn.140006430
test eax, eax
je 0x14000aa7f
xor r15b, r15b
lea rcx, str.VerifyLibrary:_Invalid_certificate_subject_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000aaef
lea r8, [rsp + 0x330]
cmp qword [rsp + 0x348], 8
cmovae r8, qword [rsp + 0x330]
cmp qword [r12 + 0xa0], 8
jb 0x14000aaae
mov rcx, qword [r12 + 0x88]
jmp 0x14000aab6
lea rcx, [r12 + 0x88]
mov r9, qword [rsp + 0x340]
mov rdx, qword [r12 + 0x98]
call fcn.140006430
test eax, eax
je 0x14000aaef
xor r15b, r15b
lea rcx, str.VerifyLibrary:_Invalid_certificate_key_id_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000aaef
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14000ab04
xor edx, edx
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000ab14
call qword [sym.imp.CRYPT32.dll_CryptMsgClose]
test r14, r14
je 0x14000ab23
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x310]
call fcn.1400037f0
nop
lea rcx, [rsp + 0x350]
call fcn.1400037f0
nop
lea rcx, [rsp + 0x330]
call fcn.1400037f0
nop
lea rcx, [rsp + 0x370]
call fcn.1400037f0
movzx eax, r15b
mov rcx, qword [rsp + 0x630]
xor rcx, rsp
call fcn.140168660
add rsp, 0x640
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret