Function at 0x7ff2ada3418
Capabilities:
Print debug messages
Query environment variable
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x7ff2adb3100]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov edi, r9d
mov dword [rsp + 0x78], r9d
mov r12, r8
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], rcx
xor ebx, ebx
mov r15, rbx
mov r14, rbx
mov qword [rsp + 0x48], rbx
mov r13, rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x5c], ebx
mov rsi, rbx
mov qword [rsp + 0x68], rbx
mov qword [r11 - 0xe8], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x88], ebx
mov eax, ebx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x8c], ebx
mov dword [rsp + 0x58], ebx
mov byte [r11 - 0x50], bl
mov byte [r11 - 0x4f], bl
mov byte [r11 - 0x4e], bl
mov byte [r11 - 0x4d], bl
mov byte [r11 - 0x4c], bl
mov byte [r11 - 0x4b], bl
mov byte [r11 - 0x4a], bl
mov byte [r11 - 0x49], bl
mov byte [r11 - 0x48], bl
mov qword [r11 - 0xa0], rbx
mov dword [rsp + 0xe0], ebx
xor edx, edx
lea r8d, [rbx + 0x30]
lea rcx, [r11 - 0x80]
call sub.ntdll.dll_memset
mov word [rsp + 0xb0], bx
xor eax, eax
mov qword [rsp + 0xb2], rax
mov dword [rsp + 0xba], eax
mov word [rsp + 0xbe], ax
mov dword [rsp + 0x74], ebx
cmp edi, ebx
je 0x7ff2ada4073
cmp edi, 0x3e7
ja 0x7ff2ada4073
cmp r12, rbx
je 0x7ff2ada3670
cmp byte [r12], bl
je 0x7ff2ada3670
or r13, 0xffffffffffffffff
mov rcx, r13
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdx, rcx
mov dword [rsp + 0x30], ecx
mov rcx, r13
lea rdi, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
repne scasb al, byte [rdi]
not rcx
lea rax, [rcx - 1]
add eax, edx
cmp eax, edx
jb 0x7ff2ada3651
lea ecx, [rax + 1]
cmp ecx, eax
jb 0x7ff2ada3651
lea edi, [rdx + 1]
cmp edi, edx
jae 0x7ff2ada3596
mov ecx, 0x216
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r13, rbx
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov r13d, ecx
mov edx, ecx
mov r14d, 0x40
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x68], rax
cmp rax, rbx
jne 0x7ff2ada35da
lea ecx, [r14 - 0x38]
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov rdx, rdi
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov qword [rsp + 0x50], rax
cmp rax, rbx
jne 0x7ff2ada3614
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov r8, r12
mov rdx, rdi
mov rcx, rax
call sub.ntdll.dll_strcpy_s
lea r8, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
mov rdx, r13
mov rcx, rsi
call sub.ntdll.dll_strcpy_s
mov r8, r12
mov rdx, r13
mov rcx, rsi
call sub.ntdll.dll_strcat_s
mov r12d, dword [rsp + 0x78]
mov r13, qword [rsp + 0x50]
jmp 0x7ff2ada392a
mov ecx, 0x216
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
xor eax, eax
or r13, 0xffffffffffffffff
mov rcx, r13
lea rdi, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_TypesType
repne scasb al, byte [rdi]
not rcx
dec rcx
lea eax, [rcx + 5]
cmp eax, ecx
jae 0x7ff2ada36ae
mov ecx, 0x216
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov edi, eax
mov edx, eax
mov r14d, 0x40
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x68], rax
cmp rax, rbx
jne 0x7ff2ada36f1
lea ecx, [r14 - 0x38]
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
lea rdx, [rsp + 0x118]
mov r12d, dword [rsp + 0x78]
mov ecx, r12d
call fcn.7ff2ada8548
lea r8, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_TypesType
mov rdx, rdi
mov rcx, rsi
call sub.ntdll.dll_strcpy_s
lea r8, [rsp + 0x11d]
mov rdx, rdi
mov rcx, rsi
call sub.ntdll.dll_strcat_s
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExA
cmp eax, ebx
je 0x7ff2ada3775
mov ecx, 0x80090017
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada183c]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada37c5
mov ecx, 0x80090017
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov rsi, rbx
mov qword [rsp + 0x68], rbx
xor eax, eax
mov rcx, r13
lea rdi, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
repne scasb al, byte [rdi]
not rcx
lea rax, [rcx - 1]
mov edx, dword [rsp + 0x30]
add eax, edx
cmp eax, edx
jb 0x7ff2ada4052
lea ecx, [rax + 1]
cmp ecx, eax
jb 0x7ff2ada4052
lea eax, [rdx + 1]
cmp eax, edx
jae 0x7ff2ada382f
mov ecx, 0x216
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov edi, ecx
mov edx, ecx
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x68], rax
cmp rax, rbx
jne 0x7ff2ada386d
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov edx, dword [rsp + 0x30]
inc edx
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov r13, rax
mov qword [rsp + 0x50], rax
cmp rax, rbx
jne 0x7ff2ada38a8
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
lea r8, str.SOFTWAREMicrosoftCryptographyDefaultsProvider_
mov rdx, rdi
mov rcx, rsi
call sub.ntdll.dll_strcpy_s
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x5c], edx
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada183c]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada390d
mov ecx, 0x80090017
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov r8, r13
mov rdx, rdi
mov rcx, rsi
call sub.ntdll.dll_strcat_s
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExA
cmp eax, ebx
je 0x7ff2ada396f
mov ecx, 0x80090019
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov rsi, rbx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada1844]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada39db
mov ecx, 0x8009001a
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
cmp dword [rsp + 0x88], r12d
je 0x7ff2ada3a04
mov ecx, 0x8009001b
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada1850]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada3a4f
mov ecx, 0x8009001a
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov edx, dword [rsp + 0x30]
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x68], rax
cmp rax, rbx
jne 0x7ff2ada3a88
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada1850]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada3ad3
mov ecx, 0x8009001a
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x5c], ebx
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_ProcessEnvironment_L1_1_0.dll_ExpandEnvironmentStringsA]
mov dword [rsp + 0x5c], eax
cmp eax, ebx
jne 0x7ff2ada3b0f
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov edx, eax
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov qword [rsp + 0x80], rax
cmp rax, rbx
jne 0x7ff2ada3b46
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov r8d, dword [rsp + 0x5c]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_ProcessEnvironment_L1_1_0.dll_ExpandEnvironmentStringsA]
mov dword [rsp + 0x5c], eax
cmp eax, ebx
jne 0x7ff2ada3b73
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x80], rbx
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x9c], ebx
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetModuleHandleA]
mov rdx, rax
cmp rax, rbx
je 0x7ff2ada3bf8
mov ecx, ebx
mov dword [rsp + 0x90], ebx
lea r13, [0x7ff2ada0000]
cmp ecx, 0x20
jae 0x7ff2ada3bff
mov eax, ecx
cmp rdx, qword [r13 + rax*8 + 0x13a70]
jne 0x7ff2ada3bed
mov r15, rdx
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0x9c], 1
jmp 0x7ff2ada3e79
inc ecx
mov dword [rsp + 0x90], ecx
jmp 0x7ff2ada3bc1
lea r13, [0x7ff2ada0000]
cmp ebx, ebx
jne 0x7ff2ada3e79
lea rcx, [0x7ff2adb3ba0]
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_EnterCriticalSection]
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x94], ebx
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetModuleHandleA]
mov rdx, rax
cmp rax, rbx
je 0x7ff2ada3c74
mov ecx, ebx
mov dword [rsp + 0x98], ebx
cmp ecx, 0x20
jae 0x7ff2ada3c74
mov eax, ecx
cmp rdx, qword [r13 + rax*8 + 0x13a70]
jne 0x7ff2ada3c69
mov r15, rdx
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0x94], 1
jmp 0x7ff2ada3e68
inc ecx
mov dword [rsp + 0x98], ecx
jmp 0x7ff2ada3c3d
cmp ebx, ebx
jne 0x7ff2ada3e68
mov rdx, rsi
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeStringFromAsciiz]
cmp al, bl
je 0x7ff2ada3df7
mov rcx, qword [rsp + 0xb8]
call sym.CRYPTSP.dll_CheckSignatureInFile
mov edi, eax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp edi, ebx
jne 0x7ff2ada3df7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada1860]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada3d1b
mov edx, 0x369
lea rcx, [0x7ff2ada1870]
call sub.ntdll.dll_DbgPrint
mov ecx, 0x80090006
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov edx, dword [rsp + 0x30]
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov r15, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
jne 0x7ff2ada3d54
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [0x7ff2ada1860]
mov rcx, qword [rsp + 0x60]
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExA
cmp eax, ebx
je 0x7ff2ada3db0
mov edx, 0x37b
lea rcx, [0x7ff2ada1870]
call sub.ntdll.dll_DbgPrint
mov ecx, 0x80090006
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, r15
mov rcx, rsi
call fcn.7ff2ada82f8
cmp eax, ebx
jne 0x7ff2ada3df7
mov edx, 0x383
lea rcx, [0x7ff2ada18d0]
call sub.ntdll.dll_DbgPrint
mov ecx, 0x80090006
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_LoadLibraryExA]
mov r15, rax
mov qword [rsp + 0xc0], rax
cmp rax, rbx
jne 0x7ff2ada3e39
mov ecx, 0x8009001d
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov eax, ebx
mov dword [rsp + 0xa8], ebx
cmp eax, 0x20
jae 0x7ff2ada3e68
mov ecx, eax
cmp qword [r13 + rcx*8 + 0x13a70], rbx
jne 0x7ff2ada3e5d
mov qword [r13 + rcx*8 + 0x13a70], r15
jmp 0x7ff2ada3e68
inc eax
mov dword [rsp + 0xa8], eax
jmp 0x7ff2ada3e42
lea rcx, [0x7ff2adb3ba0]
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_LeaveCriticalSection]
mov dword [rsp + 0x74], ebx
mov edx, 0xf8
mov ecx, r14d
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalAlloc]
mov r14, rax
mov qword [rsp + 0x48], rax
cmp rax, rbx
jne 0x7ff2ada3eb3
mov ecx, 8
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov rdi, rax
mov qword [rsp + 0xa0], rax
mov r12d, ebx
mov dword [rsp + 0x70], ebx
mov eax, r12d
mov rdx, qword [r13 + rax*8 + 0x131a0]
cmp rdx, rbx
je 0x7ff2ada3f1b
mov rcx, r15
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress]
mov qword [rdi], rax
cmp rax, rbx
jne 0x7ff2ada3f05
mov ecx, 0x8009001d
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
add rdi, 8
mov qword [rsp + 0xa0], rdi
inc r12d
mov dword [rsp + 0x70], r12d
jmp 0x7ff2ada3ec5
mov r12d, ebx
mov dword [rsp + 0x70], ebx
add rdi, 8
mov qword [rsp + 0xa0], rdi
mov eax, r12d
mov rdx, qword [r13 + rax*8 + 0x13188]
cmp rdx, rbx
je 0x7ff2ada3f60
mov rcx, r15
call qword [sym.imp.API_MS_Win_Core_LibraryLoader_L1_1_0.dll_GetProcAddress]
mov qword [rdi], rax
add rdi, 8
mov qword [rsp + 0xa0], rdi
inc r12d
mov dword [rsp + 0x70], r12d
jmp 0x7ff2ada3f2e
mov qword [r14 + 0xd8], r15
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0xe0]
call sub.ntdll.dll_memset
mov dword [rsp + 0xe0], 3
lea rax, [0x7ff2ada84c4]
mov qword [rsp + 0xe8], rax
lea rax, [0x7ff2ada8534]
mov qword [rsp + 0xf0], rax
mov r12d, dword [rsp + 0x78]
mov dword [rsp + 0xf8], r12d
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x110], r13
mov rax, qword [0x7ff2adb3b78]
mov qword [rsp + 0x100], rax
mov eax, dword [0x7ff2adb3b80]
mov dword [rsp + 0x108], eax
mov rdi, qword [rsp + 0xd8]
mov qword [rdi], rbx
lea r9, [rsp + 0xe0]
mov r8d, dword [rsp + 0x190]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xc8]
call qword [r14]
mov r12, rax
mov dword [rsp + 0x8c], eax
cmp eax, 1
jne 0x7ff2ada404b
test byte [rsp + 0x190], 0x10
jne 0x7ff2ada404b
mov rcx, qword [rsp + 0xc8]
mov qword [r14 + 0xe0], rcx
mov qword [rdi], r14
mov dword [r14 + 0xe8], 0x11111111
mov dword [r14 + 0xec], eax
mov dword [r14 + 0xf0], eax
mov r15, qword [rsp + 0x40]
jmp 0x7ff2ada40b3
mov ecx, 0x216
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
mov ecx, 0x80090014
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
jmp 0x7ff2ada40b3
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov edi, eax
cmp dword [rsp + 0x74], ebx
je 0x7ff2ada40ce
lea rcx, [0x7ff2adb3ba0]
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_LeaveCriticalSection]
cmp r13, rbx
je 0x7ff2ada40dc
mov rcx, r13
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
cmp rsi, rbx
je 0x7ff2ada40ea
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
je 0x7ff2ada40f9
call sub.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey
mov rcx, qword [rsp + 0x80]
cmp rcx, rbx
je 0x7ff2ada410c
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
cmp r15, rbx
je 0x7ff2ada411a
mov rcx, r15
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
cmp r12d, 1
jne 0x7ff2ada412a
test byte [rsp + 0x190], 0x10
je 0x7ff2ada4140
cmp r14, rbx
je 0x7ff2ada4138
mov rcx, r14
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_LocalFree]
mov ecx, edi
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
mov eax, r12d
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.7ff2adaaa90
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret