Function at 0x421560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a7074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
movzx edi, bx
shr ebx, 0x10
push dword [esi + 0xd0]
mov dword [ebp - 0x18], edi
mov dword [esi + 0xa8], ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4215a3
mov ecx, esi
call fcn.00424740
jmp 0x421a7c
cmp dword [esi + 0xac], 0
je 0x4215ff
cmp dword [esi + 0xbc], 0
lea edi, [esi + 0xbc]
je 0x4215ea
push dword [esi + 0xd0]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
call eax
test eax, eax
jne 0x4215ea
mov ecx, dword [edi]
mov edx, dword [ebp - 0x18]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
push edi
lea ecx, [esi + 0xb0]
call fcn.004255c0
mov dword [edi], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0xac], 0
jmp 0x421a7c
push ebx
lea ecx, [esi + 0x48]
push edi
call fcn.00411360
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x20], eax
cmp eax, 8
jne 0x4218e8
cmp dword [esi + 0x17c], 0
jle 0x421633
call fcn.0042a1e0
test eax, eax
jne 0x421659
cmp dword [esi + 0x17c], eax
jne 0x4218d9
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4218d9
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
call eax
test eax, eax
je 0x4218d9
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0xbc]
mov edx, dword [eax + 0x78]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x421682
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0x17c]
test eax, eax
jne 0x42168f
push edx
jmp 0x421697
jle 0x4216a2
push dword [esi + 0x188]
call fcn.00423a70
mov dword [esi + 0xbc], eax
cmp dword [esi + 0xbc], 0
je 0x421884
push dword [esi + 4]
mov dword [esi + 0xac], 1
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x421710
mov ecx, dword [esi + 0xbc]
mov edx, dword [eax + 0x224]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
cmp eax, method.Graph.virtual_20
jne 0x421a91
mov dword [ecx + 0x18], edx
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xbc]
mov edx, dword [eax + 0x210]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
cmp eax, method.Graph.virtual_16
jne 0x421a99
mov dword [ecx + 0x14], edx
mov ecx, dword [esi + 0xbc]
lea edi, [esi + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
cmp eax, method.Graph.virtual_40
jne 0x421aa1
movups xmm0, xmmword [edi]
movups xmmword [ecx + 0x1c], xmm0
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 0xbc]
lea eax, [ecx + 1]
mov dword [esi + 0xc0], eax
mov eax, dword [edx]
mov eax, dword [eax + 8]
cmp eax, method.Graph.virtual_8
jne 0x421aa9
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0xbc]
mov edx, dword [ebp - 0x18]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi + 0x17c]
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x42177f
cmp ecx, 0x505
je 0x421795
test eax, eax
jle 0x42184f
cmp dword [esi + 0x188], 0x505
jne 0x42184d
mov eax, dword [ebp - 0x18]
mov edi, dword [edi]
mov edx, dword [esi + 0x58]
cmp edi, edx
mov dword [ebp - 0x14], eax
lea ecx, [eax + 0x1e]
mov dword [ebp - 0x10], ebx
lea eax, [ebx + 0x1e]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov eax, edx
cmovg eax, edi
cmp ecx, eax
jle 0x4217c2
cmp edi, edx
cmovg edx, edi
mov dword [ebp - 0xc], edx
mov edx, dword [esi + 0x54]
lea edi, [ebx + 0x1e]
mov ecx, dword [esi + 0x5c]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp edi, eax
jle 0x4217de
cmp edx, ecx
cmovg ecx, edx
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xcc]
call fcn.0041edf0
push 0x580ef8
push dword [esi + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x114]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [ebp - 0x18]
push 0x44
push 0x28
push 0x64
push ebx
push edx
push 0
push dword [esi + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 0xd0]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x421a7c
test eax, eax
jne 0x421856
cmp ecx, 0xffffffff
jne 0x42186b
test eax, eax
jle 0x421a7c
cmp dword [esi + 0x188], 0
je 0x421a7c
push 0x7f03
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x421a7c
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4218c8
mov eax, dword [esi + 0xb4]
sub eax, dword [esi + 0xb0]
sar eax, 2
test eax, eax
jne 0x4218d9
push 0x7f86
push eax
call edi
push eax
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov edi, dword [ebp - 0x20]
mov dword [esi + 0x174], 1
jmp 0x421914
push 0x6b
push dword [0x5bf3a4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, dword [ebp - 0x20]
mov dword [esi + 0x174], 1
jmp 0x421914
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x42190a
cmp edi, 0xffffffff
jne 0x42190a
mov dword [esi + 0x174], 1
jmp 0x421914
mov dword [esi + 0x174], 0
cmp dword [esi + 0xbc], 0
jne 0x421a7c
mov eax, dword [esi + 0xb4]
sub eax, dword [esi + 0xb0]
sar eax, 2
test eax, eax
jne 0x421a7c
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x421953
cmp dword [eax + 0x78], 0
jge 0x421953
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
jns 0x4219a7
cmp byte [esi + 0x9d], 0
jne 0x42198e
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x50]
push ebx
push edx
push ebx
push edx
push eax
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], ebx
mov word [esi + 0x9c], 0x101
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x4219fe
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push dword [0x5bf3a4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x421a0d
cmp byte [esi + 0x9d], 0
je 0x4219fe
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4219cf
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4219cf
cmp dword [esi + 0x17c], eax
je 0x4219e1
cmp dword [esi + 0x17c], 0
jle 0x4219fe
call fcn.0042a1e0
test eax, eax
je 0x4219fe
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x48]
push ebx
push edx
sub esp, 8
push dword [esi + 4]
call fcn.00411450
mov dword [esi + 0x170], 0
push 1
push 0
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
cmp dword [esi + 0x14c], 0
je 0x421a7c
mov eax, dword [esi + 0x134]
sub eax, dword [esi + 0x12c]
test eax, eax
jle 0x421a7c
lea edi, [esi + 0x50]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x421a7c
movups xmm0, xmmword [esi + 0x12c]
push 1
push 0
push dword [esi + 4]
movups xmmword [edi], xmm0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0xb4]
sub eax, dword [esi + 0xb0]
sar eax, 2
test eax, eax
jne 0x421a72
push 0x7f86
push eax
call ebx
push eax
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov dword [esi + 0x170], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050a055
mov esp, ebp
pop ebp
ret 0x10
push edx
call eax
jmp 0x4216eb
push edx
call eax
jmp 0x421710
push edi
call eax
jmp 0x421730
push ecx
mov ecx, edx
call eax
jmp 0x421758