Function at 0x41bc30
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xad8]
test eax, eax
je 0x41bd17
cmp word [eax], 0
je 0x41bd17
push 0x2c
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00493930
mov eax, dword [0x4db7c4]
mov edx, 0xffffff61
push 0
push 0
push 0
xor ecx, ecx
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x50], str.0615
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], 0x43fb40
call fcn.0047a0b0
add esp, 0x18
mov dword [0x4db8e4], eax
push 0
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.0047a0b0
mov ecx, dword [0x4db8e4]
add esp, 0xc
mov dword [0x4db8e8], 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
jne 0x41bd23
push 0
push 0
xorps xmm3, xmm3
mov edx, 0x10000
mov ecx, str.RegClass
call fcn.0047ce40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x38], str.0616
push eax
mov dword [esp + 0x38], 0
call esi
test ax, ax
je 0x41bcfe
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x41bd75
push 0x40
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x41bd71
lea eax, [esp + 0x40]
push str.Shell_TrayWnd
push eax
call fcn.0049466a
add esp, 8
test eax, eax
je 0x41bd75
xor bl, bl
jmp 0x41bd77
mov bl, 1
push 0
push dword [0x4db7c4]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
xor eax, eax
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
push dword [edi + 0xad8]
mov ecx, 0x80
test bl, bl
push str.0615
cmovne eax, ecx
push eax
call esi
mov dword [0x4db780], eax
push 0
test eax, eax
je 0x41bdf2
push dword [0x4db7c4]
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50a00804
push 0
push str.edit
push 0
call esi
mov dword [0x4db760], eax
test eax, eax
jne 0x41be15
push eax
push 0
xorps xmm3, xmm3
mov edx, 0x10000
mov ecx, str.CreateWindow
call fcn.0047ce40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [0x4ded93], 0
mov esi, eax
jne 0x41be2e
push str.Lucida_Console
jmp 0x41be33
push str.Consolas
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 [0x4db760]
mov dword [0x4dc220], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x4dc220]
push 0x30
push dword [0x4db760]
call esi
push 0
push 0
push 0xc5
push dword [0x4db760]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4db780]
call esi
push 0
push dword [0x4db780]
call esi
test bl, bl
je 0x41bedb
push 6
push dword [0x4db780]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4db780]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x4db7c4]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4dc0ec], 0
mov dword [0x4db554], eax
je 0x41bf06
mov dword [edi + 0x27a], 0
jmp 0x41bf0d
mov ecx, edi
call fcn.0041bff0
cmp dword [edi + 0xa88], 0
je 0x41bf1f
push 1
mov ecx, edi
call fcn.0041bf30
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xb8
ret