Function at 0x1400bfa80
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 [0x1401dc280]
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.1400b93a0
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x60], 0
cmp qword [0x1401e50a0], 0
jne 0x1400bfc14
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 0x1400bfb34
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400bfb34
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 0x1400bfb43
xor eax, eax
jmp 0x1400bfecf
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 0x1400bfb69
xor eax, eax
jmp 0x1400bfecf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401e50a0], 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 [0x1401e50a8], 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 [0x1401e50b0], 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 [0x1401e50c0], rax
cmp qword [0x1401e50c0], 0
je 0x1400bfc14
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 [0x1401e50b8], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400bfc48
cmp qword [rsp + 0xf0], 0
je 0x1400bfc37
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x50], 0
je 0x1400bfc48
mov eax, 4
jmp 0x1400bfecf
cmp dword [rsp + 0x50], 0
je 0x1400bfd3d
mov rcx, qword [0x1401e50a0]
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 0x1400bfcd5
xor eax, eax
jmp 0x1400bfecf
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
lea r8, [0x1400bfef0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400bfd13
xor eax, eax
jmp 0x1400bfecf
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x1400bfd36
mov eax, dword [rsp + 0xc4]
jmp 0x1400bfecf
xor eax, eax
jmp 0x1400bfecf
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e50b8], rax
je 0x1400bfdf2
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e50c0], rax
je 0x1400bfdf2
mov rcx, qword [0x1401e50b8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x88], rax
mov rcx, qword [0x1401e50c0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x88], 0
je 0x1400bfdf2
cmp qword [rsp + 0x70], 0
je 0x1400bfdf2
call qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400bfdea
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 0x1400bfdea
mov eax, dword [rsp + 0xd0]
and eax, 1
test eax, eax
jne 0x1400bfdf2
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x40], 0
je 0x1400bfe0d
mov eax, dword [rsp + 0x100]
bts eax, 0x15
mov dword [rsp + 0x100], eax
jmp 0x1400bfe85
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e50a8], rax
je 0x1400bfe3e
mov rcx, qword [0x1401e50a8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400bfe3e
call qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400bfe85
mov rax, qword [rsp + 0x58]
cmp qword [0x1401e50b0], rax
je 0x1400bfe85
mov rcx, qword [0x1401e50b0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400bfe85
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1401e50a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400bfecd
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 0x1400bfecf
xor eax, eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400a2180
add rsp, 0xe0
pop rdi
ret