Function at 0x587fe0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
push 0x645358
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esi + 8]
push eax
push 0
call fcn.00521800
add esp, 0x24
test eax, eax
jne 0x588053
push 0x645358
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push str.wdchannel
push 0
call fcn.00521800
add esp, 0x24
test eax, eax
je 0x5880ac
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [0x645168], eax
mov eax, dword [esp + 0x10]
cmp eax, 1
mov dword [0x645164], edx
mov edx, dword [esp + 0x14]
mov dword [0x64515c], ecx
mov dword [0x645160], edx
jne 0x58808f
mov dword [0x64516c], 0x20000000
jmp 0x58809e
cmp eax, 2
jne 0x58809e
mov dword [0x64516c], 0x1000000
cmp ecx, 0x80000000
jne 0x5880ff
cmp edx, ecx
jne 0x5880ff
jmp 0x5880f5
push 0x645358
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push str.wchannel
push 0
call fcn.00521800
add esp, 0x24
test eax, eax
je 0x5880f5
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [0x645164], edx
mov dword [0x645168], eax
mov ecx, dword [0x60a570]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x63b690]
test eax, eax
je 0x588110
mov dword [esp + 0x1c], 0
mov eax, dword [0x645154]
mov dword [0x645150], 0x60a5c0
mov edx, dword [esi + 0xbf4]
add edx, 0x1894
push edx
push eax
call fcn.005e31f5
add esp, 8
test eax, eax
jne 0x58814f
mov dword [0x64516c], 0x20000000
mov ecx, dword [esi + 0xbf4]
mov byte [ecx + 0x1894], al
mov eax, dword [esi + 0xbf4]
mov ecx, dword [eax + 0x1904]
test ecx, ecx
je 0x588193
mov edx, dword [0x645154]
push eax
push edx
call fcn.004d9850
add esp, 8
cmp eax, 1
mov dword [esp + 0xc], eax
jne 0x588184
mov dword [0x64516c], 0x20000000
jmp 0x588193
cmp eax, 2
jne 0x588193
mov dword [0x64516c], 0x1000000
lea eax, [esi + 0x6c4]
push 0x63
push eax
mov dword [esi + 0x740], 0xb
call fcn.0049fdc0
add esp, 8
test eax, eax
je 0x588323
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x6093c0]
push edx
push esi
mov dword [esi + 0x6fc], ecx
call fcn.00586bc0
add esp, 8
test eax, eax
je 0x588323
push esi
call fcn.00587280
mov eax, dword [0x63e27c]
push esi
mov dword [esi + 0x8b4], eax
call fcn.00587300
add esp, 8
test eax, eax
jne 0x58820a
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
add esp, 0x14
ret
push esi
call fcn.00487440
push 0
push esi
call fcn.00587400
add esp, 0xc
test eax, eax
jne 0x588233
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
add esp, 0x14
ret
push 0x54200d51
push esi
call fcn.00587bb0
add esp, 8
test eax, eax
jne 0x588259
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
add esp, 0x14
ret
mov ecx, dword [esi]
push 0
push ecx
call fcn.00506370
mov edx, dword [esi]
push 2
push edx
mov dword [esi + 0x750], eax
call fcn.00506370
mov dword [esi + 0x788], eax
mov eax, dword [esi]
push 3
push eax
call fcn.00506370
mov dword [esi + 0x790], eax
mov eax, dword [esi + 0x788]
add esp, 0x18
test eax, eax
jne 0x5882bf
cmp dword [esi + 0x750], 2
je 0x5882bf
mov ecx, dword [esi + 0x88c]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0x88c]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x5882dd
mov eax, dword [esi + 0x88c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x88c]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi]
push edx
call fcn.005831b0
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x5882f4
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [0x64531c]
push edx
call fcn.0054c3b0
mov dword [0x64531c], eax
mov eax, dword [esi]
push 0x80b9
push eax
call fcn.00585320
push 1
push esi
call fcn.00586ef0
push esi
call fcn.004e70d0
add esp, 0x18
pop esi
add esp, 0x14
ret