Function at 0x140009d40
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x14003aa60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2e8
mov rdi, rsp
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x300]
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x208], 0
mov dword [rsp + 0x210], 0
mov dword [rsp + 0x214], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x300]
call fcn.14003d090
test eax, eax
jne 0x14003aaf9
mov dword [rsp + 0x214], 2
jmp 0x14003b417
cmp qword [0x1401b5110], 0
jne 0x14003ab2f
xor edx, edx
lea rcx, str.crypt32.dll
call fcn.14003d660
mov qword [0x1401b5110], rax
cmp qword [0x1401b5110], 0
jne 0x14003ab2f
mov dword [rsp + 0x260], 0
jmp 0x14003ab3a
mov dword [rsp + 0x260], 1
cmp dword [rsp + 0x260], 0
je 0x14003ae3d
cmp qword [0x1401b5118], 0
jne 0x14003ab84
lea rdx, str.CryptMsgClose
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5118], rax
cmp qword [0x1401b5118], 0
jne 0x14003ab84
mov dword [rsp + 0x264], 0
jmp 0x14003ab8f
mov dword [rsp + 0x264], 1
cmp dword [rsp + 0x264], 0
je 0x14003ae3d
cmp qword [0x1401b5120], 0
jne 0x14003abd9
lea rdx, str.CertCloseStore
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5120], rax
cmp qword [0x1401b5120], 0
jne 0x14003abd9
mov dword [rsp + 0x268], 0
jmp 0x14003abe4
mov dword [rsp + 0x268], 1
cmp dword [rsp + 0x268], 0
je 0x14003ae3d
cmp qword [0x1401b5128], 0
jne 0x14003ac2e
lea rdx, str.CertFreeCertificateContext
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5128], rax
cmp qword [0x1401b5128], 0
jne 0x14003ac2e
mov dword [rsp + 0x26c], 0
jmp 0x14003ac39
mov dword [rsp + 0x26c], 1
cmp dword [rsp + 0x26c], 0
je 0x14003ae3d
cmp qword [0x1401b5130], 0
jne 0x14003ac83
lea rdx, str.CertFindCertificateInStore
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5130], rax
cmp qword [0x1401b5130], 0
jne 0x14003ac83
mov dword [rsp + 0x270], 0
jmp 0x14003ac8e
mov dword [rsp + 0x270], 1
cmp dword [rsp + 0x270], 0
je 0x14003ae3d
cmp qword [0x1401b5138], 0
jne 0x14003acd8
lea rdx, str.CryptMsgGetParam
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5138], rax
cmp qword [0x1401b5138], 0
jne 0x14003acd8
mov dword [rsp + 0x274], 0
jmp 0x14003ace3
mov dword [rsp + 0x274], 1
cmp dword [rsp + 0x274], 0
je 0x14003ae3d
cmp qword [0x1401b5140], 0
jne 0x14003ad2d
lea rdx, str.CryptQueryObject
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5140], rax
cmp qword [0x1401b5140], 0
jne 0x14003ad2d
mov dword [rsp + 0x278], 0
jmp 0x14003ad38
mov dword [rsp + 0x278], 1
cmp dword [rsp + 0x278], 0
je 0x14003ae3d
cmp qword [0x1401b5148], 0
jne 0x14003ad82
lea rdx, str.CertGetNameStringA
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5148], rax
cmp qword [0x1401b5148], 0
jne 0x14003ad82
mov dword [rsp + 0x27c], 0
jmp 0x14003ad8d
mov dword [rsp + 0x27c], 1
cmp dword [rsp + 0x27c], 0
je 0x14003ae3d
cmp qword [0x1401b5150], 0
jne 0x14003add7
lea rdx, str.CryptDecodeObjectEx
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5150], rax
cmp qword [0x1401b5150], 0
jne 0x14003add7
mov dword [rsp + 0x280], 0
jmp 0x14003ade2
mov dword [rsp + 0x280], 1
cmp dword [rsp + 0x280], 0
je 0x14003ae3d
cmp qword [0x1401b5158], 0
jne 0x14003ae28
lea rdx, str.CertGetIssuerCertificateFromStore
mov rcx, qword [0x1401b5110]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b5158], rax
cmp qword [0x1401b5158], 0
jne 0x14003ae28
mov dword [rsp + 0x284], 0
jmp 0x14003ae33
mov dword [rsp + 0x284], 1
cmp dword [rsp + 0x284], 0
jne 0x14003ae4d
mov dword [rsp + 0x214], 0x7e
jmp 0x14003b417
mov rax, qword [0x1401b5140]
mov qword [rsp + 0x288], rax
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, 0x400
mov rdx, qword [rsp + 0x300]
mov ecx, 1
mov rax, qword [rsp + 0x288]
call qword [0x1401cd010]
mov dword [rsp + 0x210], eax
cmp dword [rsp + 0x210], 0
jne 0x14003aef5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
jmp 0x14003b417
mov rax, qword [0x1401b5138]
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x104]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x290]
call qword [0x1401cd010]
mov dword [rsp + 0x210], eax
cmp dword [rsp + 0x210], 0
jne 0x14003af55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
jmp 0x14003b417
mov eax, dword [rsp + 0x104]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x14003af99
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
mov dword [rsp + 0x210], 0
jmp 0x14003b417
mov rax, qword [0x1401b5138]
mov qword [rsp + 0x298], rax
lea rax, [rsp + 0x104]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf8]
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x298]
call qword [0x1401cd010]
mov dword [rsp + 0x210], eax
cmp dword [rsp + 0x210], 0
jne 0x14003affe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
jmp 0x14003b417
lea rax, [rsp + 0x160]
mov rcx, qword [rsp + 0xf8]
mov rdi, rax
lea rsi, [rcx + 8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x138]
mov rcx, qword [rsp + 0xf8]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [0x1401b5130]
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x2a0]
call qword [0x1401cd010]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
jne 0x14003b0b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
mov dword [rsp + 0x210], 0
jmp 0x14003b417
cmp qword [rsp + 0x308], 0
je 0x14003b0f1
mov rcx, qword [rsp + 0x208]
call fcn.14003e080
mov rcx, qword [rsp + 0x308]
mov dword [rcx], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
cmp dword [rsp + 0x214], 0
je 0x14003b0f1
jmp 0x14003b417
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0xf8]
call fcn.14003e540
test eax, eax
jne 0x14003b11f
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x228]
call fcn.140009320
lea r8, [rsp + 0x228]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xf8]
call fcn.14003e6a0
test eax, eax
jne 0x14003b166
lea rdx, [rsp + 0x228]
mov rcx, qword [rsp + 0xf8]
call fcn.14003e9b0
test eax, eax
jne 0x14003b166
mov dword [rsp + 0x2a8], 0
jmp 0x14003b171
mov dword [rsp + 0x2a8], 1
mov eax, dword [rsp + 0x2a8]
mov dword [rsp + 0x210], eax
cmp dword [rsp + 0x210], 0
jne 0x14003b1b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x214], eax
cmp dword [rsp + 0x214], 0
jne 0x14003b1ab
mov dword [rsp + 0x214], 0x80096005
jmp 0x14003b417
mov ecx, 0x23f0
call fcn.14003d410
test eax, eax
jne 0x14003b1f3
mov rcx, qword [rsp + 0x300]
call fcn.14003cdc0
test eax, eax
je 0x14003b1f3
call fcn.140042ac0
test eax, eax
jne 0x14003b1f3
mov dword [rsp + 0x210], 1
mov dword [rsp + 0x214], 0
jmp 0x14003b417
cmp qword [0x1401b51f0], 0
jne 0x14003b229
xor edx, edx
lea rcx, str.wintrust.dll
call fcn.14003d660
mov qword [0x1401b51f0], rax
cmp qword [0x1401b51f0], 0
jne 0x14003b229
mov dword [rsp + 0x2ac], 0
jmp 0x14003b234
mov dword [rsp + 0x2ac], 1
cmp dword [rsp + 0x2ac], 0
je 0x14003b28f
cmp qword [0x1401b51f8], 0
jne 0x14003b27a
lea rdx, str.WinVerifyTrust
mov rcx, qword [0x1401b51f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b51f8], rax
cmp qword [0x1401b51f8], 0
jne 0x14003b27a
mov dword [rsp + 0x2b0], 0
jmp 0x14003b285
mov dword [rsp + 0x2b0], 1
cmp dword [rsp + 0x2b0], 0
jne 0x14003b2af
mov dword [rsp + 0x210], 0
mov dword [rsp + 0x214], 0x7e
jmp 0x14003b417
mov rcx, qword [rsp + 0x300]
call fcn.14003f580
mov dword [rsp + 0x238], eax
mov dword [rsp + 0x210], 0
mov dword [rsp + 0x234], 0
jmp 0x14003b2eb
mov eax, dword [rsp + 0x234]
inc eax
mov dword [rsp + 0x234], eax
mov eax, dword [rsp + 0x238]
cmp dword [rsp + 0x234], eax
jae 0x14003b33d
mov edx, dword [rsp + 0x234]
mov rcx, qword [rsp + 0x300]
call fcn.14003f5a0
mov dword [rsp + 0x23c], eax
cmp dword [rsp + 0x23c], 0
jne 0x14003b32d
mov dword [rsp + 0x210], 1
jmp 0x14003b33d
mov eax, dword [rsp + 0x23c]
mov dword [rsp + 0x214], eax
jmp 0x14003b2db
cmp dword [rsp + 0x238], 1
jne 0x14003b417
cmp dword [rsp + 0x214], 0x800b010a
jne 0x14003b417
mov dword [rsp + 0x244], 0
mov qword [rsp + 0x258], 0
mov rax, qword [0x1401b5158]
mov qword [rsp + 0x2b8], rax
lea r9, [rsp + 0x244]
xor r8d, r8d
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x2b8]
call qword [0x1401cd010]
mov qword [rsp + 0x258], rax
cmp qword [rsp + 0x258], 0
jne 0x14003b3c0
jmp 0x14003b417
mov rax, qword [rsp + 0x258]
mov rax, qword [rax + 0x18]
add rax, 0x78
mov rcx, rax
call fcn.14003f730
test eax, eax
je 0x14003b3f2
mov dword [rsp + 0x210], 1
mov dword [rsp + 0x214], 0
mov rax, qword [0x1401b5128]
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0x258]
mov rax, qword [rsp + 0x2c0]
call qword [0x1401cd010]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x208], 0
je 0x14003b455
mov rax, qword [0x1401b5128]
mov qword [rsp + 0x2c8], rax
mov rcx, qword [rsp + 0x208]
mov rax, qword [rsp + 0x2c8]
call qword [0x1401cd010]
cmp qword [rsp + 0xc8], 0
je 0x14003b487
mov rax, qword [0x1401b5120]
mov qword [rsp + 0x2d0], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x2d0]
call qword [0x1401cd010]
cmp qword [rsp + 0xe8], 0
je 0x14003b4b7
mov rax, qword [0x1401b5118]
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x2d8]
call qword [0x1401cd010]
mov ecx, dword [rsp + 0x214]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x210]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14016afc0]
call fcn.14000eab0
mov eax, edi
add rsp, 0x2e8
pop rdi
pop rsi
ret