Function at 0x1400ad420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x300
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rcx, qword [rsp + 0x328]
call fcn.1400165c0
movzx eax, al
test eax, eax
jne 0x1400ad467
jmp 0x1400ada03
mov r8, qword [rsp + 0x328]
mov edx, dword [rsp + 0x320]
mov rcx, qword [rsp + 0x310]
call fcn.1400ada30
mov rcx, qword [rsp + 0x328]
call fcn.1400165c0
movzx eax, al
test eax, eax
jne 0x1400ad49c
jmp 0x1400ada03
movsxd rax, dword [rsp + 0x320]
lea rcx, [0x1408ce2a0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x318]
call fcn.14000c690
mov qword [rsp + 0xb0], rax
mov r9d, 2
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, 0xffffffff80000002
call fcn.1400fba40
movzx eax, al
test eax, eax
je 0x1400ada03
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x210
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0x210
movsxd rax, dword [rsp + 0x320]
lea rcx, [0x1408ce2a0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x318]
call fcn.14000c690
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov rcx, 0xffffffff80000002
call fcn.1400f7380
movzx eax, al
test eax, eax
jne 0x1400ad611
lea rax, [0x140902650]
mov qword [rsp + 0x58], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, str.Failed_to_read_key_from_the_registry
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x310]
call fcn.1400a8370
jmp 0x1400ada03
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xe0]
call fcn.14010fa50
movzx eax, al
test eax, eax
je 0x1400ad68a
mov r8, qword [rsp + 0x328]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.1400c6050
mov rcx, qword [rsp + 0x80]
call fcn.140229904
jmp 0x1400ada03
mov ecx, 1
call fcn.14010f500
mov qword [rsp + 0x68], rax
mov byte [rsp + 0xc8], reloc.msi.dll_MsiDatabaseGenerateTransformA
mov byte [rsp + 0xc9], 0xe3
mov byte [rsp + 0xca], reloc.msi.dll_MsiEnumClientsA
mov byte [rsp + 0xcb], reloc.msi.dll_MsiReinstallFeatureFromDescriptorW
mov byte [rsp + 0xcc], MsiRecordGetStringA
mov byte [rsp + 0xcd], reloc.msi.dll_MsiVerifyPackageW
mov byte [rsp + 0xce], MsiSetFeatureStateW
mov byte [rsp + 0xcf], 5
mov byte [rsp + 0xd0], 0xd2
mov byte [rsp + 0xd1], MsiConfigureProductExA
mov byte [rsp + 0xd2], reloc.msi.dll_MsiDatabaseExportA
mov byte [rsp + 0xd3], MsiConfigureProductExA
mov byte [rsp + 0xd4], reloc.WSOCK32.dll_WSAStartup
mov byte [rsp + 0xd5], reloc.ODBC32.dll_SQLSetEnvAttr
mov byte [rsp + 0xd6], reloc.msi.dll_MsiVerifyPackageW
mov byte [rsp + 0xd7], 0xd1
mov byte [rsp + 0xd8], 0xe4
mov byte [rsp + 0xd9], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov byte [rsp + 0xda], 0xf1
mov byte [rsp + 0xdb], reloc.WSOCK32.dll_gethostname
mov byte [rsp + 0xdc], reloc.ODBC32.dll_SQLSetEnvAttr
mov byte [rsp + 0xdd], reloc.WSOCK32.dll_WSAGetLastError
mov byte [rsp + 0xde], reloc.msi.dll_MsiViewGetColumnInfo
mov byte [rsp + 0xdf], 0xc3
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x98]
mov edx, reloc.msi.dll_MsiDatabaseImportW
lea rcx, [rsp + 0xc8]
call fcn.14010fa50
movzx eax, al
test eax, eax
je 0x1400ad7b2
cmp qword [rsp + 0x88], 0
jne 0x1400ad833
lea rax, [0x140902650]
mov qword [rsp + 0x58], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, str.Failed_to_unwrap_mtech_key
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x310]
call fcn.1400a8370
jmp 0x1400ada03
mov r9w, 1
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call fcn.14010e6a0
cmp qword [rsp + 0x70], 5
ja 0x1400ad8df
lea rax, [0x140902650]
mov qword [rsp + 0x58], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, str.Key_is_too_small
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x310]
call fcn.1400a8370
jmp 0x1400ada03
lea rax, [rsp + 0xe5]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call fcn.14010ec90
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x70]
sub rax, 5
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call fcn.14010f0f0
cmp qword [rsp + 0x78], 0
je 0x1400ad94e
cmp dword [rsp + 0x60], 0
jne 0x1400ad9cc
lea rax, [0x140902650]
mov qword [rsp + 0x58], rax
lea rax, [0x140902650]
mov qword [rsp + 0x50], rax
lea rax, [0x140902650]
mov qword [rsp + 0x48], rax
lea rax, [0x140902650]
mov qword [rsp + 0x40], rax
lea rax, [0x140902650]
mov qword [rsp + 0x38], rax
lea rax, [0x140902650]
mov qword [rsp + 0x30], rax
lea rax, [0x140902650]
mov qword [rsp + 0x28], rax
lea rax, [0x140902650]
mov qword [rsp + 0x20], rax
lea r9, str.Failed_to_decrypt_key
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x310]
call fcn.1400a8370
jmp 0x1400ada03
movsxd rax, dword [rsp + 0x60]
mov r8, qword [rsp + 0x328]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.1400c6050
lea rcx, [rsp + 0x68]
call fcn.14010f6b0
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x78]
call fcn.140229904
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x300
pop rdi
ret