Function at 0x41b240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9c64
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c4]
test eax, eax
je 0x41b5a6
cmp word [eax], 0
je 0x41b5a6
mov eax, dword [0x4e9edc]
xorps xmm0, xmm0
push 0
push 0
push 0
mov edx, 0xffffff61
mov dword [ebp - 0x40], 0
xor ecx, ecx
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x44], 0x30
mov dword [ebp - 0x1c], 0x4d1fc4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0x43cdd0
call fcn.00484310
add esp, 0xc
mov dword [0x4e9f90], eax
push 0
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.00484310
mov ecx, dword [0x4e9f90]
add esp, 0xc
mov dword [0x4e9f94], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x20], 0xd3
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x41b325
mov ecx, str.RegClass
jmp 0x41b58a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x41b35f
push 0x40
lea ecx, [ebp - 0xc8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x41b35b
lea eax, [ebp - 0xc8]
push str.Shell_TrayWnd
push eax
call fcn.0049f76e
add esp, 8
test eax, eax
je 0x41b35f
xor bl, bl
jmp 0x41b361
mov bl, 1
push 0
push dword [0x4e9edc]
movzx eax, bl
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
push dword [edi + 0x6c4]
shl eax, 7
push 0x4d1fc4
push eax
mov byte [ebp - 0xd], bl
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4e9eac], eax
test eax, eax
je 0x41b585
push 0x3c
call fcn.0049be32
add esp, 4
mov dword [ebp - 0x14], eax
push 1
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004747a0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [edi + 0x724], eax
call fcn.00475840
cmp dword [edi + 0x6c8], 1
jne 0x41b43a
push dword [0x4e9eac]
call dword [sym.imp.USER32.dll_GetMenu]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, eax
push 3
push 0xff79
push esi
call ebx
cmp byte [0x4e5efb], 0
jne 0x41b437
push 3
push 0xff81
push esi
call ebx
push 3
push 0xff7e
push esi
call ebx
push 3
push 0xff7f
push esi
call ebx
push 3
push 0xff80
push esi
call ebx
mov bl, byte [ebp - 0xd]
push 0
push dword [0x4e9edc]
push 1
push dword [0x4e9eac]
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 [0x4e9e94], eax
test eax, eax
je 0x41b585
push eax
call dword [sym.imp.USER32.dll_GetDC]
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
mov esi, eax
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 [0x4e9e94]
mov dword [0x4ea200], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x4ea200]
push 0x30
push dword [0x4e9e94]
call esi
push 0
push 0
push 0xc5
push dword [0x4e9e94]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4e9eac]
call esi
push 0
push dword [0x4e9eac]
call esi
test bl, bl
je 0x41b529
push 6
push dword [0x4e9eac]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4e9eac]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x4e9edc]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4ea0e0], 0
mov dword [0x4e9e90], eax
je 0x41b568
mov dword [edi + 0x285], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0041b5c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, str.CreateWindow
sub esp, 8
xorps xmm0, xmm0
mov edx, 0x10000
movsd qword [esp], xmm0
push 0
push 0
call fcn.00487690
add esp, 0x10
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret