Function at 0x523224
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x587e04
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [0x56cf08]
mov dword [ebp - 0x18], edx
push 0x56d058
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 4]
push edx
lea ecx, [ebx + 8]
push ecx
push 0
call fcn.004ed277
test eax, eax
je 0x5232a5
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov edx, dword [ebp - 8]
mov dword [esi + 0x14], edx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
cmp dword [ebp - 0x14], 1
jne 0x523296
mov dword [esi + 0x1c], 0x20000000
jmp 0x523313
cmp dword [ebp - 0x14], 2
jne 0x523313
mov dword [esi + 0x1c], 0x1000000
jmp 0x523313
push 0x56d058
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push str.wdchannel
push 0
call fcn.004ed277
test eax, eax
jne 0x52326f
push 0x56d058
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push 0x56d513
push 0
call fcn.004ed277
test eax, eax
je 0x52330b
mov edx, dword [ebp - 8]
mov dword [esi + 0x14], edx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x18], ecx
mov eax, dword [0x56cf08]
mov dword [ebp - 0x18], eax
mov dword [esi], str.mIRC_Channel
mov edx, dword [ebx + 0xb6c]
add edx, 0x142c
push edx
push dword [esi + 4]
call fcn.0054c494
add esp, 8
test eax, eax
jne 0x523349
mov dword [esi + 0x1c], 0x20000000
mov ecx, dword [ebx + 0xb6c]
mov byte [ecx + 0x142c], 0
mov edi, dword [ebx + 0xb6c]
cmp dword [edi + 0x149c], 0
je 0x523380
push edi
push dword [esi + 4]
call fcn.004bf5c8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x523373
mov dword [esi + 0x1c], 0x20000000
jmp 0x523380
cmp dword [ebp - 4], 2
jne 0x523380
mov dword [esi + 0x1c], 0x1000000
mov dword [ebx + 0x6e0], 0xb
push 0x63
lea eax, [ebx + 0x67c]
push eax
call fcn.0048e430
test eax, eax
je 0x52346e
mov edx, dword [0x55e8fc]
mov dword [ebx + 0x6a0], edx
push dword [ebp - 0x18]
push ebx
call fcn.00521eb3
test eax, eax
je 0x52346e
push ebx
call fcn.00522637
mov ecx, dword [0x56a1e8]
mov dword [ebx + 0x850], ecx
push ebx
call fcn.00522763
test eax, eax
jne 0x5233e9
push dword [ebx]
call sub.USER32.dll_DestroyWindow
xor eax, eax
mov dword [ebx], eax
jmp 0x52346e
push ebx
call fcn.004776a9
push 0
push ebx
call fcn.0052286a
test eax, eax
jne 0x523408
push dword [ebx]
call sub.USER32.dll_DestroyWindow
xor edx, edx
mov dword [ebx], edx
jmp 0x52346e
mov eax, 0x54200d51
push eax
push ebx
call fcn.00522f48
test eax, eax
jne 0x523425
push dword [ebx]
call sub.USER32.dll_DestroyWindow
xor edx, edx
mov dword [ebx], edx
jmp 0x52346e
push dword [ebx]
call fcn.004d5709
mov esi, eax
mov dword [ebx + 0x6f4], esi
cmp esi, 2
jne 0x523453
push 0
push dword [ebx + 0x820]
call sub.USER32.dll_ShowWindow
push 0
push dword [ebx + 0x820]
call sub.USER32.dll_EnableWindow
push dword [ebx]
call fcn.0051e3eb
push 0x80b9
push dword [ebx]
call fcn.005207d2
push 1
push ebx
call fcn.00522365
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4