Function at 0x1400c1150
Capabilities:
Create thread
Link many functions at runtime
Print debug messages

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1401e0280]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x38], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
call fcn.1400baa70
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x60], 0
cmp qword [0x1401e9390], 0
jne 0x1400c12e4
mov r8d, 0x800
xor edx, edx
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400c1204
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400c1204
xor r8d, r8d
xor edx, edx
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400c1213
xor eax, eax
jmp 0x1400c159f
lea rdx, str.MessageBoxW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400c1239
xor eax, eax
jmp 0x1400c159f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401e9390], rax
lea rdx, str.GetActiveWindow
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401e9398], rax
lea rdx, str.GetLastActivePopup
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401e93a0], rax
lea rdx, str.GetUserObjectInformationW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401e93b0], rax
cmp qword [0x1401e93b0], 0
je 0x1400c12e4
lea rdx, str.GetProcessWindowStation
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401e93a8], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400c1318
cmp qword [rsp + 0xf0], 0
je 0x1400c1307
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x50], 0
je 0x1400c1318
mov eax, 4
jmp 0x1400c159f
cmp dword [rsp + 0x50], 0
je 0x1400c140d
mov rcx, qword [0x1401e9390]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0xc0], eax
lea rax, [rsp + 0xc4]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
cmp qword [rsp + 0x98], 0
jne 0x1400c13a5
xor eax, eax
jmp 0x1400c159f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
lea r8, [0x1400c15c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400c13e3
xor eax, eax
jmp 0x1400c159f
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x1400c1406
mov eax, dword [rsp + 0xc4]
jmp 0x1400c159f
xor eax, eax
jmp 0x1400c159f
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e93a8], rax
je 0x1400c14c2
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e93b0], rax
je 0x1400c14c2
mov rcx, qword [0x1401e93a8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x88], rax
mov rcx, qword [0x1401e93b0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x88], 0
je 0x1400c14c2
cmp qword [rsp + 0x70], 0
je 0x1400c14c2
call qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400c14ba
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0xc8]
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x70]
test eax, eax
je 0x1400c14ba
mov eax, dword [rsp + 0xd0]
and eax, 1
test eax, eax
jne 0x1400c14c2
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x40], 0
je 0x1400c14dd
mov eax, dword [rsp + 0x100]
bts eax, 0x15
mov dword [rsp + 0x100], eax
jmp 0x1400c1555
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e9398], rax
je 0x1400c150e
mov rcx, qword [0x1401e9398]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400c150e
call qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400c1555
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e93a0], rax
je 0x1400c1555
mov rcx, qword [0x1401e93a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400c1555
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1401e9390]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400c159d
mov r9d, dword [rsp + 0x100]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x90]
jmp 0x1400c159f
xor eax, eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400a3850
add rsp, 0xe0
pop rdi
ret