Function at 0x1400426a4
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x140096008]
xor rax, rsp
mov qword [rbp + 0xf], rax
movsxd rbx, edx
xor r15d, r15d
and dword [rbp - 0x71], r15d
mov dword [rbp - 0x75], ebx
mov dword [rbp - 0x59], r9d
mov dword [rbp - 0x6d], r8d
mov qword [rbp - 0x39], rcx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
mov eax, dword [rax + 0x64]
mov rcx, qword [rdi + 0x14]
mov dword [rbp - 0x4d], eax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
mov ecx, dword [rax + 0x10]
dec ecx
cmp ebx, ecx
jle 0x140042715
or r15d, 0xffffffff
jmp 0x140042c10
cmp dword [rax + 0x14], 0xffffffff
je 0x140042739
mov rcx, qword [rbp - 0x39]
call fcn.14004247c
mov r15d, eax
cmp eax, 4
je 0x140042c10
cmp eax, 1
je 0x140042c10
imul rbx, rbx, 0x34
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rbx + rsi + 0x1c]
movdqu xmmword [rbp - 0x31], xmm0
mov eax, dword [rbx + rsi + 0x44]
mov r8d, dword [rdi + 4]
mov edx, dword [rdi]
mov dword [rbp - 0x49], eax
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, qword [rdi + 0x2c]
call qword [sym.imp.USER32.dll_GetDC]
test dword [rbx + rsi + 0x40], 0x1000
mov r14d, 2
mov r12, rax
je 0x1400427a1
mov r8d, r14d
lea rdx, [rbp - 0x31]
mov rcx, rax
call qword [sym.imp.GDI32.dll_LPtoDP]
inc dword [rbp - 0x31]
lea rdx, [rbp - 0x31]
inc dword [rbp - 0x2d]
mov r8d, r14d
mov rcx, r12
call qword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [rbp - 0x29]
lea rdx, [rsp + 0x30]
sub eax, dword [rbp - 0x31]
mov rcx, r12
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x25]
sub eax, dword [rbp - 0x2d]
mov dword [rbp - 0x7d], eax
call fcn.14007c944
test byte [rbx + rsi + 0x40], 4
je 0x1400427cc
inc dword [rsp + 0x30]
test byte [rbx + rsi + 0x40], 8
mov r13d, dword [rbp - 0x7d]
je 0x1400427de
inc r13d
mov dword [rbp - 0x7d], r13d
mov rax, qword [rsp + 0x30]
lea rdx, [rbp - 0x69]
mov rcx, r12
mov qword [rbp - 0x69], rax
call fcn.14007c9ac
mov eax, dword [rbp - 0x69]
lea rdx, [rbp - 0x31]
sub eax, dword [rbp - 0x29]
mov r8d, 1
add eax, dword [rbp - 0x31]
mov rcx, r12
mov dword [rbp - 0x61], eax
mov eax, dword [rbp - 0x65]
sub eax, dword [rbp - 0x25]
add eax, dword [rbp - 0x2d]
mov dword [rbp - 0x79], eax
call qword [sym.imp.GDI32.dll_LPtoDP]
lea rdx, [rbp - 0x41]
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetViewportOrgEx]
mov eax, dword [rbp - 0x41]
lea r14, [rdi + 0x24]
neg eax
mov dword [rbp - 0x51], eax
mov eax, dword [rbp - 0x3d]
neg eax
test dword [rbx + rsi + 0x40], 0x2000
mov dword [rbp - 0x69], eax
je 0x140042935
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r14]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x2c]
call qword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [rbx + rsi + 0x44]
mov rcx, qword [rdi + 0x1c]
and dword [rbp - 0x79], 0
and dword [rbp - 0x6d], 0
call fcn.140078d84
movups xmm1, xmmword [rbx + rsi + 0x1c]
mov qword [rbp - 0x59], rax
movups xmmword [rbp - 0x21], xmm1
movd ecx, xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movd edx, xmm0
sub edx, ecx
movsxd rcx, dword [rax + 8]
sub edx, dword [rax + 0x24]
mov r8d, dword [rcx + rax + 0x74]
test r8d, r8d
je 0x1400428cc
cmp r8d, 6
jne 0x1400428ce
mov eax, edx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
jmp 0x1400428ce
xor edx, edx
add edx, dword [rdi]
lea rcx, [rbp - 0x21]
mov r8d, dword [rdi + 4]
call qword [sym.imp.USER32.dll_OffsetRect]
mov rdx, qword [rbp - 0x59]
mov ecx, dword [rdx + 0x24]
add ecx, dword [rbp - 0x21]
mov dword [rbp - 0x19], ecx
mov ecx, dword [rdx + 0x28]
add ecx, dword [rbp - 0x1d]
mov dword [rbp - 0x15], ecx
mov rcx, qword [rdi + 0x1c]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [0x1400970b0]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea rdx, [rbp - 0x21]
mov rcx, r12
mov rbx, rax
call fcn.14007a330
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rbp - 0x71], 1
jmp 0x140042a55
test byte [rbx + rsi + 0x40], 0xc
je 0x140042975
mov eax, dword [rbp - 0x79]
lea rcx, [rbp - 0x11]
mov r9d, dword [rbp - 0x61]
mov edx, 4
add eax, 4
add r9d, 4
mov r8d, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetRect]
mov rcx, qword [r14]
lea r9, [rbp - 0x11]
xor r8d, r8d
mov edx, 0x476
call qword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [rbx + rsi + 0x20]
xor r8d, r8d
add ax, word [rdi + 4]
movzx edx, ax
movzx eax, word [rbx + rsi + 0x1c]
add ax, word [rdi]
movzx ecx, ax
shl edx, 0x10
or edx, ecx
mov rcx, qword [r14]
movsxd r9, edx
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rbp - 0x2d]
mov edx, dword [rbp - 0x31]
mov rcx, qword [r14]
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x469
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [rbx + rsi + 0x44]
mov rcx, qword [rdi + 0x1c]
call fcn.140078d84
mov rbx, rax
mov ecx, dword [rax + 0x20]
mov eax, dword [rbp - 0x75]
cmp eax, dword [rsi + 0x18]
je 0x1400429f8
or ecx, 0x10
jmp 0x140042a00
test cl, 0x10
je 0x140042a03
xor ecx, 0x10
mov dword [rbx + 0x20], ecx
mov eax, dword [rdi + 0x10]
test al, 8
je 0x140042a13
or ecx, 8
mov dword [rbx + 0x20], ecx
mov eax, dword [rdi + 0x10]
mov rcx, qword [r14]
mov r8d, eax
and r8d, 0x10
mov r9, rbx
shl r8, 9
mov edx, 0x470
or r8, 0x102
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rdi + 0x1c]
mov r15, rax
mov ebx, dword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test bl, 4
mov eax, 1
cmove eax, dword [rbp - 0x59]
mov dword [rbp - 0x79], eax
mov rcx, qword [rdi + 0x2c]
lea rdx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rdi + 0x2c]
mov rdx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
xor r12d, r12d
cmp dword [rbp + 0x7f], r12d
je 0x140042a84
mov rcx, qword [r14]
xor edx, edx
call qword [sym.imp.USER32.dll_ValidateRect]
mov eax, dword [rbp - 0x75]
mov ecx, dword [rsp + 0x30]
mov dword [rsi + 0x14], eax
mov r10d, dword [rbp - 0x2d]
mov esi, r10d
mov r9d, dword [rbp - 0x31]
add ecx, r9d
sub esi, dword [rbp - 0x1d]
sub esi, 0xa
mov r8d, dword [rbp - 0x15]
lea edx, [r10 + r13]
mov dword [rbp - 0x29], ecx
mov dword [rbp - 0x25], edx
js 0x140042ac6
mov eax, edx
sub eax, r8d
add eax, 0xa
jns 0x140042ac1
mov esi, r12d
jmp 0x140042ac6
cmp eax, esi
cmovl esi, eax
sub r8d, dword [rbp - 0x1d]
sub edx, r10d
cmp r8d, edx
jge 0x140042af1
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_IntersectRect]
mov ecx, dword [rbp - 0x29]
test eax, eax
mov r9d, dword [rbp - 0x31]
cmovne esi, r12d
mov edx, dword [rbp - 0x19]
mov ebx, r9d
sub ebx, dword [rbp - 0x21]
sub ebx, 0xa
js 0x140042b12
mov eax, ecx
sub eax, edx
add eax, 0xa
jns 0x140042b0d
mov ebx, r12d
jmp 0x140042b12
cmp eax, ebx
cmovl ebx, eax
sub edx, dword [rbp - 0x21]
sub ecx, r9d
cmp edx, ecx
jge 0x140042b34
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
cmovne ebx, r12d
test byte [rdi + 0x10], 0x10
jne 0x140042b84
test ebx, ebx
je 0x140042b5f
mov r8d, dword [rbp - 0x51]
xor r9d, r9d
mov rcx, qword [rdi + 0x2c]
add r8d, ebx
shl r8d, 0x10
mov edx, 0x114
or r8, 4
call qword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
je 0x140042b84
mov r8d, dword [rbp - 0x69]
xor r9d, r9d
mov rcx, qword [rdi + 0x2c]
add r8d, esi
shl r8d, 0x10
mov edx, 0x115
or r8, 4
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x140042ba3
cmp dword [rbp - 0x71], r12d
jne 0x140042ba3
mov rcx, qword [r14]
lea edx, [rax + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rdi + 0x64], 2
jne 0x140042bbd
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x46f
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rbp - 0x79], r12d
je 0x140042bda
mov rcx, qword [r14]
mov r9d, 0x7fff0000
xor r8d, r8d
mov edx, 0x478
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rbp - 0x6d], r12d
je 0x140042bf4
mov rcx, qword [r14]
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rbp - 0x4d], 2
jne 0x140042c10
movsxd r8, dword [rbp - 0x49]
xor r9d, r9d
mov rcx, qword [rdi + 0x2c]
mov edx, 0x4d1
call qword [sym.imp.USER32.dll_PostMessageA]
mov rcx, qword [rdi + 0x14]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, r15d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14008a940
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret