Function at 0x1800098e0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
sub rsp, 0x88
cmp edx, 1
jne 0x180009b80
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
lea rsi, [0x1800095c0]
mov qword [rax - 8], rdi
add rsi, 0x21a
lea rdi, [0x180009030]
add rdi, 0x12d
xor ebp, ebp
nop dword [rax]
nop word [rax + rax]
cmp dword [0x1800d9988], 0x29b5810a
jne 0x180009ade
xor ecx, ecx
call qword [sym.imp.USER32.dll_UnloadKeyboardLayout]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
xor ecx, ecx
call qword [sym.imp.USER32.dll_DdeImpersonateClient]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlUnwind]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWait]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PurgeComm]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetDynamicTimeZoneInformation]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_InternalGetWindowText]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_AppendMenuW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x38], ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov qword [rsp + 0x28], rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.USER32.dll_ScrollWindowEx]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ActivateKeyboardLayout]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor ecx, ecx
call qword [sym.imp.USER32.dll_DestroyAcceleratorTable]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CharUpperW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSubMenu]
mov dword [rsp + 0x38], ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_TabbedTextOutW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rcx, [0x1800efa80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ResolveLocaleName]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ScrollDC]
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DdeKeepStringHandle]
xor eax, eax
lock cmpxchg dword [rbp], ebp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetNLSVersion]
xor ecx, ecx
call qword [sym.imp.USER32.dll_BeginDeferWindowPos]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ClosePrivateNamespace]
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x48], 0x12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
mov dword [0x1800d9988], 0xcc7d6628
call fcn.18000ef40
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x58], 0x21a
mov ebx, 0x2ce1
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.180015470
mov r8d, eax
nop dword [rax]
nop dword [rax + rax]
inc ebx
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
cmp ebx, ecx
jne 0x180009b40
test r8d, r8d
je 0x180009930
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov eax, 1
add rsp, 0x88
ret