Function at 0x4dbb90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5b4314]
sub esp, 0x58
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edx, dword [0x5b4314]
je 0x4dbc3d
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x3c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test byte [esp + 0x38], 2
jne 0x4dc206
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
sub ecx, edx
xor esi, esi
sub eax, edi
mov dword [esp + 0x2c], ecx
mov ecx, 0x20
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], eax
call fcn.00544880
mov edx, dword [esp + 0x2c]
neg eax
lea eax, [edx + eax*2]
mov ecx, 0x21
mov dword [esp + 0x2c], eax
call fcn.00544880
mov edi, dword [esp + 0x30]
shl eax, 1
mov ecx, 4
sub edi, eax
call fcn.00544880
mov ecx, 0xf
sub edi, eax
call fcn.00544880
sub edi, eax
mov eax, edi
mov dword [esp + 0x30], eax
jmp 0x4dbc4f
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
xor esi, esi
mov ecx, dword [0x5b3198]
push ebx
xor edi, edi
cmp ecx, esi
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
je 0x4dbd77
cmp dword [0x59bd80], esi
je 0x4dbd5b
cmp dword [0x5b1880], esi
je 0x4dbcc6
cmp dword [0x59bd48], esi
je 0x4dbcc6
mov ecx, dword [0x59bd60]
mov eax, 1
cmp ecx, eax
je 0x4dbcb4
mov dword [esp + 0x10], eax
jmp 0x4dbcce
cmp dword [0x5a65b0], esi
je 0x4dbcd2
mov dword [esp + 0x10], 3
jmp 0x4dbcce
mov dword [esp + 0x10], 2
mov edi, dword [esp + 0x10]
mov eax, dword [0x5b3190]
mov edx, dword [esp + 0x34]
sub eax, edi
push eax
add edx, 2
mov ecx, 0x5b31c0
call fcn.00421930
mov eax, dword [0x59bc00]
mov ecx, dword [0x59bd80]
cmp ecx, eax
mov eax, dword [0x5b3190]
jne 0x4dbd23
mov edx, dword [0x59bbfc]
mov ecx, eax
sub ecx, edi
cmp edx, ecx
jne 0x4dbd23
mov edx, dword [esp + 0x34]
mov eax, dword [0x5b3198]
push 0x50
push ecx
add edx, 2
push edx
push esi
push esi
push esi
push eax
jmp 0x4dbd3d
mov ecx, dword [esp + 0x34]
mov edx, dword [0x5b3198]
push 0x98
sub eax, edi
push eax
add ecx, 2
push ecx
push esi
push esi
push esi
push edx
call ebp
mov esi, dword [0x5b3190]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
sub esi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], 1
jmp 0x4dbd65
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ecx
call ebx
mov eax, dword [0x5b3198]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x38]
jmp 0x4dbd7d
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x5b1880]
test ecx, ecx
je 0x4dc085
mov edx, dword [0x59bd48]
test edx, edx
je 0x4dc06b
mov edx, dword [esp + 0x34]
add eax, 2
push eax
add edx, 2
mov ecx, 0x5b1898
call fcn.00421930
mov edx, dword [0x59bd60]
test edx, edx
jne 0x4dbdc0
mov dword [esp + 0x14], 2
mov eax, dword [0x5b3190]
sub eax, edi
mov edi, dword [0x59bbfc]
xor ecx, ecx
cmp edi, eax
mov edi, dword [0x59bd44]
mov dword [esp + 0x28], eax
jne 0x4dbe14
mov eax, dword [0x59bd48]
cmp eax, dword [0x59bbf8]
jne 0x4dbe14
cmp edx, dword [0x59bbf4]
jne 0x4dbe14
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, eax
cmp dword [0x59bbf0], edx
jne 0x4dbe14
mov eax, dword [0x59bd80]
cmp eax, dword [0x59bc00]
jne 0x4dbe14
mov ecx, 1
mov eax, dword [0x5b187c]
xor edx, edx
cmp eax, edx
jl 0x4dbe24
cmp eax, 7
jle 0x4dbe2c
mov dword [0x5b187c], edx
jmp 0x4dbe41
cmp eax, edx
je 0x4dbe41
lea edi, [eax + 1]
imul edi, dword [0x59bd44]
lea edx, [eax + eax]
sub edi, edx
xor edx, edx
mov eax, dword [0x59bd60]
cmp eax, 3
jne 0x4dbed4
cmp ecx, edx
mov edi, dword [0x59bd58]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
je 0x4dbe9c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 0x10
sub eax, esi
push eax
push edi
push esi
sub ecx, edi
push ecx
push edx
mov edx, dword [0x5b1880]
push edx
call ebp
mov eax, dword [0x5b1880]
push 8
push eax
call ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 1
jmp 0x4dc070
mov ecx, dword [0x5b1880]
push edx
push ecx
call ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x5b1880]
push 0x10
sub edx, esi
push edx
push edi
push esi
sub eax, edi
push eax
push 0
push ecx
call ebp
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 1
jmp 0x4dc070
cmp eax, 2
jne 0x4dbf53
cmp ecx, edx
mov edi, dword [0x59bd58]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
je 0x4dbf21
mov eax, dword [esp + 0x38]
mov ecx, dword [0x5b1880]
push 0x10
sub eax, esi
push eax
push edi
push esi
push edx
push edx
push ecx
call ebp
mov edx, dword [0x5b1880]
push 8
push edx
call ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 1
jmp 0x4dc070
mov eax, dword [0x5b1880]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [0x5b1880]
push 0x10
sub ecx, esi
push ecx
push edi
push esi
push 0
push 0
push edx
call ebp
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 1
jmp 0x4dc070
cmp eax, 1
jne 0x4dbfc7
cmp ecx, edx
mov dword [esp + 0x14], edx
je 0x4dbf84
mov eax, dword [esp + 0x34]
mov ecx, dword [0x5b1880]
push 0x10
push edi
add eax, 2
push eax
push esi
push edx
push edx
push ecx
call ebp
mov edx, dword [0x5b1880]
push 8
push edx
call ebx
jmp 0x4dbfa6
mov eax, dword [0x5b1880]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [0x5b1880]
push 0x10
push edi
add ecx, 2
push ecx
push esi
push 0
push 0
push edx
call ebp
mov eax, dword [esp + 0x18]
lea ecx, [eax + edi + 1]
lea esi, [esi + edi + 1]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 1
jmp 0x4dc070
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
sub ebx, edi
add ebx, 2
test eax, eax
mov dword [esp + 0x14], 2
mov dword [0x59bd60], edx
je 0x4dbff0
mov eax, dword [esp + 0x28]
cmp ebx, eax
jge 0x4dbff0
mov ebx, eax
test ebx, ebx
jge 0x4dbff6
xor ebx, ebx
test ecx, ecx
je 0x4dc026
mov edx, dword [esp + 0x34]
mov eax, dword [0x5b1880]
push 0x10
add edi, 0xfffffffe
push edi
add edx, 2
push edx
push ebx
push 0
push 0
push eax
call ebp
mov ecx, dword [0x5b1880]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4dc051
mov edx, dword [0x5b1880]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x5b1880]
push 0x10
add edi, 0xfffffffe
push edi
add eax, 2
push eax
push ebx
push 0
push 0
push ecx
call ebp
mov edx, dword [esp + 0x18]
lea eax, [edx + edi + 1]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 1
jmp 0x4dc070
push 0
push ecx
call ebx
mov ecx, dword [0x5b1880]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call ebx
mov eax, dword [esp + 0x38]
jmp 0x4dc08b
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x59bd80]
mov ecx, dword [0x59bd48]
mov dword [0x59bc00], edx
mov edx, dword [0x59bd60]
mov dword [0x59bbf4], edx
mov edx, dword [esp + 0x14]
mov dword [0x59bbf8], ecx
mov ecx, dword [0x59bd44]
sub ecx, edx
mov edx, dword [0x5b3190]
push 0x10
mov dword [0x59bbf0], ecx
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
sub edx, edi
mov dword [0x59bbfc], edx
sub eax, dword [esp + 0x24]
mov edx, dword [0x5b4318]
push eax
push esi
push ecx
push 1
push edx
call ebp
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x4dc128
mov eax, dword [0x5b3198]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ecx, dword [0x5b3198]
push 0
push 0
push ecx
call esi
mov edx, dword [0x5b3198]
push edx
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4dc15a
mov eax, dword [0x5b1880]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ecx, dword [0x5b1880]
push 0
push 0
push ecx
call esi
mov edx, dword [0x5b1880]
push edx
call ebx
mov eax, dword [0x5b4318]
mov ebp, dword [sym.imp.USER32.dll_GetTopWindow]
push eax
xor esi, esi
call ebp
mov edi, eax
test edi, edi
je 0x4dc1ae
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4dc1ae
mov ecx, edi
call fcn.00542c90
mov esi, eax
test esi, esi
je 0x4dc1ae
mov eax, dword [esi + 0x948]
test eax, eax
je 0x4dc1ae
mov eax, dword [esi + 0x744]
test eax, eax
je 0x4dc1a5
mov ecx, esi
call fcn.00472010
jmp 0x4dc1ae
xor edx, edx
mov ecx, edi
call fcn.0041a880
mov eax, dword [0x5a13ac]
test eax, eax
je 0x4dc1de
mov ecx, dword [eax + 0x948]
test ecx, ecx
je 0x4dc1de
mov ecx, dword [eax]
mov edx, 1
call fcn.0041a880
test esi, esi
jne 0x4dc1de
mov ecx, dword [0x5a13ac]
mov ecx, dword [ecx]
call fcn.0041a710
mov edx, dword [0x5b4318]
push edx
call ebx
mov eax, dword [0x5b4314]
push eax
call ebx
mov ecx, dword [0x5b4318]
push ecx
call ebp
mov edx, 1
mov ecx, eax
call fcn.004cfb30
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x58
ret