Function at 0x18003fb74
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x248
mov qword [rsp + 0x120], 0xfffffffffffffffe
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800f18c0]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, r9
mov qword [rsp + 0x60], r8
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x80], rax
xor ebp, ebp
cmp qword [rcx + 0x88], rbp
jne 0x18003fbd8
xor al, al
jmp 0x18004267a
mov dword [rsp + 0xb0], ebp
add rcx, 0x358
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x18003fcd2
mov ecx, ebp
mov byte [rsp + 0x68], bpl
mov edx, ecx
lea rcx, [rsi + 0x358]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov r10, qword [rax]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov r8, qword [rsp + 0x60]
mov edx, ebx
mov rcx, rax
call qword [r10]
cmp byte [rsp + 0x68], bpl
jne 0x18003fc50
add dword [rsp + 0xb0], 1
lea rcx, [rsi + 0x358]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
mov ecx, dword [rsp + 0xb0]
cmp ecx, eax
jl 0x18003fbf5
jmp 0x18003fcd2
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
cmp ebx, 0x7b
je 0x18003fc9b
cmp ebx, 0x1ff
jbe 0x18003fccb
mov eax, 0x203
cmp ebx, eax
jbe 0x18003fc7b
cmp ebx, 0x20a
je 0x18003fc9b
jmp 0x18003fccb
movsx eax, di
mov dword [rsp + 0x60], eax
shr rdi, 0x10
movsx eax, di
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x150], rax
jmp 0x18003fccb
movsx ecx, di
mov dword [rsp + 0x60], ecx
shr rdi, 0x10
movsx ecx, di
mov dword [rsp + 0x64], ecx
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r11, qword [rsp + 0x60]
mov qword [rsi + 0x150], r11
mov al, 1
jmp 0x18004267a
mov cl, byte [rsi + 0x1a1]
cmp cl, bpl
je 0x18003fd32
mov eax, ebx
sub eax, 0x83
je 0x18003fd20
sub eax, 2
je 0x18003fd20
cmp eax, 1
jne 0x18003fd32
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_IsIconic]
cmp eax, ebp
jne 0x180041121
cmp qword [rsp + 0x60], rbp
sete bpl
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rbp
mov al, 1
jmp 0x18004267a
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rbp
mov al, 1
jmp 0x18004267a
mov eax, 0x111
cmp ebx, eax
ja 0x1800414da
cmp ebx, eax
je 0x1800414a9
cmp ebx, 0x21
ja 0x180041121
cmp ebx, 0x21
je 0x1800410fe
sub ebx, 5
je 0x18004104d
sub ebx, 3
je 0x180040f8d
sub ebx, 7
je 0x18003ffd8
sub ebx, 1
je 0x18003fead
sub ebx, 4
je 0x18003fe97
cmp ebx, 0xc
jne 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
cmp di, 1
jne 0x180042678
cmp byte [rsi + 0x321], bpl
je 0x18003fdb7
mov al, dil
jmp 0x18004267a
mov dword [rsp + 0x80], ebp
xor eax, eax
mov dword [rsp + 0x84], eax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rsp + 0x80]
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
mov rbx, rax
cmp rax, rbp
je 0x180042678
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
test al, 2
je 0x180042678
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 0x17
mov qword [rsp + 0x148], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rbx]
lea rdx, [rsp + 0x140]
mov rcx, rbx
call qword [rax + 0x238]
mov al, 1
jmp 0x18004267a
mov rcx, qword [rsp + 0x80]
mov qword [rcx], 1
mov al, 1
jmp 0x18004267a
mov dword [rsp + 0x140], ebp
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov r11, qword [rsi + 0x150]
mov qword [rsp + 0x154], r11
call fcn.18003935c
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rcx, qword [rsi + 0x130]
cmp rcx, rbp
je 0x18003ff20
mov dword [rsp + 0x140], 0xa
mov qword [rsp + 0x148], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x138]
cmp rcx, rbp
je 0x18003ff50
mov dword [rsp + 0x140], InitCommonControls
mov qword [rsp + 0x148], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov r8b, 1
xor edx, edx
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI____ptr64__bool____ptr64
mov rbx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, rbx
jne 0x18003ffb6
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
mov edx, 0xfffffff0
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x18003ffa8
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
cmp rbx, rbp
je 0x18003ffb6
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsi + 0xd0]
cmp rcx, rbp
je 0x180042678
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rsi + 0xd0], rbp
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
jne 0x180040047
mov qword [rsp + 0x140], rbp
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
lea rdx, [rsp + 0x140]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_BeginPaint]
mov r8d, 0xff000000
lea rdx, [rsp + 0x14c]
mov rcx, qword [rsi + 0x90]
call sym.VKD.dll_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawColor_struct_HDC______ptr64__struct_tagRECT_const____ptr64__unsigned_long_int_
lea rdx, [rsp + 0x140]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x18004267a
mov dword [rsp + 0xc0], ebp
xor eax, eax
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0xcc], eax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetClientRect]
mov dword [rsp + 0xa0], ebp
xor eax, eax
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0xac], eax
cmp byte [rsi + 0x1a1], bpl
je 0x180040168
mov byte [rsi + 0x19f], 1
movdqu xmm0, xmmword [rsi + 0x1b8]
movdqu xmmword [rsp + 0xa0], xmm0
lea rcx, [rsi + 0x1b8]
call qword [sym.imp.USER32.dll_IsRectEmpty]
cmp eax, ebp
je 0x18004011a
mov qword [rsp + 0x140], rbp
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
lea rdx, [rsp + 0x140]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_BeginPaint]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x18004267a
mov eax, dword [rsp + 0xa8]
cmp eax, dword [rsp + 0xc8]
cmovg eax, dword [rsp + 0xc8]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xac]
cmp eax, dword [rsp + 0xcc]
cmovg eax, dword [rsp + 0xcc]
mov dword [rsp + 0xac], eax
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsi + 0x1b8]
call fcn.18008fd00
jmp 0x18004018b
xor r8d, r8d
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetUpdateRect]
cmp eax, ebp
jne 0x18004018b
mov al, 1
jmp 0x18004267a
cmp byte [rsi + 0x19e], bpl
je 0x18004019e
mov dl, 1
mov rcx, rsi
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CPaintManagerUI::SetNextTabControl_bool____ptr64
mov dl, 1
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetPainting_bool____ptr64
cmp byte [rsi + 0x19d], bpl
je 0x18004041d
mov byte [rsi + 0x19d], bpl
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_IsRectEmpty]
cmp eax, ebp
jne 0x1800404ec
mov rcx, qword [rsi + 0x120]
call sym.VKD.dll_public:_unsigned_char___cdecl_DuiLib::CPaintManagerUI::GetLayeredOpacity_void____ptr64
cmp al, bpl
je 0x1800402c9
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x90], xmm6
mov rcx, qword [rsi + 0x98]
cmp rcx, rbp
je 0x180040209
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsi + 0xa0]
cmp rcx, rbp
je 0x18004021b
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsi + 0xa8]
cmp rcx, rbp
je 0x18004022d
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsi + 0xb8]
cmp rcx, rbp
je 0x18004023f
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsi + 0x98], rbp
mov qword [rsi + 0xa0], rbp
mov qword [rsi + 0xa8], rbp
mov qword [rsi + 0xb8], rbp
cmp byte [rsi + 0x1a1], bpl
je 0x1800402a0
mov eax, dword [rsi + 0x1a4]
add dword [rsp + 0x90], eax
mov eax, dword [rsi + 0x1a8]
add dword [rsp + 0x94], eax
mov eax, dword [rsi + 0x1ac]
sub dword [rsp + 0x98], eax
mov eax, dword [rsi + 0x1b0]
sub dword [rsp + 0x9c], eax
movaps xmm6, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xe0], xmm6
mov rcx, qword [rsi + 0x120]
mov rax, qword [rcx]
mov r8b, 1
lea rdx, [rsp + 0xe0]
call qword [rax + 0x98]
jmp 0x1800403ae
lea rbx, [rsi + 0x3b8]
mov rcx, rbx
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiPtrArray::Empty_void____ptr64
mov rcx, qword [rsi + 0x120]
mov rax, qword [rcx]
mov r9d, 0x80000009
xor r8d, r8d
lea rdx, [sym.VKD.dll_private:_static_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::__FindControlsFromUpdate_class_DuiLib::CControlUI____ptr64__void____ptr64_]
call qword [rax + 0x220]
mov edi, ebp
mov rcx, rbx
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x1800403ae
mov rsi, rbx
mov edx, edi
mov rcx, rsi
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov rbx, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x210]
cmp al, bpl
jne 0x18004035e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x80]
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0xe0], xmm0
mov r9, qword [rbx]
mov r8b, 1
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [r9 + 0x98]
jmp 0x180040396
mov rax, qword [rbx]
lea rdx, [rsp + 0x128]
mov rcx, rbx
call qword [rax + 0x88]
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x90], xmm0
mov rax, qword [rbx]
mov r8b, 1
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [rax + 0x98]
add edi, 1
mov rcx, rsi
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp edi, eax
jl 0x18004030d
mov rsi, qword [rsp + 0x70]
cmp byte [rsi + 0x19c], bpl
je 0x1800404ec
mov byte [rsi + 0x19c], bpl
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, str.windowinit
mov rdx, qword [rsi + 0x120]
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI____ptr64__wchar_t_const____ptr64__unsigned_long_long_unsigned___int64___long_long___int64___bool__bool____ptr64
cmp byte [rsi + 0x1a1], bpl
je 0x1800404ec
cmp byte [rsi + 0x1b4], bpl
je 0x1800404ec
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::Invalidate_void____ptr64
xor edx, edx
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetPainting_bool____ptr64
mov al, 1
jmp 0x18004267a
cmp byte [rsi + 0x1a1], bpl
je 0x1800404ec
cmp byte [rsi + 0x1b4], bpl
je 0x1800404ec
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x90], xmm0
mov rcx, qword [rsi + 0xb0]
cmp rcx, rbp
je 0x18004048c
mov rax, qword [rsp + 0xc0]
shr rax, 0x20
mov rdx, qword [rsp + 0xc8]
shr rdx, 0x20
sub edx, eax
mov eax, dword [rsp + 0xc8]
sub eax, dword [rsp + 0xc0]
imul edx, eax
shl edx, 2
movsxd r8, edx
xor edx, edx
call fcn.18008fd00
mov eax, dword [rsi + 0x1a4]
add dword [rsp + 0x90], eax
mov eax, dword [rsi + 0x1a8]
add dword [rsp + 0x94], eax
mov eax, dword [rsi + 0x1ac]
sub dword [rsp + 0x98], eax
mov eax, dword [rsi + 0x1b0]
sub dword [rsp + 0x9c], eax
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xe0], xmm0
mov rcx, qword [rsi + 0x120]
mov rax, qword [rcx]
mov r8b, 1
lea rdx, [rsp + 0xe0]
call qword [rax + 0x98]
cmp byte [rsi + 0x19f], bpl
je 0x18004058f
cmp qword [rsi + 0xa8], rbp
jne 0x18004058f
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsi + 0x98], rax
cmp byte [rsi + 0x1a1], bpl
je 0x18004055d
lea r9, [rsi + 0xb0]
mov r8d, dword [rsp + 0xcc]
sub r8d, dword [rsp + 0xc4]
mov edx, dword [rsp + 0xc8]
sub edx, dword [rsp + 0xc0]
mov rcx, qword [rsi + 0x90]
call sym.VKD.dll_public:_static_struct_HBITMAP______ptr64___cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC______ptr64__int__int__unsigned_long_int____ptr64____ptr64_
mov qword [rsi + 0xa8], rax
jmp 0x18004058f
mov r8d, dword [rsp + 0xcc]
sub r8d, dword [rsp + 0xc4]
mov edx, dword [rsp + 0xc8]
sub edx, dword [rsp + 0xc0]
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsi + 0xa8], rax
mov qword [rsp + 0x190], rbp
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsp + 0x198]
call fcn.18008fd00
lea rdx, [rsp + 0x190]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_BeginPaint]
cmp byte [rsi + 0x19f], bpl
je 0x180040f11
mov rdx, qword [rsi + 0xa8]
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.GDI32.dll_SaveDC]
mov dword [rsp + 0x80], eax
cmp byte [rsi + 0x1a1], bpl
je 0x1800406ab
cmp qword [rsi + 0x2e0], rbp
jne 0x1800406ab
mov r9d, dword [rsp + 0xcc]
mov edx, r9d
sub edx, dword [rsp + 0xac]
mov ecx, r9d
mov r10d, dword [rsp + 0xa4]
sub ecx, r10d
cmp edx, ecx
jge 0x1800406ab
mov ecx, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa0]
movsxd r11, r8d
cmp r8d, ecx
jge 0x18004069e
mov eax, dword [rsp + 0xc8]
sub eax, dword [rsp + 0xc0]
imul eax, edx
movsxd rcx, eax
add rcx, r11
mov rax, qword [rsi + 0xb0]
mov dword [rax + rcx*4], ebp
add r8d, 1
add r11, 1
mov ecx, dword [rsp + 0xa8]
cmp r8d, ecx
jl 0x180040651
mov r9d, dword [rsp + 0xcc]
mov r10d, dword [rsp + 0xa4]
mov r8d, dword [rsp + 0xa0]
add edx, 1
mov eax, r9d
sub eax, r10d
cmp edx, eax
jl 0x180040649
mov rcx, qword [rsi + 0x120]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov rdx, qword [rsi + 0x98]
call qword [rax + 0x270]
cmp byte [rsi + 0x1a1], bpl
je 0x18004097b
mov ebx, ebp
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x18004097b
mov edx, ebx
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebp
jne 0x18004073b
mov r8d, 1
mov edx, ebx
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CDuiPtrArray::Remove_int__int____ptr64
lea rcx, [rsi + 0x388]
mov r8d, 1
mov edx, ebx
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CDuiPtrArray::Remove_int__int____ptr64
jmp 0x180040967
add ebx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, ebp
je 0x180040967
mov r8, rdi
lea rdx, [rsp + 0x100]
mov rcx, rsi
call sym.VKD.dll_public:_struct_tagRECT___cdecl_DuiLib::CPaintManagerUI::GetNativeWindowRect_struct_HWND______ptr64____ptr64
mov dword [rsp + 0xe0], ebp
xor eax, eax
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0xe8], eax
mov dword [rsp + 0xec], eax
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.USER32.dll_IntersectRect]
cmp eax, ebp
je 0x180040967
mov qword [rsp + 0x60], rbp
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x118], rax
mov r8d, dword [rsp + 0x10c]
sub r8d, dword [rsp + 0x104]
mov edx, dword [rsp + 0x108]
sub edx, dword [rsp + 0x100]
lea r9, [rsp + 0x60]
mov rcx, rax
call sym.VKD.dll_public:_static_struct_HBITMAP______ptr64___cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC______ptr64__int__int__unsigned_long_int____ptr64____ptr64_
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x10c]
sub edx, dword [rsp + 0x104]
mov ecx, dword [rsp + 0x108]
sub ecx, dword [rsp + 0x100]
imul edx, ecx
shl edx, 2
movsxd r8, edx
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.18008fd00
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x110], rax
mov r9d, 0x35
mov r8, qword [rsp + 0x118]
mov edx, 0x317
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, ebp
mov r8d, dword [rsp + 0x10c]
mov ecx, r8d
mov r10d, dword [rsp + 0x104]
sub ecx, r10d
cmp ecx, ebp
jle 0x1800408f8
mov r9d, dword [rsp + 0x108]
mov edx, dword [rsp + 0x100]
mov edi, ebp
mov eax, r9d
sub eax, edx
cmp eax, ebp
jle 0x1800408e7
mov r8, rdi
imul eax, r11d
movsxd rcx, eax
add rcx, r8
mov r10, qword [rsp + 0x60]
mov eax, dword [r10 + rcx*4]
cmp eax, ebp
je 0x1800408c7
or eax, 0xff000000
mov dword [r10 + rcx*4], eax
mov r9d, dword [rsp + 0x108]
mov edx, dword [rsp + 0x100]
add edi, 1
add r8, 1
mov eax, r9d
sub eax, edx
cmp edi, eax
jl 0x180040898
mov r8d, dword [rsp + 0x10c]
mov r10d, dword [rsp + 0x104]
add r11d, 1
mov eax, r8d
sub eax, r10d
cmp r11d, eax
jl 0x18004088a
jmp 0x180040907
mov r9d, dword [rsp + 0x108]
mov edx, dword [rsp + 0x100]
sub r8d, r10d
sub r9d, edx
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov rdi, qword [rsp + 0x118]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r8d
mov r8d, r10d
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x110]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp ebx, eax
jl 0x1800406f0
mov ebx, ebp
lea rcx, [rsi + 0x368]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x1800409ca
mov edx, ebx
lea rcx, [rsi + 0x368]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov r9, qword [rax]
lea r8, [rsp + 0xa0]
mov rdx, qword [rsi + 0x98]
mov rcx, rax
call qword [r9 + 0x2a8]
add ebx, 1
lea rcx, [rsi + 0x368]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp ebx, eax
jl 0x18004098d
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [rsi + 0x1a1], bpl
je 0x180040e1b
mov dword [rsp + 0xe0], ebp
xor eax, eax
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0xe8], eax
mov dword [rsp + 0xec], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xc0]
sub edi, ecx
mov dword [rsp + 0x60], edi
mov edx, dword [rsp + 0xcc]
mov r8d, edx
sub r8d, dword [rsp + 0xc4]
mov dword [rsp + 0x118], r8d
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x90], xmm0
add ecx, dword [rsi + 0x1a4]
mov dword [rsp + 0x90], ecx
mov eax, dword [rsi + 0x1a8]
add dword [rsp + 0x94], eax
mov eax, dword [rsi + 0x1ac]
sub dword [rsp + 0x98], eax
mov eax, dword [rsi + 0x1b0]
sub dword [rsp + 0x9c], eax
cmp qword [rsi + 0x2e0], rbp
je 0x180040d68
cmp qword [rsi + 0xb8], rbp
jne 0x180040b88
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsi + 0xa0], rax
lea r9, [rsi + 0xc0]
mov r8d, dword [rsp + 0x118]
mov edx, edi
mov rcx, qword [rsi + 0x90]
call sym.VKD.dll_public:_static_struct_HBITMAP______ptr64___cdecl_DuiLib::CRenderEngine::CreateARGB32Bitmap_struct_HDC______ptr64__int__int__unsigned_long_int____ptr64____ptr64_
mov qword [rsi + 0xb8], rax
mov r8d, dword [rsp + 0x118]
imul r8d, edi
shl r8d, 2
xor edx, edx
mov rcx, qword [rsi + 0xc0]
call fcn.18008fd00
mov rdx, qword [rsi + 0xb8]
mov rcx, qword [rsi + 0xa0]
call qword [sym.imp.GDI32.dll_SelectObject]
nop
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsi + 0xa0]
call sym.VKD.dll_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC______ptr64__struct_tagRECT__class_DuiLib::CRenderClip____ptr64_
lea r11, [rsi + 0x1c8]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x90]
mov rdx, rsi
mov rcx, qword [rsi + 0xa0]
call sym.VKD.dll_public:_static_bool___cdecl_DuiLib::CRenderEngine::DrawImage_struct_HDC______ptr64__class_DuiLib::CPaintManagerUI____ptr64__struct_tagRECT_const____ptr64__struct_tagRECT_const____ptr64__struct_DuiLib::tagTDrawInfo____ptr64_
nop
lea rcx, [rsp + 0x140]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CRenderClip::destructor_void____ptr64
mov edx, dword [rsp + 0xcc]
jmp 0x180040c19
cmp byte [rsi + 0x1b4], bpl
je 0x180040c19
imul r8d, edi
shl r8d, 2
xor edx, edx
mov rcx, qword [rsi + 0xc0]
call fcn.18008fd00
nop
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsi + 0xa0]
call sym.VKD.dll_public:_static_void___cdecl_DuiLib::CRenderClip::GenerateClip_struct_HDC______ptr64__struct_tagRECT__class_DuiLib::CRenderClip____ptr64_
lea r11, [rsi + 0x1c8]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x90]
mov rdx, rsi
mov rcx, qword [rsi + 0xa0]
call sym.VKD.dll_public:_static_bool___cdecl_DuiLib::CRenderEngine::DrawImage_struct_HDC______ptr64__class_DuiLib::CPaintManagerUI____ptr64__struct_tagRECT_const____ptr64__struct_tagRECT_const____ptr64__struct_DuiLib::tagTDrawInfo____ptr64_
nop
lea rcx, [rsp + 0x140]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CRenderClip::destructor_void____ptr64
mov edx, dword [rsp + 0xcc]
mov rax, qword [rsi + 0x2e0]
cmp byte [rax + 0x20], bpl
je 0x180040d68
mov ebx, edx
sub ebx, dword [rsp + 0xac]
mov dword [rsp + 0x80], ebx
mov eax, edx
mov ecx, dword [rsp + 0xa4]
sub eax, ecx
cmp ebx, eax
jge 0x180040d68
mov ebp, ebx
imul ebp, edi
mov r9d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa0]
movsxd rax, r8d
cmp r8d, r9d
jge 0x180040d4e
mov edi, ebp
add rdi, rax
shl rdi, 2
mov ebx, dword [rsp + 0xa0]
mov r11, qword [rsi + 0xb0]
mov rax, qword [rsi + 0xc0]
mov r8d, dword [rdi + r11]
movzx r10d, byte [rdi + rax + 3]
mov eax, r8d
shr eax, 8
movzx ecx, al
imul ecx, r10d
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r9d, dl
shl r9d, 8
shr r8d, 0x10
movzx ecx, r8b
imul ecx, r10d
mov r8d, 0x80808081
mov eax, r8d
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl eax, 0x10
or r9d, eax
movzx ecx, byte [rdi + r11]
imul ecx, r10d
mov eax, r8d
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
or r9d, eax
shl r10d, 0x18
add r9d, r10d
mov dword [rdi + r11], r9d
add ebx, 1
add rdi, 4
mov r9d, dword [rsp + 0xa8]
cmp ebx, r9d
jl 0x180040c7e
mov edx, dword [rsp + 0xcc]
mov ecx, dword [rsp + 0xa4]
mov r8d, dword [rsp + 0xa0]
mov ebx, dword [rsp + 0x80]
mov edi, dword [rsp + 0x60]
add ebx, 1
mov dword [rsp + 0x80], ebx
add ebp, edi
mov eax, edx
sub eax, ecx
cmp ebx, eax
jl 0x180040c62
xor ebp, ebp
mov byte [rsp + 0xb0], bpl
mov byte [rsp + 0xb1], bpl
mov al, byte [rsi + 0x1a0]
mov byte [rsp + 0xb2], al
mov byte [rsp + 0xb3], 1
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x110], edi
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x114], eax
mov dword [rsp + 0x100], ebp
mov dword [rsp + 0x104], ebp
mov dword [rsp + 0x40], 2
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x70]
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
call qword [0x1800f3cc0]
jmp 0x180040e6d
mov ecx, dword [rsp + 0xac]
mov r8d, dword [rsp + 0xa4]
sub ecx, r8d
mov r9d, dword [rsp + 0xa8]
mov edx, dword [rsp + 0xa0]
sub r9d, edx
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov rax, qword [rsi + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.GDI32.dll_SelectObject]
cmp byte [rsi + 0x11d], bpl
je 0x180040f52
cmp byte [rsi + 0x1a1], bpl
jne 0x180040f52
mov rdx, qword [0x1800f3cc8]
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov ecx, 5
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdx, rax
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_SelectObject]
mov r11d, dword [rsp + 0xac]
mov dword [rsp + 0x20], r11d
mov r9d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa4]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_Rectangle]
mov rdx, rbx
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_SelectObject]
jmp 0x180040f52
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_SaveDC]
mov ebx, eax
mov rcx, qword [rsi + 0x120]
mov r10, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov rdx, qword [rsi + 0x90]
call qword [r10 + 0x270]
mov edx, ebx
mov rcx, qword [rsi + 0x90]
call qword [sym.imp.GDI32.dll_RestoreDC]
lea rdx, [rsp + 0x190]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_EndPaint]
xor edx, edx
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetPainting_bool____ptr64
mov byte [rsi + 0x1b4], bpl
cmp byte [rsi + 0x19d], bpl
je 0x180040f86
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::Invalidate_void____ptr64
mov al, 1
jmp 0x18004267a
cmp qword [rsp + 0x60], rbp
je 0x180042678
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rbp
je 0x180042678
cmp qword [rsi + 0x88], rax
je 0x180040fd2
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rbp
jne 0x180040fb3
jmp 0x180042678
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x180042678
mov edx, ebp
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
cmp rax, rdi
je 0x180041011
add ebp, 1
lea rcx, [rsi + 0x378]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp ebp, eax
jl 0x180040fe6
jmp 0x180042678
mov edx, ebp
lea rcx, [rsi + 0x388]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
cmp rax, qword [rsi + 0x128]
je 0x180042678
mov edx, ebp
lea rcx, [rsi + 0x388]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov rdx, rax
xor r8d, r8d
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetFocus_class_DuiLib::CControlUI____ptr64__bool____ptr64
jmp 0x180042678
mov rbx, qword [rsi + 0x128]
cmp rbx, rbp
je 0x1800410d5
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 0x16
mov qword [rsp + 0x148], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov rcx, qword [rsi + 0x120]
cmp rcx, rbp
je 0x1800410e6
call sym.VKD.dll_public:_void___cdecl_DuiLib::CControlUI::NeedUpdate_void____ptr64
cmp byte [rsi + 0x1a1], bpl
je 0x1800410f7
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::Invalidate_void____ptr64
mov al, 1
jmp 0x18004267a
cmp byte [rsi + 0x11c], bpl
je 0x180042678
mov rcx, qword [rsp + 0x80]
mov qword [rcx], 3
mov al, 1
jmp 0x18004267a
sub ebx, 0x24
je 0x18004146c
sub ebx, 0x2a
je 0x18004143f
sub ebx, 0x2d
je 0x180041361
sub ebx, 0x85
je 0x1800412ad
sub ebx, 1
je 0x180041200
cmp ebx, 1
jne 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
mov rbx, qword [rsi + 0x128]
cmp rbx, rbp
je 0x180042678
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 5
mov qword [rsp + 0x148], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov word [rsp + 0x15c], ax
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
mov rbx, qword [rsi + 0x140]
cmp rbx, rbp
je 0x180042678
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 4
mov qword [rsp + 0x148], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov word [rsp + 0x15c], ax
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rcx, qword [rsi + 0x140]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov qword [rsi + 0x140], rbp
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
mov rbx, qword [rsi + 0x128]
cmp rbx, rbp
je 0x180042678
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 3
mov qword [rsp + 0x148], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov word [rsp + 0x15c], ax
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov r11, qword [rsi + 0x128]
mov qword [rsi + 0x140], r11
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
mov rcx, rsi
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CPaintManagerUI::IsCaptured_void____ptr64
cmp al, bpl
jne 0x180042678
movsx eax, di
mov dword [rsp + 0x80], eax
shr rdi, 0x10
movsx eax, di
mov dword [rsp + 0x84], eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rbx, qword [rsp + 0x80]
mov qword [rsi + 0x150], rbx
mov rdi, qword [rsi + 0x138]
cmp rdi, rbp
je 0x180042678
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], reloc.COMCTL32.dll_InitCommonControls
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x154], rbx
mov rax, qword [rsp + 0x60]
mov word [rsp + 0x15e], ax
mov qword [rsp + 0x168], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rcx, qword [rsi + 0x138]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov qword [rsi + 0x138], rbp
jmp 0x180042678
cmp rdi, rbp
je 0x180041465
mov r9, rdi
mov r8, qword [rsp + 0x60]
mov edx, 0x204e
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov al, 1
jmp 0x18004267a
mov eax, dword [rsi + 0x158]
cmp eax, ebp
jle 0x180041479
mov dword [rdi + 0x18], eax
mov eax, dword [rsi + 0x15c]
cmp eax, ebp
jle 0x180041486
mov dword [rdi + 0x1c], eax
mov eax, dword [rsi + 0x160]
cmp eax, ebp
jle 0x180041493
mov dword [rdi + 0x20], eax
mov eax, dword [rsi + 0x164]
cmp eax, ebp
jle 0x180042678
mov dword [rdi + 0x24], eax
jmp 0x180042678
cmp rdi, rbp
je 0x180042678
mov r9, rdi
mov r8, qword [rsp + 0x60]
mov edx, 0x2111
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov al, 1
jmp 0x18004267a
mov eax, 0x203
cmp ebx, eax
ja 0x180041c97
cmp ebx, eax
je 0x180041bca
mov eax, ebx
sub eax, 0x113
je 0x180041a6e
sub eax, 0x20
je 0x180041a3c
sub eax, 5
je 0x180041a3c
sub eax, 0xc8
je 0x1800416db
sub eax, 1
je 0x1800415e2
sub eax, 1
jne 0x180042678
movsx eax, di
mov dword [rsp + 0x70], eax
mov rax, rdi
shr rax, 0x10
cwde
mov dword [rsp + 0x74], eax
mov rbx, qword [rsp + 0x70]
mov qword [rsi + 0x150], rbx
cmp qword [rsi + 0x138], rbp
je 0x180042678
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::ReleaseCapture_void____ptr64
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], InitCommonControls
mov rax, qword [rsi + 0x138]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x154], rbx
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rcx, qword [rsi + 0x138]
mov qword [rsi + 0x138], rbp
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
jmp 0x180042678
cmp byte [rsi + 0x11c], bpl
jne 0x1800415f8
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SetFocus]
cmp qword [rsi + 0x120], rbp
je 0x180042678
movsx eax, di
mov dword [rsp + 0x70], eax
mov rax, rdi
shr rax, 0x10
cwde
mov dword [rsp + 0x74], eax
mov rbx, qword [rsp + 0x70]
mov qword [rsi + 0x150], rbx
mov rdx, rbx
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
cmp rax, rbp
je 0x180042678
mov rbp, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
cmp rax, rsi
jne 0x180042678
mov qword [rsi + 0x138], rbp
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x208]
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetCapture_void____ptr64
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], InitCommonControls
mov qword [rsp + 0x148], rbp
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x154], rbx
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rbp]
lea rdx, [rsp + 0x140]
mov rcx, rbp
call qword [rax + 0x238]
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
cmp byte [rsi + 0x320], bpl
jne 0x180041776
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [rsp + 0xe4]
call fcn.18008fd00
mov dword [rsp + 0xe0], 0x18
mov dword [rsp + 0xe4], 3
mov rax, qword [rsi + 0x88]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsi + 0xd0]
cmp rcx, rbp
jne 0x180041748
mov eax, dword [rsi + 0x118]
mov dword [rsp + 0xf0], eax
jmp 0x180041761
xor r9d, r9d
mov edx, 0x415
lea r8d, [r9 + 3]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [rsi + 0x320], 1
movsx eax, di
mov dword [rsp + 0x70], eax
mov rax, rdi
shr rax, 0x10
cwde
mov dword [rsp + 0x74], eax
mov rbx, qword [rsp + 0x70]
mov qword [rsi + 0x150], rbx
mov rdx, rbx
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x1800417bf
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
cmp rax, rsi
jne 0x180042678
mov dword [rsp + 0x140], ebp
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov qword [rsp + 0x154], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
call fcn.18003935c
mov word [rsp + 0x15e], ax
mov rcx, rsi
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CPaintManagerUI::IsCaptured_void____ptr64
cmp al, bpl
jne 0x1800419ca
mov rdx, rbx
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
mov rbx, rax
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x18004184b
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + 0x48]
cmp rax, rsi
jne 0x180042678
mov rax, qword [rsi + 0x130]
cmp rbx, rax
je 0x18004198c
cmp rax, rbp
je 0x18004198c
mov dword [rsp + 0x140], 0xa
mov qword [rsp + 0x148], rax
lea rcx, [rsi + 0x3c8]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
mov edx, eax
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiPtrArray::constructor_int____ptr64
nop
lea rcx, [rsi + 0x3c8]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
mov edx, eax
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiPtrArray::Resize_int____ptr64
lea rcx, [rsi + 0x3c8]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
movsxd rdi, eax
shl rdi, 3
lea rcx, [rsi + 0x3c8]
call sym.VKD.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rbx, rax
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call fcn.1800898c0
mov ebx, ebp
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x180041936
mov edx, ebx
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov r8, qword [rax]
lea rdx, [rsp + 0x140]
mov rcx, rax
call qword [r8 + 0x238]
add ebx, 1
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp ebx, eax
jl 0x1800418fe
mov rcx, qword [rsi + 0x130]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov qword [rsi + 0x130], rbp
mov rcx, qword [rsi + 0xd0]
cmp rcx, rbp
je 0x180041977
lea r9, [rsi + 0xd8]
xor r8d, r8d
mov edx, 0x411
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0xe0]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiPtrArray::destructor_void____ptr64
mov rbx, qword [rsp + 0x80]
cmp rbx, qword [rsi + 0x130]
je 0x1800419d2
cmp rbx, rbp
je 0x1800419d2
mov dword [rsp + 0x140], InitCommonControls
mov qword [rsp + 0x148], rbx
mov rax, qword [rbx]
lea rdx, [rsp + 0x140]
mov rcx, rbx
call qword [rax + 0x238]
mov qword [rsi + 0x130], rbx
jmp 0x1800419d2
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsi + 0x138]
cmp rcx, rbp
je 0x180041a07
mov dword [rsp + 0x140], 9
mov qword [rsp + 0x148], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
jmp 0x180042678
cmp rbx, rbp
je 0x180042678
mov dword [rsp + 0x140], 9
mov qword [rsp + 0x148], rbx
mov rax, qword [rbx]
lea rdx, [rsp + 0x140]
mov rcx, rbx
call qword [rax + 0x238]
jmp 0x180042678
cmp rdi, rbp
je 0x180042678
lea edx, [rbx + 0x2000]
mov r9, rdi
mov r8, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov al, 1
jmp 0x18004267a
mov rbx, qword [rsp + 0x60]
cmp bx, 0x2000
jne 0x180041ad1
cmp cl, bpl
je 0x180041ad1
lea rcx, [rsi + 0x1b8]
call qword [sym.imp.USER32.dll_IsRectEmpty]
cmp eax, ebp
jne 0x180041ad1
mov qword [rsp + 0xd0], rbp
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_IsIconic]
cmp eax, ebp
jne 0x180042678
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xf]
mov rcx, rsi
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CPaintManagerUI::MessageHandler_unsigned_int__unsigned_long_long_unsigned___int64___long_long___int64___long_long___int64_____ptr64____ptr64
jmp 0x180042678
mov dword [rsp + 0xb0], ebp
lea rcx, [rsi + 0x338]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x180042678
mov ecx, ebp
mov edx, ecx
lea rcx, [rsi + 0x338]
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsi + 0x88]
cmp qword [rax + 0x10], rcx
jne 0x180041b1f
movzx ecx, bx
cmp dword [rax + 0x18], ecx
jne 0x180041b1f
cmp byte [rax + 0x1c], bpl
je 0x180041b44
add dword [rsp + 0xb0], 1
lea rcx, [rsi + 0x338]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
mov ecx, dword [rsp + 0xb0]
cmp ecx, eax
jge 0x180042678
jmp 0x180041aee
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 0x18
mov rbx, qword [rsp + 0xd0]
mov rax, qword [rbx]
mov qword [rsp + 0x148], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
mov eax, dword [rbx + 8]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
jmp 0x180042678
cmp byte [rsi + 0x11c], bpl
jne 0x180041be0
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SetFocus]
movsx eax, di
mov dword [rsp + 0x70], eax
shr rdi, 0x10
movsx eax, di
mov dword [rsp + 0x74], eax
mov rbx, qword [rsp + 0x70]
mov qword [rsi + 0x150], rbx
mov rdx, rbx
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
mov rdi, rax
cmp rax, rbp
je 0x180042678
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
cmp rax, rsi
jne 0x180042678
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CPaintManagerUI::SetCapture_void____ptr64
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], InitCommonControls
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x154], rbx
mov rax, qword [rsp + 0x60]
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rdi]
lea rdx, [rsp + 0x140]
mov rcx, rdi
call qword [rax + 0x238]
mov qword [rsi + 0x138], rdi
jmp 0x180042678
sub ebx, 0x204
je 0x180042599
sub ebx, 6
je 0x180042476
sub ebx, 0x97
je 0x1800420b6
sub ebx, 2
je 0x180041f4a
sub ebx, 0x75
je 0x180041e0b
cmp ebx, 0x7ce9
jne 0x180042678
mov byte [rsi + 0x324], bpl
lea rdi, [rsi + 0x3a8]
xor edx, edx
mov rcx, rdi
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::GetAt_int_const___ptr64
mov rbx, rax
cmp rax, rbp
je 0x180041dca
lea rax, [rsi + 0x328]
mov qword [rsp + 0xd0], rax
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rdi
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CDuiPtrArray::Remove_int__int____ptr64
mov rcx, qword [rbx + 0x110]
cmp rcx, rbp
je 0x180041d44
add rcx, 0x48
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CEventSource::operator_bool_void____ptr64
cmp al, bpl
je 0x180041d44
mov rcx, qword [rbx + 0x110]
add rcx, 0x48
mov rdx, rbx
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CEventSource::operator___void____ptr64____ptr64
mov edi, ebp
lea rcx, [rsi + 0x328]
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x180041d88
mov rsi, qword [rsp + 0xd0]
mov edx, edi
mov rcx, rsi
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov r8, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [r8]
add edi, 1
mov rcx, rsi
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp edi, eax
jl 0x180041d5e
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x110], rbx
lea rcx, [rbx + 0x88]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64
nop
mov rcx, rbx
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64
mov rcx, rbx
call fcn.180087ce0
xor edx, edx
lea rdi, [rsi + 0x3a8]
mov rcx, rdi
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::GetAt_int_const___ptr64
mov rbx, rax
cmp rax, rbp
jne 0x180041d09
add rsi, 0x398
mov rcx, rsi
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp eax, ebp
jle 0x180041dfe
mov edx, ebp
mov rcx, rsi
call sym.VKD.dll_public:_void____ptr64___cdecl_DuiLib::CDuiPtrArray::operator___int_const___ptr64
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
add ebp, 1
mov rcx, rsi
call sym.VKD.dll_public_virtual:_int___cdecl_DuiLib::CListContainerElementUI::GetIndex_void_const___ptr64
cmp ebp, eax
jl 0x180041ddd
mov rcx, rsi
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiPtrArray::Empty_void____ptr64
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SaveDC]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsi + 0x120]
mov r10, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0xe0]
mov rdx, rbx
call qword [r10 + 0x270]
test dil, 0x10
je 0x180041f38
mov edx, 5
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x180041f38
or rdi, 2
mov dword [rsp + 0x90], ebp
xor ecx, ecx
mov dword [rsp + 0x94], ecx
mov dword [rsp + 0x98], ecx
mov dword [rsp + 0x9c], ecx
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rsp + 0x90]
mov rdx, qword [rsi + 0x88]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov r8d, dword [rsp + 0x94]
neg r8d
mov edx, dword [rsp + 0x90]
neg edx
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov r9, rdi
mov r8, rbx
mov edx, 0x317
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 2
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x80], rax
cmp rax, rbp
jne 0x180041e8f
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
mov rcx, qword [rsi + 0xd0]
cmp rcx, rbp
je 0x180041f78
lea r9, [rsi + 0xd8]
xor r8d, r8d
mov edx, 0x411
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rsi + 0x320], bpl
je 0x1800420aa
mov dword [rsp + 0x60], ebp
xor eax, eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0xe0], ebp
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0xe8], eax
mov dword [rsp + 0xec], eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_IsIconic]
cmp eax, ebp
jne 0x180042091
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [rsi + 0x88]
jne 0x180042091
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebp
je 0x180042091
movzx r9d, word [rsp + 0x64]
shl r9d, 0x10
movzx eax, word [rsp + 0x60]
or r9, rax
xor r8d, r8d
mov edx, 0x84
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
jne 0x180042076
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_ScreenToClient]
movzx r9d, word [rsp + 0x64]
shl r9d, 0x10
movzx eax, word [rsp + 0x60]
or r9, rax
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1800420aa
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1800420aa
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SendMessageW]
mov byte [rsi + 0x320], bpl
jmp 0x180042678
cmp qword [rsi + 0x120], rbp
je 0x180042678
mov byte [rsi + 0x320], bpl
movsx eax, di
mov dword [rsp + 0x80], eax
mov rax, rdi
shr rax, 0x10
cwde
mov dword [rsp + 0x84], eax
mov rbx, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
mov qword [rsp + 0xd0], rax
cmp rax, rbp
je 0x180042678
cmp qword [rsi + 0x130], rbp
je 0x18004218c
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], InitCommonControls
mov rax, qword [rsi + 0x130]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov qword [rsp + 0x154], rbx
call fcn.18003935c
mov word [rsp + 0x15e], ax
mov rcx, qword [rsi + 0x130]
mov rax, qword [rcx]
lea rdx, [rsp + 0x140]
call qword [rax + 0x238]
mov rbx, qword [rsp + 0xd0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x190]
mov rcx, rbx
call qword [rax + 0x158]
nop
lea rcx, [rsp + 0x190]
call sym.VKD.dll_public:_bool___cdecl_DuiLib::CDuiString::IsEmpty_void_const___ptr64
cmp al, bpl
je 0x1800421cf
lea rcx, [rsp + 0x190]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64
mov al, 1
jmp 0x18004267a
lea rcx, [rsp + 0x190]
call sym.VKD.dll_public:_static_void___cdecl_DuiLib::CPaintManagerUI::ProcessMultiLanguageTokens_class_DuiLib::CDuiString____ptr64_
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rsi + 0xd8]
call fcn.18008fd00
mov dword [rsi + 0xd8], 0x40
mov dword [rsi + 0xdc], 1
mov rax, qword [rsi + 0x88]
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0xe8], rax
mov rax, qword [sym.VKD.dll_struct_HINSTANCE______ptr64___ptr64_DuiLib::CPaintManagerUI::m_hInstance]
mov qword [rsi + 0x100], rax
lea rcx, [rsp + 0x190]
call sym.VKD.dll_public:_wchar_t_const____ptr64___cdecl_DuiLib::CDuiString::operator_wchar_t_const____ptr64_void_const___ptr64
mov qword [rsi + 0x108], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x80]
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsi + 0xf0], xmm0
cmp qword [rsi + 0xd0], rbp
jne 0x18004232c
mov qword [rsp + 0x58], rbp
mov rax, qword [sym.VKD.dll_struct_HINSTANCE______ptr64___ptr64_DuiLib::CPaintManagerUI::m_hInstance]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov rax, qword [rsi + 0x88]
mov qword [rsp + 0x40], rax
mov eax, 0x80000000
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9d, 0x80000003
xor r8d, r8d
lea rdx, str.tooltips_class32
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi + 0xd0], rax
lea r9, [rsi + 0xd8]
xor r8d, r8d
mov edx, 0x432
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x170]
movsxd r9, eax
xor r8d, r8d
mov edx, 0x418
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsi + 0xd8]
xor r8d, r8d
mov edx, 0x436
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsi + 0xd8]
mov edx, 0x411
mov r8d, 1
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsi + 0x148]
cmp rax, rbp
jne 0x180042344
mov qword [rsi + 0x148], rbx
jmp 0x180042434
cmp rax, rbx
jne 0x1800423d5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x170]
cmp dword [rsi + 0xcc], eax
je 0x180042398
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x170]
movsxd r9, eax
xor r8d, r8d
mov edx, 0x418
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x170]
mov dword [rsi + 0xcc], eax
lea r9, [rsi + 0xd8]
xor r8d, r8d
mov edx, 0x436
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsi + 0xd8]
mov edx, 0x411
mov r8d, 1
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180042434
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x170]
movsxd r9, eax
xor r8d, r8d
mov edx, 0x418
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsi + 0xd8]
xor r8d, r8d
mov edx, 0x436
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsi + 0xd8]
mov edx, 0x411
mov r8d, 1
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx r9d, word [rsp + 0x84]
shl r9d, 0x10
movzx eax, word [rsp + 0x80]
or r9, rax
xor r8d, r8d
mov edx, 0x412
mov rcx, qword [rsi + 0xd0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0x190]
call sym.VKD.dll_public:_void___cdecl_DuiLib::CDuiString::destructor_void____ptr64
mov al, 1
jmp 0x18004267a
cmp qword [rsi + 0x120], rbp
je 0x180042678
movsx eax, di
mov dword [rsp + 0x80], eax
mov rax, rdi
shr rax, 0x10
cwde
mov dword [rsp + 0x84], eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rsp + 0x80]
mov qword [rsi + 0x150], rdx
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
mov rbx, rax
cmp rax, rbp
je 0x180042678
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
cmp rax, rsi
jne 0x180042678
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], 0x12
mov qword [rsp + 0x148], rbx
mov rax, qword [rsp + 0x60]
shr rax, 0x10
cmp ax, bp
setl bpl
mov qword [rsp + 0x160], rbp
mov qword [rsp + 0x168], rdi
mov rax, qword [rsi + 0x150]
mov qword [rsp + 0x154], rax
call fcn.18003935c
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rbx]
lea rdx, [rsp + 0x140]
mov rcx, rbx
call qword [rax + 0x238]
movzx r9d, word [rsi + 0x154]
shl r9d, 0x10
movzx eax, word [rsi + 0x150]
or r9, rax
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x180042678
cmp byte [rsi + 0x11c], bpl
jne 0x1800425af
mov rcx, qword [rsi + 0x88]
call qword [sym.imp.USER32.dll_SetFocus]
movsx eax, di
mov dword [rsp + 0x70], eax
mov rax, rdi
shr rax, 0x10
cwde
mov dword [rsp + 0x74], eax
mov rbx, qword [rsp + 0x70]
mov qword [rsi + 0x150], rbx
mov rdx, rbx
mov rcx, rsi
call sym.VKD.dll_public:_class_DuiLib::CControlUI____ptr64___cdecl_DuiLib::CPaintManagerUI::FindControl_struct_tagPOINT_const___ptr64
cmp rax, rbp
je 0x180042678
mov rbp, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
cmp rax, rsi
jne 0x180042678
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x208]
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x148]
call fcn.18008fd00
mov dword [rsp + 0x140], InitCommonControls
mov qword [rsp + 0x148], rbp
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x154], rbx
mov word [rsp + 0x15e], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x150], eax
mov rax, qword [rbp]
lea rdx, [rsp + 0x140]
mov rcx, rbp
call qword [rax + 0x238]
mov qword [rsi + 0x138], rbp
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.180087cc0
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rdi
pop rsi
pop rbp
pop rbx
ret