Function at 0x45d180
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x45d45e
cmp byte [eax], 0x2d
jne 0x45d45e
push 0x6f
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d1b3
mov eax, dword [0x6a0f40]
push 1
push eax
jmp 0x45d1ce
mov ecx, dword [esi + 4]
push 0x70
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d1d6
mov edx, dword [0x6a0f40]
push 0
push edx
call fcn.0058eea0
add esp, 8
mov eax, dword [esi + 4]
push 0x6d
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d1fd
mov edi, dword [0x61ade4]
test edi, edi
sete cl
dec cl
and cl, 6
add cl, 0x6e
mov byte [eax], cl
mov edx, dword [esi + 4]
push 0x6e
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d2af
mov eax, dword [esi + 4]
push 0x6c
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d25f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45d241
mov ecx, dword [esi]
push 0xf
push 0
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
ret
mov edx, dword [0x6a0f40]
push 1
push 0
push 0x8043
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45d45e
mov eax, dword [0x6a0f40]
mov edi, dword [0x61ade4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push eax
mov dword [0x61ade4], 0
call esi
mov eax, dword [0x698408]
test eax, eax
je 0x45d458
push 2
call fcn.00573450
mov ecx, dword [0x6a0f40]
add esp, 4
push 8
push ecx
call esi
mov dword [0x61ade4], edi
pop edi
mov eax, 1
pop esi
ret
mov edx, dword [esi + 4]
push 0x78
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d307
push 2
call fcn.00573450
mov eax, dword [0x6a0f40]
add esp, 4
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x6a0f40]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0x6a0f40]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x6a0f40]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, 1
pop esi
ret
mov ecx, dword [esi + 4]
push 0x73
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d360
push 2
call fcn.00573450
mov edx, dword [0x6a0f40]
add esp, 4
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x6a0f40]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x6a0f40]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [0x6a0f40]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esi + 4]
push 0x72
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d39a
push 2
call fcn.00573450
mov ecx, dword [0x6a0f40]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push 8
push ecx
call esi
mov edx, dword [0x6a0f40]
push 9
push edx
call esi
jmp 0x45d332
mov eax, dword [esi + 4]
push 0x74
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d45e
mov ecx, dword [esi + 4]
push 0x6c
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x45d3f7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45d3de
mov edx, dword [esi]
push 0xf
push 0
push edx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
ret
mov eax, dword [0x6a0f40]
push 1
push 0
push 0x8043
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45d45e
mov edi, dword [0x61ade4]
push 1
mov dword [0x61ade4], 1
call fcn.00573450
mov ecx, dword [0x6a0f40]
add esp, 4
test eax, eax
je 0x45d44f
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x45d437
mov edx, dword [0x6a0f40]
push 6
push edx
call esi
mov eax, dword [0x6a0f40]
push 0
push eax
call esi
mov dword [0x61ade4], edi
pop edi
mov eax, 1
pop esi
ret
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x61ade4], edi
pop edi
mov eax, 1
pop esi
ret