Function at 0x14004bc90
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1400c53c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], 0
call fcn.1400397c0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x6c], 0
mov qword [rsp + 0x50], 0
cmp qword [0x1400c9c00], 0
jne 0x14004bde5
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14004bd14
xor eax, eax
jmp 0x14004bf7a
lea rdx, str.MessageBoxA
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14004bd3a
xor eax, eax
jmp 0x14004bf7a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400c9c00], rax
lea rdx, str.GetActiveWindow
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400c9c08], rax
lea rdx, str.GetLastActivePopup
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400c9c10], rax
lea rdx, str.GetUserObjectInformationA
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400c9c20], rax
cmp qword [0x1400c9c20], 0
je 0x14004bde5
lea rdx, str.GetProcessWindowStation
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400c9c18], rax
mov rax, qword [rsp + 0x30]
cmp qword [0x1400c9c18], rax
je 0x14004be91
mov rax, qword [rsp + 0x30]
cmp qword [0x1400c9c20], rax
je 0x14004be91
mov rcx, qword [0x1400c9c18]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x78], rax
mov rcx, qword [0x1400c9c20]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x78], 0
je 0x14004be91
cmp qword [rsp + 0x80], 0
je 0x14004be91
call qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14004be89
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, recv
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x80]
test eax, eax
je 0x14004be89
mov eax, dword [rsp + 0x48]
and eax, 1
test eax, eax
jne 0x14004be91
mov dword [rsp + 0x6c], 1
cmp dword [rsp + 0x6c], 0
je 0x14004beaf
mov eax, dword [rsp + 0xd0]
bts eax, 0x15
mov dword [rsp + 0xd0], eax
jmp 0x14004bf30
mov rax, qword [rsp + 0x30]
cmp qword [0x1400c9c08], rax
je 0x14004bee9
mov rcx, qword [0x1400c9c08]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14004bee9
call qword [rsp + 0x88]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14004bf30
mov rax, qword [rsp + 0x30]
cmp qword [0x1400c9c10], rax
je 0x14004bf30
mov rcx, qword [0x1400c9c10]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x14004bf30
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400c9c00]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14004bf78
mov r9d, dword [rsp + 0xd0]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x98]
jmp 0x14004bf7a
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14002a4b0
add rsp, 0xb8
ret