Function at 0x14001c6b0
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.14001cc20
test eax, eax
jne 0x14001c736
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001cba1
cmp qword [0x140028640], 0
jne 0x14001c83f
xor edx, edx
lea rcx, str.crypt32.dll
call fcn.14001ae90
mov qword [0x140028640], rax
cmp qword [0x140028640], 0
je 0x14001c83f
lea rdx, str.CryptMsgClose
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028648], rax
lea rdx, str.CertCloseStore
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028650], rax
lea rdx, str.CertFreeCertificateContext
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028658], rax
lea rdx, str.CertFindCertificateInStore
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028660], rax
lea rdx, str.CryptMsgGetParam
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028668], rax
lea rdx, str.CryptQueryObject
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028670], rax
lea rdx, str.CertGetNameStringA
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028678], rax
lea rdx, str.CryptDecodeObject
mov rcx, qword [0x140028640]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140028680], rax
cmp qword [0x140028648], 0
je 0x14001c88f
cmp qword [0x140028650], 0
je 0x14001c88f
cmp qword [0x140028658], 0
je 0x14001c88f
cmp qword [0x140028660], 0
je 0x14001c88f
cmp qword [0x140028668], 0
je 0x14001c88f
cmp qword [0x140028670], 0
je 0x14001c88f
cmp qword [0x140028678], 0
je 0x14001c88f
cmp qword [0x140028680], 0
jne 0x14001c896
xor eax, eax
jmp 0x14001cc02
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 [0x140028670]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x14001c927
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x184], eax
jmp 0x14001cba1
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 [0x140028668]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x14001c96a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x188], eax
jmp 0x14001cba1
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 0x14001c998
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x18c], eax
jmp 0x14001cba1
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 [0x140028668]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x14001c9dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x190], eax
jmp 0x14001cba1
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 [0x140028660]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14001ca8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x194], eax
jmp 0x14001cba1
cmp qword [rsp + 0x208], 0
je 0x14001cac9
mov rcx, qword [rsp + 0x60]
call fcn.14001ce90
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 0x14001cac9
jmp 0x14001cba1
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
call fcn.14001d0f0
test eax, eax
jne 0x14001cae4
jmp 0x14001cba1
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 [0x140028660]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14001cb96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x19c], eax
jmp 0x14001cba1
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 0x14001cbcd
mov rcx, qword [rsp + 0x60]
call qword [0x140028658]
cmp qword [rsp + 0x88], 0
je 0x14001cbe8
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [0x140028650]
cmp qword [rsp + 0x78], 0
je 0x14001cbfb
mov rcx, qword [rsp + 0x78]
call qword [0x140028648]
mov eax, dword [rsp + 0x90]
add rsp, 0x1e8
pop rdi
pop rsi
ret