Function at 0x4b6ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x1434], 0
jne 0x4b7aa9
cmp byte [ebx + 0x1435], 0
je 0x4b7aa9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4b7aa9
push esi
mov byte [ebx + 0x1434], 1
mov byte [ebx + 0x1439], 1
mov ecx, dword [0x5dd1d0]
push edi
call fcn.0043dfb0
mov ecx, eax
test ecx, ecx
je 0x4b70e7
mov eax, dword [ecx + 0x64]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x64]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x64]
call esi
cmp byte [eax], 0
je 0x4b70e7
cmp byte [ebx + 0x1436], 0
jne 0x4b7120
push 0
mov byte [ebx + 0x1436], 1
push dword [ebx + 0x139c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [ebx + 0x1398]
call fcn.0047b6b0
push 0
push dword [ebx + 0x13f0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0xd4], 1
call dword [0x555370]
mov edi, eax
lea ecx, [ebp - 0xd4]
push ecx
mov eax, dword [edi + 0x130]
mov esi, dword [eax]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x130]
call esi
jmp 0x4b7120
cmp byte [ebx + 0x1436], 0
je 0x4b7120
push 5
push dword [ebx + 0x139c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea ecx, [ebx + 0x1398]
call fcn.0047b6b0
push 5
push dword [ebx + 0x13f0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebx + 0x1436], 0
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004b7ac0
call dword [0x555370]
lea ecx, [eax + 0x130]
mov eax, dword [ecx + 4]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 4]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 4]
call esi
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
call dword [0x555380]
mov dword [ebp - 0xd0], eax
mov ecx, dword [eax + 0x3148]
mov edi, dword [ecx + 0xc]
add edi, eax
mov edx, dword [edi + 0x3148]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x3148]
call esi
mov ecx, dword [ebp - 0xd0]
mov al, byte [eax]
mov byte [ebp - 0xc5], al
mov eax, dword [ecx + 0x31d8]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x31d8]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x31d8]
call esi
mov ecx, dword [ebp - 0xd0]
mov al, byte [eax]
mov byte [ebp - 0xc7], al
mov eax, dword [ecx + 0x3178]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x3178]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x3178]
call esi
mov ecx, dword [ebp - 0xd0]
mov al, byte [eax]
mov byte [ebp - 0xc6], al
mov eax, dword [ecx + 0x323c]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + ecx + 0x323c]
add edi, ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi + 0x323c]
call esi
push dword [ebx + 0x14a0]
mov al, byte [eax]
mov byte [ebp - 0xc9], al
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b7251
mov ecx, dword [0x5dd1d0]
call fcn.00419e80
mov byte [ebp - 0xc8], 1
test al, al
jne 0x4b7258
mov byte [ebp - 0xc8], 0
cmp byte [ebp - 0xc9], 0
jne 0x4b7271
mov byte [ebp - 0xc6], 0
mov byte [ebp - 0xc5], 0
jmp 0x4b72b8
test byte [ebx + 0x1458], 4
je 0x4b72bf
cmp byte [ebp - 0xc5], 0
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 0xc6], 0
je 0x4b729c
mov byte [ebp - 0xc5], 1
cmp eax, 1
jne 0x4b72a3
mov byte [ebp - 0xc5], 0
cmp byte [ebp - 0xc7], 0
je 0x4b72b8
mov byte [ebp - 0xc7], 1
cmp eax, 1
jne 0x4b72bf
mov byte [ebp - 0xc7], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x64]
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x14], xmm0
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x74], xmm0
movups xmmword [ebp - 0xb4], xmm0
movups xmmword [ebp - 0x94], xmm0
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0xacc]
call dword [sym.imp.USER32.dll_GetWindowRect]
test byte [ebx + 0x1458], 4
lea ecx, [ebx + 4]
je 0x4b7372
mov eax, dword [ebx + 0x148c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1494]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042b370
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x4b7387
lea eax, [ebp - 0x14]
push eax
call fcn.0042b370
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
sub edx, esi
mov ecx, dword [ebp - 0x10]
sub eax, ecx
test byte [ebx + 0x1458], 4
jne 0x4b7406
push 0x84
push eax
mov eax, dword [ebx + 0xacc]
push edx
push ecx
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
lea ecx, [ebx + 0x1398]
call fcn.0047b920
lea ecx, [ebx + 0x1398]
call fcn.00479e50
cmp byte [ebp - 0xc9], 0
lea ecx, [ebx + 0x139c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
je 0x4b73ee
push 0x44
push eax
push 0
call fcn.0047b950
jmp 0x4b7576
push 0x84
push eax
push 0
call fcn.0047b950
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4b7576
push 1
push eax
mov eax, dword [ebx + 0xacc]
push edx
push ecx
push esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
xorps xmm0, xmm0
lea ecx, [ebp - 0x84]
movups xmmword [ebp - 0x34], xmm0
call dword [0x55528c]
mov ecx, dword [ebx + 0x14bc]
cmp ecx, dword [ebx + 0x14c0]
je 0x4b7524
mov eax, dword [ebx + 0x14c8]
add eax, eax
push 1
movups xmm0, xmmword [ecx + eax*8]
lea ecx, [ebx + 0x1398]
movups xmmword [ebp - 0x84], xmm0
call fcn.0047b920
lea ecx, [ebx + 0x1398]
call fcn.00479e50
mov ecx, dword [ebx + 0x14cc]
mov esi, eax
add ecx, dword [ebp - 0x84]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x84]
call dword [0x554ff0]
add eax, dword [ebp - 0x34]
lea ecx, [ebx + 0x13ec]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x14d0]
add eax, dword [ebp - 0x80]
push esi
push eax
call dword [0x555c10]
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x30], eax
add ecx, 0x1148
add eax, esi
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
call dword [0x554fa0]
mov ecx, eax
cmp ecx, 0x64
jge 0x4b74d6
mov eax, 0xa
cmp ecx, eax
cmovl ecx, eax
jmp 0x4b74db
mov ecx, 0x64
imul ecx, esi
mov eax, 0x51eb851f
push 0
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 4]
call fcn.0042b370
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 0x139c]
call int.00421440
movups xmm0, xmmword [ebp - 0x34]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 4]
movups xmmword [ebp - 0x24], xmm0
call fcn.00413fe0
mov eax, dword [ebp - 0x80]
lea ecx, [ebx + 4]
add eax, dword [ebx + 0x14d0]
mov dword [ebp - 0x20], eax
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042b370
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 0x13f0]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x64]
push eax
push dword [ebx + 0x264]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebx + 4]
call fcn.0042b370
lea eax, [ebp - 0x54]
push eax
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebx + 4]
call fcn.0042b370
lea eax, [ebp - 0x94]
push eax
push dword [ebx + 0x1430]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebx + 4]
call fcn.0042b370
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x718]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebx + 4]
call fcn.0042b370
mov esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x48]
sub esi, dword [ebp - 0x90]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xd4], eax
call dword [sym.imp.UxTheme.dll_IsAppThemed]
test byte [ebx + 0x1458], 4
mov edx, eax
mov ecx, dword [ebp - 8]
cmovne ecx, dword [ebp - 0x40]
cmp byte [ebp - 0xc6], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], ecx
je 0x4b763b
sub eax, esi
movups xmm0, xmmword [ebx + 0x1514]
mov dword [ebp - 0x58], eax
xor ecx, ecx
test edx, edx
movups xmmword [ebp - 0xa4], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
cmove eax, ecx
lea ecx, [ebx + 0x260]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004cc600
cmp byte [ebp - 0xc5], 0
mov ecx, 0x44
mov edx, dword [ebp - 0x60]
mov eax, 0x84
cmovne eax, ecx
mov ecx, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x58]
sub eax, edx
push eax
mov eax, dword [ebp - 0x5c]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [ebx + 0x264]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov cl, byte [ebp - 0xc5]
xor eax, eax
test cl, cl
cmovne eax, dword [ebp - 0x5c]
cmp byte [ebp - 0xc6], 0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
je 0x4b76d0
sub eax, esi
movups xmm0, xmmword [ebx + 0x1524]
mov dword [ebp - 0x48], eax
xor edx, edx
sub eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xd0], edx
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x50], eax
psrldq xmm0, 0xc
movd eax, xmm0
cmove eax, edx
test cl, cl
mov dword [ebp - 0x98], eax
lea ecx, [ebx + 0x554]
mov eax, dword [ebp - 0xa4]
cmovne eax, edx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004cc600
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
sub eax, edx
mov ecx, dword [ebp - 0x54]
push 4
push eax
mov eax, dword [ebp - 0x4c]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
mov ecx, 5
cmp byte [ebp - 0xc7], al
cmovne eax, ecx
push eax
push dword [ebx + 0x558]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp byte [ebp - 0xc5], dl
mov dword [ebp - 0x6c], eax
cmovne edx, dword [ebp - 0x5c]
test byte [ebx + 0x1458], 4
mov eax, dword [ebp - 8]
cmovne eax, dword [ebp - 0x40]
cmp byte [ebp - 0xc6], 0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], eax
je 0x4b77a8
sub eax, esi
mov dword [ebp - 0x68], eax
cmp byte [ebp - 0xc7], 0
je 0x4b77ba
sub eax, dword [ebp - 0xd4]
mov dword [ebp - 0x68], eax
cmp byte [ebp - 0xc8], 0
je 0x4b77cc
sub eax, dword [ebx + 0x14a4]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0xd0]
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x3c]
sub eax, edx
push eax
push ecx
push edx
push dword [ebx + 0x718]
call dword [sym.imp.USER32.dll_MoveWindow]
mov cl, byte [ebp - 0xc8]
test cl, cl
je 0x4b783c
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x14a4]
mov esi, dword [ebp - 0x74]
add eax, ecx
mov edx, dword [ebp - 0x6c]
push 4
mov dword [ebp - 0xa8], eax
sub eax, ecx
push eax
mov dword [ebp - 0xac], edx
sub edx, esi
push edx
push ecx
push esi
push 0
push dword [ebx + 0x14a0]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov cl, byte [ebp - 0xc8]
mov edx, dword [ebx + 0x14a0]
test edx, edx
je 0x4b785a
xor eax, eax
test cl, cl
mov ecx, 5
cmovne eax, ecx
push eax
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xc6], 0
mov cl, byte [ebp - 0xc8]
mov byte [ebx + 0x14ab], cl
je 0x4b78ab
mov eax, dword [ebp - 0x38]
mov ecx, eax
sub ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
push 1
mov dword [ebp - 0x88], eax
sub eax, ecx
push eax
mov dword [ebp - 0x8c], edx
sub edx, esi
push edx
push ecx
push esi
push dword [ebx + 0x1430]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], ecx
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
mov ecx, 5
cmp byte [ebp - 0xc6], al
cmovne eax, ecx
push eax
push dword [ebx + 0x1430]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
mov byte [ebx + 0x1434], 0
je 0x4b7a64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x4b7a64
mov eax, dword [ebx + 0x1458]
mov esi, dword [ebp + 0x10]
sub eax, 0
je 0x4b790b
sub eax, 2
je 0x4b7902
sub eax, 2
jmp 0x4b790d
cmp byte [ebx + 0x1438], 0
je 0x4b7913
test esi, esi
je 0x4b7a64
mov eax, dword [ebx + 0x1444]
test eax, eax
je 0x4b792e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0x1444], 0
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.004b9390
test al, al
je 0x4b7a64
test esi, esi
mov esi, dword [ebp - 0x28]
jne 0x4b79a2
push dword [ebx + 0x145c]
mov ecx, ebx
call fcn.004ba9c0
test eax, eax
je 0x4b7a64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x4b7a64
push dword [ebx + 0x145c]
mov ecx, ebx
call fcn.004ba9c0
test eax, eax
je 0x4b79a2
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebx + 0x1448]
jne 0x4b7996
cmp esi, dword [ebx + 0x144c]
je 0x4b7a64
mov dword [ebx + 0x1448], eax
mov dword [ebx + 0x144c], esi
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebx + 0x714]
call fcn.00507280
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x2c]
add dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x80]
mov eax, edx
sub eax, dword [ebp - 0x78]
add eax, esi
add dword [ebp - 0x18], eax
cmp dword [ebp - 0x78], edx
jle 0x4b7a04
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x84]
jle 0x4b7a04
mov esi, 1
jmp 0x4b7a06
xor esi, esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4b7a5d
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push 1
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
test esi, esi
jne 0x4b7a5d
cmp byte [ebx + 0x143b], 0
jne 0x4b7a5d
push 1
push 1
push 1
mov ecx, ebx
mov byte [ebx + 0x143b], 1
call fcn.004b6ff0
jmp 0x4b7a64
mov byte [ebx + 0x143b], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b7a90
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4b7aa7
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4b7aa7
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [ebx + 4]
jne 0x4b7aa7
push dword [ebx + 0x718]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0xc