Function at 0x547800
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [0x59c008]
push esi
push 0x5b4338
mov esi, ecx
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea edx, [esi + 8]
xor ecx, ecx
mov dword [esp + 0x24], 0
call fcn.004feda0
test eax, eax
jne 0x54787b
push 0x5b4338
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
mov edx, str.wdchannel
xor ecx, ecx
call fcn.004feda0
test eax, eax
je 0x5478c8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [0x5b4158], eax
mov eax, dword [esp + 8]
cmp eax, 1
mov dword [0x5b4154], ecx
mov ecx, dword [esp + 0x10]
mov dword [0x5b415c], edx
mov dword [0x5b4160], ecx
jne 0x5478b7
mov dword [0x5b4164], 0x20000000
jmp 0x547918
cmp eax, 2
jne 0x547918
mov dword [0x5b4164], 0x1000000
jmp 0x547918
push 0x5b4338
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov edx, str.wchannel
xor ecx, ecx
call fcn.004feda0
test eax, eax
je 0x54790e
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [0x5b415c], edx
mov dword [0x5b4160], eax
mov ecx, dword [0x59c008]
mov dword [esp + 4], ecx
mov eax, dword [0x5b414c]
mov dword [0x5b4148], 0x59c058
mov edx, dword [esi + 0xbbc]
add edx, 0x1890
push edx
push eax
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x547957
mov dword [0x5b4164], 0x20000000
mov ecx, dword [esi + 0xbbc]
mov byte [ecx + 0x1890], al
mov edx, dword [esi + 0xbbc]
mov eax, dword [edx + 0x1900]
test eax, eax
je 0x547996
mov ecx, dword [0x5b414c]
call fcn.004c0760
cmp eax, 1
mov dword [esp + 0x14], eax
jne 0x547987
mov dword [0x5b4164], 0x20000000
jmp 0x547996
cmp eax, 2
jne 0x547996
mov dword [0x5b4164], 0x1000000
lea ecx, [esi + 0x6c4]
mov edx, 0x63
mov dword [esi + 0x72c], 0xb
call fcn.00491d50
test eax, eax
je 0x547adf
mov edx, dword [0x5a2ba0]
mov dword [esi + 0x6e8], edx
mov edx, dword [esp + 4]
mov ecx, esi
call fcn.00546540
test eax, eax
je 0x547adf
mov ecx, esi
call fcn.00546b30
mov eax, dword [0x5acbb4]
mov ecx, esi
mov dword [esi + 0x8a0], eax
call fcn.00546c30
test eax, eax
jne 0x547a08
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
add esp, 0x18
ret
mov ecx, esi
call fcn.00476c60
xor edx, edx
mov ecx, esi
call fcn.00546d30
test eax, eax
jne 0x547a30
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
add esp, 0x18
ret
mov edx, 0x54200d51
mov ecx, esi
call fcn.005474a0
test eax, eax
jne 0x547a54
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
add esp, 0x18
ret
mov ecx, dword [esi]
xor edx, edx
call fcn.004e59f0
mov ecx, dword [esi]
mov edx, 2
mov dword [esi + 0x740], eax
call fcn.004e59f0
test eax, eax
mov dword [esi + 0x774], eax
jne 0x547aa2
cmp dword [esi + 0x740], 2
je 0x547aa2
mov ecx, dword [esi + 0x874]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0x874]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x547ac0
mov eax, dword [esi + 0x874]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x874]
push 0
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi]
call fcn.00543540
mov ecx, dword [esi]
mov edx, 0x80b9
call fcn.00544ed0
mov edx, 1
mov ecx, esi
call fcn.00546820
pop esi
add esp, 0x18
ret