Function at 0x4a0270
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x20000
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x1fffc], eax
push ebx
push esi
mov esi, dword [esp + 0x2000c]
xor eax, eax
xor bl, bl
mov word [esp + 8], ax
push edi
mov edi, dword [0x62271c]
cmp byte [esp + 0x20014], al
je 0x4a02e7
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], bl
jne 0x4a02c0
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x139], bl
jne 0x4a02e7
cmp dword [eax + 0x1d94], 0
je 0x4a061f
cmp esi, 5
jne 0x4a061f
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 0x1d94]
test edx, edx
jne 0x4a0321
test esi, esi
je 0x4a0303
cmp esi, 5
jne 0x4a0321
mov esi, 1
lea eax, [esp + 0xc]
push 0xfffe
push eax
call fcn.00465260
add esp, 8
mov bl, 1
jmp 0x4a044e
lea ecx, [esi - 1]
cmp ecx, 4
ja case.default.0x4a032d
jmp dword [ecx*4 + 0x4a063c]
cmp byte [eax + 0x2198], bl
jne 0x4a0341
call fcn.004ebad3
push 0xfffe
lea eax, [esp + 0x10]
push eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx + 0x298]
call fcn.004627b0
jmp 0x4a044e
lea eax, [esp + 0xc]
push 0xfffe
push eax
call fcn.0043a350
add esp, 8
jmp 0x4a044e
cmp byte [eax + 0x2198], bl
jne 0x4a0388
call fcn.004ebad3
push 0xfffe
lea eax, [esp + 0x10]
push eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx + 0x298]
call fcn.00462410
jmp 0x4a044e
lea ecx, [edx - 1]
cmp ecx, 3
ja case.default.0x4a03b7
jmp dword [ecx*4 + 0x4a0650]
lea eax, [esp + 0xc]
push 0xfffe
push eax
call fcn.00465260
add esp, 8
mov bl, 1
jmp case.default.0x4a03b7
cmp byte [eax + 0x2198], bl
jne 0x4a03e4
call fcn.004ebad3
push 0xfffe
lea eax, [esp + 0x10]
push eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx + 0x298]
call fcn.004627b0
jmp case.default.0x4a03b7
lea eax, [esp + 0xc]
push 0xfffe
push eax
call fcn.0043a350
add esp, 8
jmp case.default.0x4a03b7
cmp byte [eax + 0x2198], bl
jne 0x4a0425
call fcn.004ebad3
push 0xfffe
lea eax, [esp + 0x10]
push eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx + 0x298]
call fcn.00462410
mov bl, 1
jmp case.default.0x4a03b7
xor bl, bl
cmp esi, 5
je case.default.0x4a03b7
test esi, esi
je 0x4a0496
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov dword [eax + 0x1d94], esi
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a0478
call fcn.004ebad3
lea eax, [esp + 0xc]
push eax
mov eax, dword fs:[0x2c]
push 0
push 0xc
mov eax, dword [eax + edi*4]
push dword [eax + 0x210]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a04ad
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x214]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a055a
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a04e9
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 0x214]
call esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a051b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push dword [eax + 0x214]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a055a
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a054d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 9
push dword [eax + 0x214]
call esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a0579
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov esi, dword [ecx + edi*4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [esi + 0x214], eax
je 0x4a05e1
cmp byte [esi + 0x2198], 0
jne 0x4a0598
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x214]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x4a05e1
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a05d0
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push dword [eax + 0x214]
call fcn.004e9bf0
add esp, 4
test bl, bl
je 0x4a061f
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x4a0604
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0xf423f
push 0
push 0xb6
push dword [eax + 0x210]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x20008]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x20000
ret