Function at 0x100977c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c8a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x70], eax
cmp byte [0x101c6cf8], 0
mov esi, dword [ebx + 8]
mov dword [ebp - 0x8c], esi
jne 0x10097cba
mov ecx, dword [eax + 0x1c0]
push 0x71
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x84], eax
call esi
push 4
push eax
call esi
push eax
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov ecx, dword [esi + 0x1cc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
call edx
mov dword [ebp - 0x7c], eax
xor edx, edx
mov eax, dword [ebx + 0x10]
xor edi, edi
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x88], ecx
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x7c], edx
jle 0x10097cb1
mov ecx, dword [esi + 0x1cc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x88]
mov esi, eax
mov eax, dword [ebx + 0x10]
movups xmm0, xmmword [esi + 0x18]
movups xmmword [ebp - 0x64], xmm0
test ecx, ecx
jne 0x100978af
test eax, eax
je 0x10097b54
push eax
push ecx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10097b54
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + 0x1cc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
cmp eax, dword [ebp - 0x78]
je 0x10097cb1
cmp dword [esi + 4], 0xa
je 0x100978f6
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x78]
mov ecx, dword [eax + 0x1cc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
cmp dword [esi + 4], 0
mov edx, dword [esi + 0x64]
jne 0x10097b4c
mov ecx, dword [edx + 8]
cmp ecx, 2
je 0x10097a1a
cmp ecx, 1
je 0x10097a1a
cmp ecx, 5
je 0x10097a1a
cmp ecx, 0x13
je 0x10097963
cmp ecx, 3
je 0x10097963
cmp ecx, 0x33
je 0x10097963
cmp ecx, 9
jne 0x100979c4
mov eax, dword [ebp - 0x70]
push 0x24
mov ecx, dword [eax + 0x1c0]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test eax, eax
je 0x10097b4c
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x54]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push edi
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x84], 1
movups xmm0, xmmword [esi + 0x18]
movups xmmword [ebp - 0x24], xmm0
jne 0x10097b6c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
add eax, 5
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x68], eax
jmp 0x10097b86
cmp ecx, 0x19
jne 0x100979d0
xor edi, edi
jmp 0x10097b54
cmp ecx, 0xe
jne 0x100979dc
xor edi, edi
jmp 0x10097b54
cmp ecx, 0xb
jne 0x100979e8
xor edi, edi
jmp 0x10097b54
cmp ecx, 0x2d
jne 0x100979f4
xor edi, edi
jmp 0x10097b54
cmp ecx, 0x2e
jne 0x10097a00
xor edi, edi
jmp 0x10097b54
cmp ecx, 0x15
jne 0x10097963
cmp dword [edx + 0xc], 0x22
jne 0x10097963
xor edi, edi
jmp 0x10097b54
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x44]
mov eax, dword [eax + 0x1c8]
add eax, 0x208
push eax
call fcn.10041a60
xor ecx, ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push ecx
lea eax, [esi + 0x84]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.10041c00
push 1
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x68], 0x27
call fcn.10049bd0
cmp eax, 0xffffffff
je 0x10097aa5
mov dword [ebp - 0x68], 0x27
push 1
push eax
lea ecx, [ebp - 0x44]
call fcn.10041b50
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x44]
call fcn.10049bd0
cmp eax, 0xffffffff
jne 0x10097a85
push 1
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x27
push eax
lea ecx, [ebp - 0x2c]
call fcn.10049bd0
cmp eax, 0xffffffff
je 0x10097ae8
mov dword [ebp - 0x68], 0x27
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.10041b50
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10049bd0
cmp eax, 0xffffffff
jne 0x10097ac8
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10097b26
test dx, dx
je 0x10097b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10097b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x10097b00
xor eax, eax
jmp 0x10097b2b
sbb eax, eax
or eax, 1
test eax, eax
lea ecx, [ebp - 0x2c]
mov eax, 1
cmove edi, eax
call fcn.100420c0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.100420c0
test edi, edi
jne 0x10097963
mov edx, dword [ebp - 0x78]
inc edx
mov dword [ebp - 0x78], edx
cmp edx, dword [ebp - 0x7c]
jge 0x10097cb1
mov esi, dword [ebp - 0x70]
jmp 0x10097882
mov eax, dword [ebp - 0x1c]
add eax, 5
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x101c74a0]
test eax, eax
jne 0x10097bae
push 0x90
call fcn.10109ed3
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, eax
call fcn.1008d740
mov dword [0x101c74a0], eax
push esi
mov ecx, eax
call fcn.10092210
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x10097ca1
mov eax, dword [0x101c74a4]
test eax, eax
jne 0x10097be6
push 0xa8
call fcn.10109ed3
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, eax
call fcn.100bf7b0
mov dword [0x101c74a4], eax
mov ecx, eax
call fcn.100c0a10
cmp dword [0x101c74a0], 0
jne 0x10097c12
push 0x90
call fcn.10109ed3
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, eax
call fcn.1008d740
mov dword [0x101c74a0], eax
push 6
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [0x101c74a0]
test eax, eax
jne 0x10097c48
push 0x90
call fcn.10109ed3
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, eax
call fcn.1008d740
mov dword [0x101c74a0], eax
push dword [edi + 0x14]
mov ecx, eax
call fcn.1008de40
mov esi, dword [0x101c74a0]
test esi, esi
jne 0x10097c7b
push 0x90
call fcn.10109ed3
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, eax
call fcn.1008d740
mov esi, eax
mov dword [0x101c74a0], esi
mov edi, dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0x8c], 0
je 0x10097ca1
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, 1
jmp 0x10097cbc
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc