Function at 0x140094f10
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x90], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x200]
call fcn.140095480
test eax, eax
jne 0x140094f96
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140095401
cmp qword [0x1402a6cc0], 0
jne 0x14009509f
xor edx, edx
lea rcx, str.crypt32.dll
call fcn.1400932b0
mov qword [0x1402a6cc0], rax
cmp qword [0x1402a6cc0], 0
je 0x14009509f
lea rdx, str.CryptMsgClose
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6cc8], rax
lea rdx, str.CertCloseStore
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6cd0], rax
lea rdx, str.CertFreeCertificateContext
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6cd8], rax
lea rdx, str.CertFindCertificateInStore
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6ce0], rax
lea rdx, str.CryptMsgGetParam
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6ce8], rax
lea rdx, str.CryptQueryObject
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6cf0], rax
lea rdx, str.CertGetNameStringA
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6cf8], rax
lea rdx, str.CryptDecodeObject
mov rcx, qword [0x1402a6cc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402a6d00], rax
cmp qword [0x1402a6cc8], 0
je 0x1400950ef
cmp qword [0x1402a6cd0], 0
je 0x1400950ef
cmp qword [0x1402a6cd8], 0
je 0x1400950ef
cmp qword [0x1402a6ce0], 0
je 0x1400950ef
cmp qword [0x1402a6ce8], 0
je 0x1400950ef
cmp qword [0x1402a6cf0], 0
je 0x1400950ef
cmp qword [0x1402a6cf8], 0
je 0x1400950ef
cmp qword [0x1402a6d00], 0
jne 0x1400950f6
xor eax, eax
jmp 0x140095462
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, 0x400
mov rdx, qword [rsp + 0x200]
mov ecx, 1
call qword [0x1402a6cf0]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x140095187
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x184], eax
jmp 0x140095401
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x78]
call qword [0x1402a6ce8]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x1400951ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x188], eax
jmp 0x140095401
mov edx, dword [rsp + 0x68]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400951f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x18c], eax
jmp 0x140095401
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x78]
call qword [0x1402a6ce8]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x14009523d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x190], eax
jmp 0x140095401
lea rdi, [rsp + 0x1d0]
mov rsi, qword [rsp + 0x70]
add rsi, 8
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x1d0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x1c0]
mov rsi, qword [rsp + 0x70]
add rsi, 0x18
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xb8]
lea rsi, [rsp + 0x1c0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x88]
call qword [0x1402a6ce0]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400952ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x194], eax
jmp 0x140095401
cmp qword [rsp + 0x208], 0
je 0x140095329
mov rcx, qword [rsp + 0x60]
call fcn.140095710
mov edx, eax
mov rax, qword [rsp + 0x208]
mov dword [rax], edx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x198], eax
cmp dword [rsp + 0x198], 0
je 0x140095329
jmp 0x140095401
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
call fcn.140095970
test eax, eax
jne 0x140095344
jmp 0x140095401
lea rdi, [rsp + 0x1b0]
mov rsi, qword [rsp + 0xa0]
add rsi, 8
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x1b0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x1a0]
mov rsi, qword [rsp + 0xa0]
add rsi, 0x18
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xb8]
lea rsi, [rsp + 0x1a0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xb0000
xor r8d, r8d
mov edx, 0x10001
mov rcx, qword [rsp + 0x88]
call qword [0x1402a6ce0]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400953f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x19c], eax
jmp 0x140095401
mov dword [rsp + 0x90], 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x60], 0
je 0x14009542d
mov rcx, qword [rsp + 0x60]
call qword [0x1402a6cd8]
cmp qword [rsp + 0x88], 0
je 0x140095448
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [0x1402a6cd0]
cmp qword [rsp + 0x78], 0
je 0x14009545b
mov rcx, qword [rsp + 0x78]
call qword [0x1402a6cc8]
mov eax, dword [rsp + 0x90]
add rsp, 0x1e8
pop rdi
pop rsi
ret