Function at 0x14004d830
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x108
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
lea rax, [fcn.14005ea40]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x22]
mov qword [rsp + 0x48], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140171538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.FindWindowA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RegOpenKeyA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RegQueryValueExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rcx, str.ws2_32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.recv
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetVolumeInformationA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140171520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x58]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x48]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x68]
call fcn.14004e880
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
jmp 0x14004da76
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x30], rax
je 0x14004daf9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14004daf4
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0x90
jne 0x14004dac0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14004da97
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x14004dade
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0xc3
jne 0x14004daf4
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x68]
call fcn.14004eaa0
movzx eax, byte [rsp + 0x20]
jmp 0x14004db13
jmp 0x14004da68
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x68]
call fcn.14004eaa0
movzx eax, byte [rsp + 0x21]
add rsp, 0x108
pop rdi
pop rsi
ret