Function at 0x4d5350
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5a1b00]
sub esp, 0x58
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edx, dword [0x5a1b00]
je 0x4d53fd
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 0x4d59c6
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.005382b0
mov edx, dword [esp + 0x2c]
neg eax
lea eax, [edx + eax*2]
mov ecx, 0x21
mov dword [esp + 0x2c], eax
call fcn.005382b0
mov edi, dword [esp + 0x30]
shl eax, 1
mov ecx, 4
sub edi, eax
call fcn.005382b0
mov ecx, 0xf
sub edi, eax
call fcn.005382b0
sub edi, eax
mov eax, edi
mov dword [esp + 0x30], eax
jmp 0x4d540f
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 [0x5a0f50]
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 0x4d5537
cmp dword [0x589c08], esi
je 0x4d551b
cmp dword [0x59f690], esi
je 0x4d5486
cmp dword [0x589bd0], esi
je 0x4d5486
mov ecx, dword [0x589be8]
mov eax, 1
cmp ecx, eax
je 0x4d5474
mov dword [esp + 0x10], eax
jmp 0x4d548e
cmp dword [0x5950d8], esi
je 0x4d5492
mov dword [esp + 0x10], 3
jmp 0x4d548e
mov dword [esp + 0x10], 2
mov edi, dword [esp + 0x10]
mov eax, dword [0x5a0f48]
mov edx, dword [esp + 0x34]
sub eax, edi
push eax
add edx, 2
mov ecx, 0x5a0f78
call fcn.00420a30
mov eax, dword [0x589b08]
mov ecx, dword [0x589c08]
cmp ecx, eax
mov eax, dword [0x5a0f48]
jne 0x4d54e3
mov edx, dword [0x589b04]
mov ecx, eax
sub ecx, edi
cmp edx, ecx
jne 0x4d54e3
mov edx, dword [esp + 0x34]
mov eax, dword [0x5a0f50]
push 0x50
push ecx
add edx, 2
push edx
push esi
push esi
push esi
push eax
jmp 0x4d54fd
mov ecx, dword [esp + 0x34]
mov edx, dword [0x5a0f50]
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 [0x5a0f48]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
sub esi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], 1
jmp 0x4d5525
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ecx
call ebx
mov eax, dword [0x5a0f50]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x38]
jmp 0x4d553d
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x59f690]
test ecx, ecx
je 0x4d5845
mov edx, dword [0x589bd0]
test edx, edx
je 0x4d582b
mov edx, dword [esp + 0x34]
add eax, 2
push eax
add edx, 2
mov ecx, 0x59f6a8
call fcn.00420a30
mov edx, dword [0x589be8]
test edx, edx
jne 0x4d5580
mov dword [esp + 0x14], 2
mov eax, dword [0x5a0f48]
sub eax, edi
mov edi, dword [0x589b04]
xor ecx, ecx
cmp edi, eax
mov edi, dword [0x589bcc]
mov dword [esp + 0x28], eax
jne 0x4d55d4
mov eax, dword [0x589bd0]
cmp eax, dword [0x589b00]
jne 0x4d55d4
cmp edx, dword [0x589afc]
jne 0x4d55d4
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, eax
cmp dword [0x589af8], edx
jne 0x4d55d4
mov eax, dword [0x589c08]
cmp eax, dword [0x589b08]
jne 0x4d55d4
mov ecx, 1
mov eax, dword [0x59f68c]
xor edx, edx
cmp eax, edx
jl 0x4d55e4
cmp eax, 3
jle 0x4d55ec
mov dword [0x59f68c], edx
jmp 0x4d5601
cmp eax, edx
je 0x4d5601
lea edi, [eax + 1]
imul edi, dword [0x589bcc]
lea edx, [eax + eax]
sub edi, edx
xor edx, edx
mov eax, dword [0x589be8]
cmp eax, 3
jne 0x4d5694
cmp ecx, edx
mov edi, dword [0x589be0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
je 0x4d565c
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 [0x59f690]
push edx
call ebp
mov eax, dword [0x59f690]
push 8
push eax
call ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 1
jmp 0x4d5830
mov ecx, dword [0x59f690]
push edx
push ecx
call ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x59f690]
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 0x4d5830
cmp eax, 2
jne 0x4d5713
cmp ecx, edx
mov edi, dword [0x589be0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
je 0x4d56e1
mov eax, dword [esp + 0x38]
mov ecx, dword [0x59f690]
push 0x10
sub eax, esi
push eax
push edi
push esi
push edx
push edx
push ecx
call ebp
mov edx, dword [0x59f690]
push 8
push edx
call ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 1
jmp 0x4d5830
mov eax, dword [0x59f690]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [0x59f690]
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 0x4d5830
cmp eax, 1
jne 0x4d5787
cmp ecx, edx
mov dword [esp + 0x14], edx
je 0x4d5744
mov eax, dword [esp + 0x34]
mov ecx, dword [0x59f690]
push 0x10
push edi
add eax, 2
push eax
push esi
push edx
push edx
push ecx
call ebp
mov edx, dword [0x59f690]
push 8
push edx
call ebx
jmp 0x4d5766
mov eax, dword [0x59f690]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [0x59f690]
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 0x4d5830
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 [0x589be8], edx
je 0x4d57b0
mov eax, dword [esp + 0x28]
cmp ebx, eax
jge 0x4d57b0
mov ebx, eax
test ebx, ebx
jge 0x4d57b6
xor ebx, ebx
test ecx, ecx
je 0x4d57e6
mov edx, dword [esp + 0x34]
mov eax, dword [0x59f690]
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 [0x59f690]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d5811
mov edx, dword [0x59f690]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x59f690]
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 0x4d5830
push 0
push ecx
call ebx
mov ecx, dword [0x59f690]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call ebx
mov eax, dword [esp + 0x38]
jmp 0x4d584b
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x589c08]
mov ecx, dword [0x589bd0]
mov dword [0x589b08], edx
mov edx, dword [0x589be8]
mov dword [0x589afc], edx
mov edx, dword [esp + 0x14]
mov dword [0x589b00], ecx
mov ecx, dword [0x589bcc]
sub ecx, edx
mov edx, dword [0x5a0f48]
push 0x10
mov dword [0x589af8], ecx
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
sub edx, edi
mov dword [0x589b04], edx
sub eax, dword [esp + 0x24]
mov edx, dword [0x5a1b04]
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 0x4d58e8
mov eax, dword [0x5a0f50]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ecx, dword [0x5a0f50]
push 0
push 0
push ecx
call esi
mov edx, dword [0x5a0f50]
push edx
call ebx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d591a
mov eax, dword [0x59f690]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ecx, dword [0x59f690]
push 0
push 0
push ecx
call esi
mov edx, dword [0x59f690]
push edx
call ebx
mov eax, dword [0x5a1b04]
mov ebp, dword [sym.imp.USER32.dll_GetTopWindow]
push eax
xor esi, esi
call ebp
mov edi, eax
test edi, edi
je 0x4d596e
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4d596e
mov ecx, edi
call fcn.005366c0
mov esi, eax
test esi, esi
je 0x4d596e
mov eax, dword [esi + 0x940]
test eax, eax
je 0x4d596e
mov eax, dword [esi + 0x73c]
test eax, eax
je 0x4d5965
mov ecx, esi
call fcn.0046e9d0
jmp 0x4d596e
xor edx, edx
mov ecx, edi
call fcn.00419c50
mov eax, dword [0x5900b0]
test eax, eax
je 0x4d599e
mov ecx, dword [eax + 0x940]
test ecx, ecx
je 0x4d599e
mov ecx, dword [eax]
mov edx, 1
call fcn.00419c50
test esi, esi
jne 0x4d599e
mov ecx, dword [0x5900b0]
mov ecx, dword [ecx]
call fcn.00419ae0
mov edx, dword [0x5a1b04]
push edx
call ebx
mov eax, dword [0x5a1b00]
push eax
call ebx
mov ecx, dword [0x5a1b04]
push ecx
call ebp
mov edx, 1
mov ecx, eax
call fcn.004c99b0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x58
ret