Function at 0x1400375a0
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 [0x1400b9920]
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.140018ba0
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x60], 0
cmp qword [0x1400bcd08], 0
jne 0x14003772f
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 0x14003764f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14003764f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14003765e
xor eax, eax
jmp 0x1400379ea
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 0x140037684
xor eax, eax
jmp 0x1400379ea
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400bcd08], 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 [0x1400bcd10], 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 [0x1400bcd18], 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 [0x1400bcd28], rax
cmp qword [0x1400bcd28], 0
je 0x14003772f
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 [0x1400bcd20], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140037763
cmp qword [rsp + 0xf0], 0
je 0x140037752
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [rsp + 0x50], 0
je 0x140037763
mov eax, 4
jmp 0x1400379ea
cmp dword [rsp + 0x50], 0
je 0x140037858
mov rcx, qword [0x1400bcd08]
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 0x1400377f0
xor eax, eax
jmp 0x1400379ea
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
lea r8, [0x140037a10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14003782e
xor eax, eax
jmp 0x1400379ea
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x140037851
mov eax, dword [rsp + 0xc4]
jmp 0x1400379ea
xor eax, eax
jmp 0x1400379ea
mov rax, qword [rsp + 0x58]
cmp qword [0x1400bcd20], rax
je 0x14003790d
mov rax, qword [rsp + 0x58]
cmp qword [0x1400bcd28], rax
je 0x14003790d
mov rcx, qword [0x1400bcd20]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x88], rax
mov rcx, qword [0x1400bcd28]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x88], 0
je 0x14003790d
cmp qword [rsp + 0x70], 0
je 0x14003790d
call qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140037905
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 0x140037905
mov eax, dword [rsp + 0xd0]
and eax, 1
test eax, eax
jne 0x14003790d
mov dword [rsp + 0x40], 1
cmp dword [rsp + 0x40], 0
je 0x140037928
mov eax, dword [rsp + 0x100]
bts eax, 0x15
mov dword [rsp + 0x100], eax
jmp 0x1400379a0
mov rax, qword [rsp + 0x58]
cmp qword [0x1400bcd10], rax
je 0x140037959
mov rcx, qword [0x1400bcd10]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140037959
call qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400379a0
mov rax, qword [rsp + 0x58]
cmp qword [0x1400bcd18], rax
je 0x1400379a0
mov rcx, qword [0x1400bcd18]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400379a0
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1400bcd08]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400379e8
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 0x1400379ea
xor eax, eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140010950
add rsp, 0xe0
pop rdi
ret