Function at 0x1400026c0
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140028058]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r12d, r12d
mov eax, 0x43
mov rsi, rcx
mov word [rbp + 0x84], ax
xor eax, eax
lea rdx, [rbp + 0x70]
lea r9d, [r12 + 1]
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov qword [rbp - 0x68], r12
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x60], r12
lea edi, [r12 + 0x53]
mov dword [rbp + 0x70], 0x530053
mov dword [rbp + 0x74], 0x54004c
mov dword [rbp + 0x78], 0x730065
mov dword [rbp + 0x7c], 0x4b0074
mov dword [rbp + 0x80], 0x790065
mov dword [rbp + 0x86], 0x6e006f
mov dword [rbp + 0x8a], 0x610074
mov dword [rbp + 0x8e], 0x6e0069
mov qword [rbp + 0x92], 0x720065
mov dword [rbp + 0x9a], 0x530000
mov dword [rbp + 0x9e], 0x4c0053
mov qword [rbp + 0xa2], rax
mov qword [rbp + 0xaa], rax
mov qword [rbp + 0xb2], rax
mov qword [rbp + 0xba], rax
mov qword [rbp + 0xc2], rax
mov qword [rbp + 0xca], rax
mov word [rbp + 0xd2], ax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14000280d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [r12 + 1]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x20], 8
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14000280d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x140002df9
mov rcx, qword [rsp + 0x60]
lea r9, [rbp - 0x60]
mov edx, 1
mov r8d, 0x8000000
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x140002806
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14000283a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000284c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov word [rbp + 0x180], di
or rcx, 0xffffffffffffffff
lea edi, [rax + 0x43]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x182], rax
mov qword [rbp + 0x18a], rax
mov qword [rbp + 0x192], rax
mov qword [rbp + 0x19a], rax
mov qword [rbp + 0x1a2], rax
mov qword [rbp + 0x1aa], rax
mov word [rbp + 0x1b2], ax
mov qword [rbp + 0x112], rax
mov qword [rbp + 0x11a], rax
mov qword [rbp + 0x122], rax
mov qword [rbp + 0x12a], rax
mov qword [rbp + 0x132], rax
mov qword [rbp + 0x13a], rax
mov word [rbp + 0x142], ax
mov dword [rbp + 0x38], eax
mov eax, 0x58
mov dword [rsp + 0x40], r12d
mov dword [rbp + 0x40], 0x530053
mov word [rsp + 0x54], ax
xor eax, eax
mov dword [rbp + 0x44], 0x53004c
mov dword [rbp + 0x48], 0x720074
mov dword [rbp + 0x4c], 0x610065
mov qword [rbp + 0x50], 0x6d
mov dword [rsp + 0x56], eax
mov word [rsp + 0x5a], ax
mov qword [rbp - 0x70], rax
mov dword [rbp + 0x150], 0x530053
mov dword [rbp + 0x154], 0x53004c
mov dword [rbp + 0x158], 0x720074
mov dword [rbp + 0x15c], 0x610065
mov dword [rbp + 0x160], 0x20006d
mov dword [rbp + 0x164], 0x650053
mov dword [rbp + 0x168], 0x760072
mov dword [rbp + 0x16c], 0x720065
mov dword [rbp + 0x170], 0x540020
mov dword [rbp + 0x174], 0x730065
mov qword [rbp + 0x178], 0x74
mov dword [rbp + 0xe0], 0x530053
mov dword [rbp + 0xe4], 0x53004c
mov dword [rbp + 0xe8], 0x720074
mov dword [rbp + 0xec], 0x610065
mov dword [rbp + 0xf0], 0x20006d
mov dword [rbp + 0xf4], 0x6c0043
mov dword [rbp + 0xf8], 0x650069
mov dword [rbp + 0xfc], 0x74006e
mov dword [rbp + 0x100], 0x540020
mov dword [rbp + 0x104], 0x730065
mov qword [rbp + 0x108], 0x74
mov word [rbp + 0x110], di
mov qword [rbp + 0x28], 0x79004d
mov qword [rbp + 0x30], 0x4d0000
mov dword [rsp + 0x48], 0x4e0043
mov qword [rsp + 0x4c], 0x3d
mov dword [rsp + 0x70], 0x6f006c
mov dword [rsp + 0x74], 0x610063
mov dword [rsp + 0x78], 0x75006c
mov dword [rsp + 0x7c], 0x650073
mov qword [rbp - 0x80], 0x72
mov qword [rbp - 0x78], 0x55004c
test rsi, rsi
je 0x140002ac7
mov rdi, rsi
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x48]
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
add rdx, rcx
lea ecx, [rax + 0x40]
lea rdx, [rdx + rdx + 2]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
or rcx, 0xffffffffffffffff
mov rdi, rax
mov rbx, rax
xor eax, eax
repne scasw ax, word [rdi]
lea rax, [rsp + 0x48]
xor edx, edx
movzx ecx, word [rax + rdx]
add rdx, 2
mov word [rdi + rdx - 4], cx
test cx, cx
jne 0x140002a90
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rsi + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140002ab0
jmp 0x140002b62
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x48]
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
add rdx, rcx
mov ecx, 0x40
lea rdx, [rdx + rdx + 2]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
or rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x48]
mov rdi, rax
mov rbx, rax
xor eax, eax
repne scasw ax, word [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140002b20
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x70]
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140002b50
xor r9d, r9d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov rax, qword [0x14002e308]
lea r8d, [r9 + 3]
lea ecx, [r9 + 1]
mov rdx, rbx
mov qword [rsp + 0x20], r12
call qword [rax + 0x70]
test eax, eax
jne 0x140002ba2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x140002df9
mov edx, dword [rsp + 0x40]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x140002b92
xor r9d, r9d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov rax, qword [0x14002e308]
lea r8d, [r9 + 3]
lea ecx, [r9 + 1]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call qword [rax + 0x70]
mov rcx, rbx
test eax, eax
je 0x140002b95
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x40]
xor r11d, r11d
mov qword [rbp - 0x48], r11
mov dword [rbp - 0x48], eax
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x40], r11
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x38], rax
xor eax, eax
mov qword [rbp - 0x40], rdi
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
lea rax, str.1.2.840.113549.1.1.5
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 1
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], 1
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
add word [rbp + 0x18], 5
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x18]
lea r9, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov rax, qword [0x14002e308]
lea rdx, [rbp - 0x48]
xor r8d, r8d
xor ecx, ecx
call qword [rax + 0x50]
mov rcx, rdi
mov rbx, rax
test rax, rax
je 0x140002b95
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [0x14002e308]
lea rdx, str.1.3.6.1.5.5.7.3.2
mov rcx, rbx
call qword [rax + 0x30]
test eax, eax
je 0x140002806
or rcx, 0xffffffffffffffff
lea rax, [rbp + 0x40]
xor r8d, r8d
mov qword [rbp - 0x50], rax
xor eax, eax
lea rdi, [rbp + 0x40]
repne scasw ax, word [rdi]
lea r9, [rbp - 0x58]
lea edx, [r8 + 0xb]
not rcx
lea eax, [rcx + rcx]
mov rcx, rbx
mov dword [rbp - 0x58], eax
mov rax, qword [0x14002e308]
call qword [rax + 0x98]
test eax, eax
je 0x140002806
or rcx, 0xffffffffffffffff
lea rax, [rbp + 0xe0]
xor r8d, r8d
mov qword [rbp - 0x50], rax
xor eax, eax
lea rdi, [rbp + 0xe0]
repne scasw ax, word [rdi]
lea r9, [rbp - 0x58]
lea edx, [r8 + 0xd]
not rcx
lea eax, [rcx + rcx]
mov rcx, rbx
mov dword [rbp - 0x58], eax
mov rax, qword [0x14002e308]
call qword [rax + 0x98]
test eax, eax
je 0x140002806
lea rax, [rbp + 0x28]
xor edx, edx
mov r9d, 0x10000
mov qword [rsp + 0x20], rax
mov rax, qword [0x14002e308]
lea ecx, [rdx + 0xa]
xor r8d, r8d
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
je 0x140002800
xor r9d, r9d
mov rcx, rax
mov rax, qword [0x14002e308]
lea r8d, [r9 + 3]
mov rdx, rbx
call qword [rax + 0x60]
test eax, eax
je 0x140002806
lea rax, [rsp + 0x68]
lea r9, [rbp - 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
xor edx, edx
mov qword [rsp + 0x20], rax
mov rax, qword [0x14002e308]
mov rcx, rbx
call qword [rax + 0x10]
test eax, eax
je 0x140002806
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140002de7
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [0x14002e308]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x78]
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14000f440
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret