Function at 0x565fc0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [0x5c0148]
push ebp
push esi
push 0x5f9310
mov esi, ecx
mov ebp, edx
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea edx, [esi + 8]
xor ecx, ecx
mov dword [esp + 0x28], 0
call fcn.0050ee40
test eax, eax
jne 0x56603e
push 0x5f9310
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov edx, str.wdchannel
xor ecx, ecx
call fcn.0050ee40
test eax, eax
je 0x56608b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [0x5f9128], eax
mov eax, dword [esp + 0xc]
cmp eax, 1
mov dword [0x5f9124], ecx
mov ecx, dword [esp + 0x14]
mov dword [0x5f912c], edx
mov dword [0x5f9130], ecx
jne 0x56607a
mov dword [0x5f9134], 0x20000000
jmp 0x5660db
cmp eax, 2
jne 0x5660db
mov dword [0x5f9134], 0x1000000
jmp 0x5660db
push 0x5f9310
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov edx, str.wchannel
xor ecx, ecx
call fcn.0050ee40
test eax, eax
je 0x5660d1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [0x5f912c], edx
mov dword [0x5f9130], eax
mov ecx, dword [0x5c0148]
mov dword [esp + 8], ecx
mov eax, dword [0x5f911c]
mov dword [0x5f9118], 0x5c0198
mov edx, dword [esi + 0xbe8]
add edx, 0x1898
push edx
push eax
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x56611a
mov dword [0x5f9134], 0x20000000
mov ecx, dword [esi + 0xbe8]
mov byte [ecx + 0x1898], al
mov edx, dword [esi + 0xbe8]
mov eax, dword [edx + 0x1908]
test eax, eax
je 0x566159
mov ecx, dword [0x5f911c]
call fcn.004cbcf0
cmp eax, 1
mov dword [esp + 0x18], eax
jne 0x56614a
mov dword [0x5f9134], 0x20000000
jmp 0x566159
cmp eax, 2
jne 0x566159
mov dword [0x5f9134], 0x1000000
lea ecx, [esi + 0x6c4]
mov edx, 0x63
mov dword [esi + 0x740], 0xb
call fcn.00494e30
test eax, eax
je 0x5662d6
mov edx, dword [0x5c72f8]
mov dword [esi + 0x6fc], edx
mov edx, dword [esp + 8]
mov ecx, esi
call fcn.00564c70
test eax, eax
je 0x5662d6
mov ecx, esi
call fcn.00565280
mov eax, dword [0x5f1ad4]
mov ecx, esi
mov dword [esi + 0x8b8], eax
call fcn.00565380
test eax, eax
jne 0x5661cc
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
pop ebp
add esp, 0x18
ret
mov ecx, esi
call fcn.0047d460
xor edx, edx
mov ecx, esi
call fcn.00565480
test eax, eax
jne 0x5661f5
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
pop ebp
add esp, 0x18
ret
mov edx, 0x54200d51
mov ecx, esi
call fcn.00565c10
test eax, eax
jne 0x56621a
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
pop esi
pop ebp
add esp, 0x18
ret
mov ecx, dword [esi]
xor edx, edx
call fcn.004f4000
mov ecx, dword [esi]
mov edx, 2
mov dword [esi + 0x754], eax
call fcn.004f4000
mov ecx, dword [esi]
mov edx, 3
mov dword [esi + 0x788], eax
call fcn.004f4000
mov dword [esi + 0x790], eax
mov eax, dword [esi + 0x788]
test eax, eax
jne 0x566280
cmp dword [esi + 0x754], 2
je 0x566280
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 0x56629e
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 ecx, dword [esi]
call fcn.00561910
test ebp, ebp
je 0x5662ae
mov edx, dword [esi]
mov dword [ebp], edx
mov ecx, dword [0x5f92e4]
call fcn.00531ff0
mov dword [0x5f92e4], eax
mov ecx, dword [esi]
mov edx, 0x80b9
call fcn.00563590
mov edx, 1
mov ecx, esi
call fcn.00564f70
pop esi
pop ebp
add esp, 0x18
ret