Function at 0x1400ad500
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x14030d6e8]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rax, [fcn.14003ff90]
mov qword [rsp + 0x110], rax
lea rax, [fcn.1400bf8f0]
mov qword [rsp + 0x118], rax
lea rax, [fcn.1400aadd0]
mov qword [rsp + 0x120], rax
lea rax, [fcn.1400c2de0]
mov qword [rsp + 0x128], rax
lea rax, [fcn.140050ca0]
mov qword [rsp + 0x130], rax
lea rax, [0x140050e10]
mov qword [rsp + 0x138], rax
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov qword [rsp + 0x40], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140128e98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], 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 + 0x68], 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 + 0x70], 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 + 0x78], rax
lea rcx, [0x1402ecb38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rcx, [0x1402ecb38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], 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 + 0x90], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140128f58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140128e80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
lea rcx, [0x1402ecb38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x140]
call fcn.1400acee0
lea rax, [rsp + 0x140]
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 + 0x48], rax
jmp 0x1400ad7fe
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
je 0x1400ad884
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400ad87f
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0x90
jne 0x1400ad848
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400ad81f
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0xe9
je 0x1400ad866
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0xc3
jne 0x1400ad87f
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x140]
call fcn.1400ae4e0
movzx eax, byte [rsp + 0x20]
jmp 0x1400ad89b
jmp 0x1400ad7f0
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x140]
call fcn.1400ae4e0
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140110ce0
add rsp, 0x168
pop rdi
pop rsi
ret