Function at 0x4081c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0xeaa4
call fcn.00503810
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0xeaa0], eax
cmp byte [0x5b9eef], 0
push esi
push edi
je 0x4082aa
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x553878
push str.32770
call edi
mov esi, eax
test esi, esi
je 0x408237
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40820e
push 9
jmp 0x408210
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0xeaa0]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa4
ret
push 0x54f008
push str.32770
call edi
mov esi, eax
test esi, esi
je 0x408291
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x408258
push 9
jmp 0x40825a
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0xbd8
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0xeaa0]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa4
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xeaa0]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa4
ret
cmp byte [0x5b9efb], 0
je 0x408311
push 0x54f008
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x408291
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4082d8
push 9
jmp 0x4082da
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0xbdc
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0xeaa0]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa4
ret
cmp byte [0x5b9eed], 0
je 0x4083c7
push 0x54f008
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x408291
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x408347
push 9
jmp 0x408349
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0x5b9f04]
test edx, edx
je 0x40839e
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408366
sub eax, edi
sar eax, 1
lea ecx, [esp + 8]
lea eax, [eax + eax + 2]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 1
call dword [sym.imp.USER32.dll_GetFocus]
push eax
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xbd9
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0xeaa0]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa4
ret
cmp byte [0x5b9efa], 0
push ebx
je 0x408463
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x54f618
push str.32770
call edi
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4083fc
push esi
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x40842d
push 0x54f008
push str.32770
call edi
mov esi, eax
test esi, esi
je 0x408605
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x408421
push 9
jmp 0x408423
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call ebx
push esi
call ebx
push 0xea90
lea edx, [esp + 0x20]
push 0
push edx
call fcn.005002f0
mov eax, dword [0x5b9f00]
push eax
lea ecx, [esp + 0x2c]
push 0x16
push ecx
mov dword [esp + 0x30], 0
call fcn.004fe07f
add esp, 0x18
jmp 0x408596
cmp byte [0x5b9ef8], 0
je 0x4084e5
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x54f618
push str.32770
call edi
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, eax
test esi, esi
je 0x408493
push esi
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x4084c4
push 0x54f008
push str.32770
call edi
mov esi, eax
test esi, esi
je 0x408605
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4084b8
push 9
jmp 0x4084ba
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call ebx
push esi
call ebx
push 0xea90
lea eax, [esp + 0x20]
push 0
push eax
call fcn.005002f0
mov dword [esp + 0x24], 1
jmp 0x408566
cmp byte [0x5b9ef9], 0
je 0x4085c0
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x54f618
push str.32770
call edi
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, eax
test esi, esi
je 0x408519
push esi
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x40854a
push 0x54f008
push str.32770
call edi
mov esi, eax
test esi, esi
je 0x408605
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x40853e
push 9
jmp 0x408540
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call ebx
push esi
call ebx
push 0xea90
lea eax, [esp + 0x20]
push 0
push eax
call fcn.005002f0
mov dword [esp + 0x24], 2
mov ecx, dword [0x5b9f00]
push ecx
lea edx, [esp + 0x2c]
push 0x16
push edx
call fcn.004fe07f
mov eax, dword [0x5aaec8]
push 0x7530
push eax
lea ecx, [esp + 0x68]
push 0x7531
push ecx
call fcn.004fe994
add esp, 0x28
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00401e70
call fcn.00408150
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0xeaa0]
xor ecx, esp
call fcn.004fe05a
add esp, 0xeaa4
ret
push 0x54f008
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x408605
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4085f3
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4085a6
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4085a6
mov ecx, dword [esp + 0xeaac]
pop ebx
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.004fe05a
add esp, 0xeaa4
ret