Function at 0x4158d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xac8]
test eax, eax
je 0x415be8
cmp word [eax], 0
je 0x415be8
mov eax, dword [0x4d16c4]
xorps xmm0, xmm0
push 0
push 0
mov edx, 0xffffff61
mov dword [esp + 0x1c], 0
xor ecx, ecx
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x40], str.dnls3ehdn4ap3dls
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x438de0
call fcn.004748c0
add esp, 8
mov dword [0x4d17ec], eax
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.004748c0
mov ecx, dword [0x4d17ec]
add esp, 8
mov dword [0x4d17f0], 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 0x415bcf
lea eax, [esp + 0x10]
mov dword [esp + 0x38], str.zmffot2tmvmf2tnl
push eax
mov dword [esp + 0x38], 0
call esi
test ax, ax
je 0x415bcf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x415a0b
push 0x40
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x415a07
lea eax, [esp + 0x40]
push str.Shell_TrayWnd
push eax
call fcn.0048f253
add esp, 8
test eax, eax
je 0x415a0b
xor bl, bl
jmp 0x415a0d
mov bl, 1
push 0
push dword [0x4d16c4]
movzx eax, bl
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xcf0000
push dword [edi + 0xac8]
shl eax, 7
push str.dnls3ehdn4ap3dls
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4d1684], eax
test eax, eax
je 0x415bc8
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push 3
mov esi, eax
push 0xff79
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push esi
call fcn.00415cc0
push 0
push dword [0x4d16c4]
push 1
push dword [0x4d1684]
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 [0x4d145c], eax
test eax, eax
je 0x415bc8
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [0x4d4b73], 0
mov esi, eax
jne 0x415ac8
push str.Lucida_Console
jmp 0x415acd
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 [0x4d145c]
mov dword [0x4d2124], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x4d2124]
push 0x30
push dword [0x4d145c]
call esi
push 0
push 0
push 0xc5
push dword [0x4d145c]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4d1684]
call esi
push 0
push dword [0x4d1684]
call esi
test bl, bl
je 0x415b75
push 6
push dword [0x4d1684]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4d1684]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x4d16c4]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4d1ff5], 0
mov dword [0x4d1458], eax
je 0x415ba0
mov dword [edi + 0x27a], 0
jmp 0x415ba7
mov ecx, edi
call fcn.00415d00
cmp dword [edi + 0xa78], 0
je 0x415bb9
push 1
mov ecx, edi
call fcn.00415c00
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xb8
ret
mov ecx, str.CreateWindow
jmp 0x415bd4
mov ecx, str.RegClass
push 0
push 0
xorps xmm3, xmm3
mov edx, 0x10000
call fcn.00477540
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xb8
ret