Function at 0x1400615c0
Capabilities:
Log keystrokes
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov r12, rcx
mov qword [rbp - 0x40], rcx
lea rax, [0x1400a1238]
cmp qword [0x1400a1250], 0x10
cmovae rax, qword [0x1400a1238]
mov qword [0x1400c9208], rax
mov edx, 0x65
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadIconA]
mov rdi, rax
mov esi, 0x50
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], esi
mov qword [rbp - 0x78], rbx
lea rax, [0x1400620ec]
mov qword [rsp + 0x78], rax
lea rax, str.Millennium
mov qword [rbp - 0x50], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [0x1400c91b0], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [0x1400c91c0], xmm1
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [0x1400c91d0], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [0x1400c91e0], xmm1
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [0x1400c91f0], xmm0
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov eax, dword [0x1400a125c]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1400a1258]
mov dword [rsp + 0x30], eax
mov eax, 0x80000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9d, 0x80cf0000
mov r8, qword [0x1400c9208]
movq rdx, xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1400c9200], rax
mov r9, rdi
lea r13d, [rsi - 0x4f]
mov r8d, r13d
lea ebx, [rsi + 0x30]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, rdi
xor r8d, r8d
mov edx, ebx
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r14, qword [0x1400c9200]
lea rdx, [rbp - 0x38]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [rbp - 0x20]
sub edi, dword [rbp - 0x28]
mov ebx, dword [rbp - 0x1c]
sub ebx, dword [rbp - 0x24]
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
sub esi, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub r10d, eax
mov eax, dword [rbp - 0x2c]
sub eax, dword [rbp - 0x34]
mov r9d, dword [rbp - 0x30]
sub r9d, dword [rbp - 0x38]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
mov r8d, esi
mov edx, r10d
mov rcx, r14
call qword [sym.imp.USER32.dll_MoveWindow]
mov dword [rsp + 0x60], r15d
lea rcx, [rsp + 0x60]
call qword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
cmp dword [rsp + 0x60], r15d
je 0x1400617d9
test eax, eax
mov al, r13b
je 0x1400617dc
mov al, r15b
mov r14, r13
neg al
sbb ebx, ebx
and ebx, 0xc00000
add ebx, 0x800f0000
mov edi, 0xfffffff0
mov edx, edi
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
lea r13d, [rdi + 0x15]
cmp ebx, eax
je 0x140061863
movsxd r8, ebx
mov edx, edi
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov dl, r14b
mov rcx, qword [0x1400c9200]
call fcn.140061570
mov dword [rsp + 0x30], 0x23
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, r13d
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dl, r14b
mov rcx, qword [0x1400c9200]
call fcn.140061570
mov rbx, qword [0x1400c9200]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x1400c9130], rax
test rax, rax
je 0x140061907
mov esi, 0x40
mov r8d, esi
xor edx, edx
lea rdi, [0x1400c9140]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov dword [0x1400c9168], r14d
mov dword [0x1400c9158], r14d
mov dword [0x1400c9148], r15d
mov dword [0x1400c916c], r14d
mov dword [0x1400c9170], 0x50
mov dword [0x1400c917c], r14d
mov rcx, qword [0x1400c9130]
mov rax, qword [rcx]
lea rdx, [0x1400c9138]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, r14d
xor edx, edx
call qword [rax + 0x80]
test eax, eax
jns 0x14006190c
call fcn.1400614d0
mov edx, r13d
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov esi, 3
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
xor edx, edx
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov r8d, r14d
mov edx, edi
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 0x43
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 2]
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_SetActiveWindow]
xor r8d, r8d
mov edx, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rax, qword [0x1400c9120]
test rax, rax
je 0x140061a0c
add dword [rax + 0x3b0], r14d
mov ecx, 0x40b8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x28], rax
test rax, rax
je 0x140061a3d
xor edx, edx
mov rcx, rax
call fcn.140025a60
mov rbx, rax
jmp 0x140061a40
mov rbx, r15
cmp qword [0x1400c9120], r15
jne 0x140061a50
mov qword [0x1400c9120], rbx
mov rcx, rbx
call fcn.14002bb98
mov qword [0x1400c9120], rbx
call fcn.14002972c
mov r13, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
movss xmm3, dword [0x14009757c]
mov r8d, 0x269f0
lea rdx, [0x1400a1790]
mov rcx, qword [rax + 0xa0]
call fcn.140050e90
mov esi, 0x400
or dword [r13], esi
mov dword [0x1400c917c], r14d
mov dword [0x1400c9178], r15d
lea r9, [rsp + 0x60]
mov r8d, 0x52e
lea rdx, [0x1400a1260]
mov rcx, qword [0x1400c9138]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
test eax, eax
jne 0x140061aec
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rbp - 0x28]
xor edx, edx
call qword [rax + 0x88]
mov rax, qword [rsp + 0x60]
mov qword [0x1400c9238], rax
mov rcx, qword [0x1400c9200]
call fcn.1400578e4
test al, al
je 0x140061ed2
mov rbx, qword [0x1400c9138]
call fcn.14002972c
mov rdi, rax
lea rax, str.imgui_impl_dx9
mov qword [rdi + 0xe0], rax
or dword [rdi + 4], 0x1008
mov qword [0x1400c9330], rbx
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
test dword [rdi], esi
je 0x140061b83
call fcn.140029768
lea rcx, [fcn.14005754c]
mov qword [rax + 0x98], rcx
lea rcx, [fcn.14005767c]
mov qword [rax + 0xa0], rcx
lea rcx, [0x140057700]
mov qword [rax + 0xa8], rcx
lea rcx, [0x14005776c]
mov qword [rax + 0xb0], rcx
lea rcx, [0x140057894]
mov qword [rax + 0xb8], rcx
call fcn.14006221c
xorps xmm0, xmm0
movups xmmword [0x1400c9180], xmm0
movups xmmword [0x1400c9190], xmm0
movups xmmword [0x1400c91a0], xmm0
movss xmm6, dword [0x140097500]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400c9180]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140061be5
lea rcx, [0x1400c9180]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400c9180]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140061e7e
cmp qword [0x1400c9320], r15
jne 0x140061bf3
call fcn.140057350
call fcn.140058104
call fcn.14002aab8
and dword [rsp + 0x60], 0
and dword [rsp + 0x64], 0
call fcn.14003b068
lea rcx, [rax + 0x18]
lea r8, [rsp + 0x60]
xor edx, edx
call fcn.140033fe4
call fcn.14003b068
mov rcx, qword [0x1400c9120]
or dword [rcx + 0x1dc8], 2
movsd xmm0, qword [rax + 0x20]
movsd qword [rcx + 0x1dec], xmm0
mov dword [rcx + 0x1dd0], r14d
mov r8d, 0x126
lea rdx, [0x1400a1070]
lea rcx, [0x140092904]
call fcn.140030858
mov rcx, qword [r12 + 0x38]
test rcx, rcx
je 0x140061f24
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.1400330f4
call fcn.14002c79c
mov rcx, qword [0x1400c9138]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r15d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400c9138]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140061d18
call fcn.14002cd2c
mov rbx, qword [0x1400c9120]
cmp dword [rbx + 0x1ef8], r15d
jg 0x140061ce8
mov r8d, 0x6c8
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1f00]
mov rdx, qword [rax]
add rdx, 0xa8
mov al, byte [rdx]
neg al
sbb rcx, rcx
and rcx, rdx
call fcn.140056b0c
mov rcx, qword [0x1400c9138]
mov rax, qword [rcx]
call qword [rax + 0x150]
call fcn.14002972c
test dword [rax], esi
je 0x140061d26
call fcn.14003c9c0
call fcn.140029768
mov rbx, rax
mov esi, r14d
mov rdi, r14
mov ecx, dword [rax + 0xd0]
lea r14, [rax + 0xd8]
cmp ecx, 1
jle 0x140061db2
test rdi, rdi
js 0x140061d4f
cmp esi, ecx
jl 0x140061d69
mov r8d, 0x6c8
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14]
mov r15, qword [rax + rdi*8]
test dword [r15 + 4], 0x400
jne 0x140061d9d
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140061d8a
xor edx, edx
mov rcx, r15
call rax
mov rax, qword [rbx + 0xb0]
test rax, rax
je 0x140061d9d
xor edx, edx
mov rcx, r15
call rax
inc esi
inc rdi
mov ecx, dword [rbx + 0xd0]
cmp esi, ecx
mov r15d, 0
jl 0x140061d46
mov esi, 1
mov edi, esi
cmp ecx, esi
jle 0x140061e29
test rdi, rdi
js 0x140061dc6
cmp esi, ecx
jl 0x140061de0
mov r8d, 0x6c8
lea rdx, str.C:UsersAdminDocumentsmillennium_steam_patcherinstaller_src_vendorimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14]
mov r15, qword [rax + rdi*8]
test dword [r15 + 4], 0x400
jne 0x140061e14
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x140061e01
xor edx, edx
mov rcx, r15
call rax
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x140061e14
xor edx, edx
mov rcx, r15
call rax
inc esi
inc rdi
mov ecx, dword [rbx + 0xd0]
cmp esi, ecx
mov r15d, 0
jl 0x140061dbd
mov rcx, qword [0x1400c9138]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140061e66
mov rcx, qword [0x1400c9138]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140061e66
call fcn.140061524
cmp byte [0x1400a1070], r15b
je 0x140061f1b
mov esi, 0x400
mov r14d, 1
cmp dword [0x1400c9188], 0x12
jne 0x140061ba8
mov rcx, qword [r13 + 0xa0]
call fcn.14005080c
call fcn.14003d198
call fcn.140057428
mov rcx, qword [0x1400c9330]
test rcx, rcx
je 0x140061eba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400c9330], r15
call fcn.140057ac0
call fcn.1400614d0
mov rcx, qword [0x1400c9200]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
mov rcx, qword [r12 + 0x38]
test rcx, rcx
je 0x140061eed
mov rax, qword [rcx]
cmp rcx, r12
setne dl
call qword [rax + 0x20]
mov qword [r12 + 0x38], r15
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140063870
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3