Function at 0x417060
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xadc]
test eax, eax
je 0x4173f8
cmp word [eax], 0
je 0x4173f8
mov eax, dword [0x4dc464]
xorps xmm0, xmm0
push 0
push 0
push 0
mov edx, 0xffffff61
mov dword [esp + 0x20], 0
xor ecx, ecx
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x44], str.B7l5a3c9k5d1e0e7r
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0x43c180
call fcn.0047e750
add esp, 0xc
mov dword [0x4dc584], eax
push 0
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.0047e750
mov ecx, dword [0x4dc584]
add esp, 0xc
mov dword [0x4dc588], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], 0xd3
call esi
test ax, ax
je 0x4173df
lea eax, [esp + 0x10]
mov dword [esp + 0x38], str.B7l5a3c9k5d1e0e7r0Y
push eax
mov dword [esp + 0x38], 0
call esi
test ax, ax
je 0x4173df
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x41718b
push 0x40
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x417187
lea eax, [esp + 0x40]
push str.Shell_TrayWnd
push eax
call fcn.00499643
add esp, 8
test eax, eax
je 0x41718b
xor al, al
jmp 0x41718d
mov al, 1
push 0
push dword [0x4dc464]
mov byte [esp + 0x17], al
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xcf0000
push dword [ebx + 0xadc]
movzx eax, al
push str.B7l5a3c9k5d1e0e7r
shl eax, 7
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4dc424], eax
test eax, eax
je 0x4173d8
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, eax
push 3
push 0xff79
push edi
call esi
push 3
push 0xff81
push edi
call esi
push 3
push 0xff7e
push edi
call esi
push 3
push 0xff7f
push edi
call esi
push 3
push 0xff80
push edi
call esi
push 0
push dword [0x4dc464]
push 1
push dword [0x4dc424]
push 0
push 0
push 0
push 0
push 0x50a00804
push 0
push str.edit
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4dc400], eax
test eax, eax
je 0x4173d8
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [0x4de963], 0
mov esi, eax
mov eax, str.Lucida_Console
mov ecx, str.Consolas
cmove ecx, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x48
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push esi
push dword [0x4dc400]
mov dword [0x4dced4], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x4dced4]
push 0x30
push dword [0x4dc400]
call esi
push 0
push 0
push 0xc5
push dword [0x4dc400]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4dc424]
call esi
push 0
push dword [0x4dc424]
call esi
cmp byte [esp + 0xf], 0
je 0x41731e
push 6
push dword [0x4dc424]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4dc424]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x4dc464]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4dcd9d], 0
mov dword [0x4dc3fc], eax
je 0x417349
mov dword [ebx + 0x27e], 0
jmp 0x417350
mov ecx, ebx
call fcn.00417410
cmp dword [ebx + 0xa8c], 0
je 0x4173c9
cmp byte [0x4df416], 1
je 0x4173c9
mov eax, dword [0x4de978]
test eax, eax
je 0x4173b0
cmp dword [0x4de974], 0
je 0x4173b0
push dword [0x4dc424]
call eax
cmp byte [ebx + 0xae0], 0
jne 0x4173c2
push 0
push 1
push 0x415
push dword [0x4dc424]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [0x4df416], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
push dword [0x4dc424]
call dword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [ebx + 0xa94], eax
mov byte [0x4df416], 1
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
mov ecx, str.CreateWindow
jmp 0x4173e4
mov ecx, str.RegClass
push 0
push 0
xorps xmm3, xmm3
mov edx, 0x10000
call fcn.00481980
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xb8
ret