Function at 0x140053fb0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
lea rax, [0x140043a70]
mov qword [rsp + 0x40], rax
lea rax, [0x140043910]
mov qword [rsp + 0x48], rax
lea rax, [fcn.1400662d0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x22]
mov qword [rsp + 0x58], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140178448]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], 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 + 0x98], 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 + 0xa0], 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 + 0xa8], 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 + 0xb0], 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 + 0xb8], 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 + 0xc0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140178540]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc8], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140178430]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], 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 + 0xd8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x78]
call fcn.14004a790
lea rax, [rsp + 0x78]
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 + 0x60], rax
jmp 0x140054228
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x30], rax
je 0x1400542ab
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400542a6
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0x90
jne 0x140054272
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140054249
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x140054290
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0xc3
jne 0x1400542a6
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x78]
call fcn.14004be80
movzx eax, byte [rsp + 0x20]
jmp 0x1400542c5
jmp 0x14005421a
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x78]
call fcn.14004be80
movzx eax, byte [rsp + 0x21]
add rsp, 0x128
pop rdi
pop rsi
ret